levelrail

v1.5.18
io.github.glincker/levelrail Checked 1 hour ago Published 10 hours ago

Self-hosted MCP server for your Levelrail deployments, servers, databases and domains.

Values you need

VariableWhat it is
APP_API_URLrequired Base URL of your Levelrail control plane API, for example https://levelrail.example.com.
APP_API_TOKENrequired secret API token created on your Levelrail instance.
APP_MCP_MODEoptional Tool exposure: read-only, standard (default) or full.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add levelrail -e 'APP_API_TOKEN=<APP_API_TOKEN>' -e 'APP_API_URL=<APP_API_URL>' -- npx -y levelrail-mcp@1.5.18
Add to claude_desktop_config.json
{
  "mcpServers": {
    "levelrail": {
      "args": [
        "-y",
        "levelrail-mcp@1.5.18"
      ],
      "command": "npx",
      "env": {
        "APP_API_TOKEN": "<APP_API_TOKEN>",
        "APP_API_URL": "<APP_API_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "levelrail": {
      "args": [
        "-y",
        "levelrail-mcp@1.5.18"
      ],
      "command": "npx",
      "env": {
        "APP_API_TOKEN": "<APP_API_TOKEN>",
        "APP_API_URL": "<APP_API_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "APP_API_TOKEN",
      "id": "app-api-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "APP_API_URL",
      "id": "app-api-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "levelrail": {
      "args": [
        "-y",
        "levelrail-mcp@1.5.18"
      ],
      "command": "npx",
      "env": {
        "APP_API_TOKEN": "${input:app-api-token}",
        "APP_API_URL": "${input:app-api-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.levelrail]
command = "npx"
args = ["-y", "levelrail-mcp@1.5.18"]
env = { "APP_API_TOKEN" = "<APP_API_TOKEN>", "APP_API_URL" = "<APP_API_URL>" }

For AI agents

  1. Ask the user for: APP_API_URL, APP_API_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: deploy_app, diagnose_app_failure, disable_toolset, enable_toolset, get_app, get_app_env, get_app_status, get_attention, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json