Your agent runs the servers.
Pick your agent, paste one prompt, read every action it takes.
Claude
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Run: levelrail-mcp --print-config claude and add the block to your MCP config, with the token in place of the placeholder.
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Claude Desktop and Claude Code start levelrail-mcp themselves over stdio.
Codex
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Add this stdio server to ~/.codex/config.toml, with the token in place of the placeholder and APP_API_URL set to my control plane URL:
[mcp_servers.levelrail]
command = "levelrail-mcp"
args = ["--mode", "read-only"]
[mcp_servers.levelrail.env]
APP_API_TOKEN = "<your API token>"
APP_API_URL = "<your control plane URL>"
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Codex CLI starts MCP servers over stdio from a table in its config.toml. Add the Levelrail entry below.
Gemini CLI
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Add this stdio server to ~/.gemini/settings.json, or .gemini/settings.json in a project, with the token in place of the placeholder and APP_API_URL set to my control plane URL:
{
"mcpServers": {
"levelrail": {
"command": "levelrail-mcp",
"args": ["--mode", "read-only"],
"env": { "APP_API_TOKEN": "<your API token>", "APP_API_URL": "<your control plane URL>" }
}
}
}
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Gemini CLI reads MCP servers from the mcpServers key in settings.json and starts them over stdio.
Goose
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Add this stdio server to ~/.config/goose/config.yaml, with the token in place of the placeholder and APP_API_URL set to my control plane URL:
extensions:
levelrail:
name: Levelrail
type: stdio
cmd: levelrail-mcp
args: [--mode, read-only]
enabled: true
timeout: 300
envs: { "APP_API_TOKEN": "<your API token>", "APP_API_URL": "<your control plane URL>" }
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Goose lists MCP servers as stdio extensions in its config.yaml, or add one with goose configure.
Cursor
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Run: levelrail-mcp --print-config cursor and add the block to your MCP config, with the token in place of the placeholder.
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Print a ready config block for Cursor and paste it into its MCP settings.
VS Code
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Run: levelrail-mcp --print-config vscode and add the block to your MCP config, with the token in place of the placeholder.
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Print a ready config block for VS Code and paste it into its MCP settings.
Zed
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Run: levelrail-mcp --print-config zed and add the block to your MCP config, with the token in place of the placeholder.
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Print a ready config block for Zed and paste it into its settings.
Cline
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Add this stdio server to cline_mcp_settings.json (Configure MCP Servers in the Cline panel; ~/.cline/data/settings/ for the CLI), with the token in place of the placeholder and APP_API_URL set to my control plane URL:
{
"mcpServers": {
"levelrail": {
"command": "levelrail-mcp",
"args": ["--mode", "read-only"],
"env": { "APP_API_TOKEN": "<your API token>", "APP_API_URL": "<your control plane URL>" }
}
}
}
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Cline keeps MCP servers in cline_mcp_settings.json. Open it from Configure MCP Servers in the Cline panel.
Continue
Connect yourself to my Levelrail control plane over MCP.
1. Install the CLI: curl -fsSL https://levelrail.com/install-cli.sh | sh
2. Set APP_API_URL to my control plane URL, then run: levelrail-cli auth login --device
Wait while I approve the code in the dashboard.
3. Create a narrow token: levelrail-cli tokens create --name mcp-token --abilities read
4. Add this stdio server to .continue/mcpServers/levelrail.yaml, with the token in place of the placeholder and APP_API_URL set to my control plane URL:
name: Levelrail
version: 0.0.1
schema: v1
mcpServers:
- name: Levelrail
type: stdio
command: levelrail-mcp
args:
- --mode
- read-only
env:
APP_API_TOKEN: "<your API token>"
APP_API_URL: "<your control plane URL>"
Start in read-only mode. Never write the token to a file I commit or repeat it in chat. You end up with The agent holds a read-only token and sees your servers through MCP.
Continue loads one YAML file per MCP server from the .continue/mcpServers folder in your workspace.
- Pick your agent Claude, Cursor, VS Code, Codex, Gemini CLI and more. Each tab carries its own prompt.
- Paste one prompt It installs the CLI, signs in with a code you approve in the dashboard, and starts read-only.
- It operates, you can see it Every request is recorded with the agent name, and you can filter the log by agent.
Then give it work
Each prompt names the exact commands, tells the agent when to stop, and keeps the token out of the chat.
Install Levelrail
Install Levelrail on this Linux server. Run: curl -fsSL https://levelrail.com/install.sh | sudo sh
Wait for it to finish and read the preflight output. If a check fails, tell me which one and stop. When it succeeds, give me the dashboard URL and the first-run setup link. Never paste a token or password into this chat. You end up with Levelrail running on your server, with the dashboard URL and the first-run setup link.
On a Linux server you own, as root.
Deploy an app
Deploy this project to Levelrail.
1. In the project, run: levelrail-cli init --dry-run, then without --dry-run once the plan looks right.
2. Check the change first: levelrail-cli apps preflight <app>
3. Deploy: levelrail-cli apps deploy <app>
4. Do not assume it worked. Run: levelrail-cli apps wait <app> and read the exit code.
5. If it failed, run levelrail-cli apps deploys show <app> <deploy-id> and levelrail-cli apps diagnose <app>, read the reason, then change one thing per attempt.
Stay inside this app. Do not delete anything. You end up with A deploy the agent waited on and verified itself, with the failure reason if it broke.
Needs a token with deploy ability.
Read the audit trail
Show me what the agent named <agent name> did on Levelrail.
Run: levelrail-cli audit-log --agent <agent name> --limit 20
Summarize each action: when, what, and whether it was allowed or refused. Point out anything refused and why. Do not change anything. You end up with A plain summary of what the agent did, and what it was refused.
Every request an agent makes is recorded with its name.
You read what it did
Every request an agent makes is recorded with its name, allowed or refused.
- Scoped tokensThe tool list follows the token. A read token never sees a write tool.
- ApprovalsAn agent cannot approve a deploy approval. A person must.
- Agent skillA published skill teaches a coding agent to deploy, wait, diagnose and roll back.
Setup pages by client
Marks belong to their owners and only name the client.
- Claude
levelrail-mcp --print-config claude - Codex
config.toml - Gemini CLI
settings.json - Goose
config.yaml - Cursor
levelrail-mcp --print-config cursor - VS Code
levelrail-mcp --print-config vscode - Zed
levelrail-mcp --print-config zed - Cline
cline_mcp_settings.json - Continue
levelrail.yaml
Details: MCP tools and write mode, AI assistant integration, agent setup.