Codex runs your servers.

Codex CLI starts MCP servers over stdio from a table in its config.toml. Add the Levelrail entry below.

Path and format checked against the Codex docs.

Claude

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Print the config block for Claudelevelrail-mcp --print-config claude
  4. Paste it into Claude Desktop or Claude Code, then swap in the token placeholder. The block starts read-only and never holds your real token.

Codex

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Add the stdio server to ~/.codex/config.toml[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>"
  4. Swap in the token and your control plane URL. The entry starts read-only and never holds your real token.

Gemini CLI

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Add the stdio server to ~/.gemini/settings.json, or .gemini/settings.json in a project{ "mcpServers": { "levelrail": { "command": "levelrail-mcp", "args": ["--mode", "read-only"], "env": { "APP_API_TOKEN": "<your API token>", "APP_API_URL": "<your control plane URL>" } } } }
  4. Swap in the token and your control plane URL. The entry starts read-only and never holds your real token.

Goose

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Add the stdio server to ~/.config/goose/config.yamlextensions: 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>" }
  4. Swap in the token and your control plane URL. The entry starts read-only and never holds your real token.

Cursor

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Print the config block for Cursorlevelrail-mcp --print-config cursor
  4. Paste it into the MCP settings in Cursor, then swap in the token placeholder. The block starts read-only and never holds your real token.

VS Code

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Print the config block for VS Codelevelrail-mcp --print-config vscode
  4. Paste it into the MCP settings in VS Code, then swap in the token placeholder. The block starts read-only and never holds your real token.

Zed

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Print the config block for Zedlevelrail-mcp --print-config zed
  4. Paste it into the settings in Zed, then swap in the token placeholder. The block starts read-only and never holds your real token.

Cline

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Add the stdio server to cline_mcp_settings.json (Configure MCP Servers in the Cline panel; ~/.cline/data/settings/ for the CLI){ "mcpServers": { "levelrail": { "command": "levelrail-mcp", "args": ["--mode", "read-only"], "env": { "APP_API_TOKEN": "<your API token>", "APP_API_URL": "<your control plane URL>" } } } }
  4. Swap in the token and your control plane URL. The entry starts read-only and never holds your real token.

Continue

Paste into 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.

  1. Install the control plane on a server you owncurl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Create a read-only tokenlevelrail-cli tokens create --name mcp-token --abilities read
  3. Add the stdio server to .continue/mcpServers/levelrail.yamlname: 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>"
  4. Swap in the token and your control plane URL. The entry starts read-only and never holds your real token.

Every action is on the record

Requests are recorded with the agent name. More in AI assistant integration and MCP tools.

levelrail-cli audit-log --agent claude-ops Illustration, placeholder names
AgentActionTargetResult
claude-opsRead appsallallowed
claude-opsPreflightweballowed
claude-opsDeployweballowed
claude-opsWait for rolloutweballowed
claude-opsApprove deploy approvalwebrefused

An agent cannot approve a deploy approval. A person must.

Other clients