levelrail
v1.5.18Self-hosted MCP server for your Levelrail deployments, servers, databases and domains.
Values you need
| Variable | What it is | |
|---|---|---|
APP_API_URL | required | Base URL of your Levelrail control plane API, for example https://levelrail.example.com. |
APP_API_TOKEN | required secret | API token created on your Levelrail instance. |
APP_MCP_MODE | optional | 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.18Add 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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