levelrail — Claude Code MCP server: deployment management
levelrail is an MCP server for Claude Code that connects an agent to Levelrail deployments, servers, databases, and domains. It works through MCP.
Apache-2.0 ★ 239 updated 2026-11-24
claude mcp add --env APP_API_URL=<APP_API_URL> --env APP_API_TOKEN=<APP_API_TOKEN> --env APP_MCP_MODE=<APP_MCP_MODE> --transport stdio levelrail -- npx -y levelrail-mcpWhat levelrail does
The server gives an AI agent access to information about deployments, servers, databases, and domains in Levelrail. It provides an MCP connection to your Levelrail installation.
Set the API address in APP_API_URL and the token in APP_API_TOKEN; the package runs with npx -y levelrail-mcp. Both values are needed to configure the connection.
What it helps with
- managing Levelrail deployments
- viewing server details
- retrieving database information
- checking Levelrail domains
Example prompts for the agent
- Show my Levelrail deployments.
- Find the servers connected to Levelrail.
- List the domains and databases in Levelrail.
How to install levelrail
Platform CLI
claude mcp add --env APP_API_URL=<APP_API_URL> --env APP_API_TOKEN=<APP_API_TOKEN> --env APP_MCP_MODE=<APP_MCP_MODE> --transport stdio levelrail -- npx -y levelrail-mcpReplace <…> with your own values
Platform CLI
codex mcp add levelrail --env APP_API_URL=<APP_API_URL> --env APP_API_TOKEN=<APP_API_TOKEN> --env APP_MCP_MODE=<APP_MCP_MODE> -- npx -y levelrail-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"levelrail": {
"command": "npx",
"args": [
"-y",
"levelrail-mcp"
],
"env": {
"APP_API_URL": "<APP_API_URL>",
"APP_API_TOKEN": "<APP_API_TOKEN>",
"APP_MCP_MODE": "<APP_MCP_MODE>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"levelrail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"levelrail-mcp"
],
"env": {
"APP_API_URL": "<APP_API_URL>",
"APP_API_TOKEN": "<APP_API_TOKEN>",
"APP_MCP_MODE": "<APP_MCP_MODE>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e APP_API_URL=<APP_API_URL> -e APP_API_TOKEN=<APP_API_TOKEN> -e APP_MCP_MODE=<APP_MCP_MODE> levelrail npx -y levelrail-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about levelrail
How do I install levelrail in Claude Code?
Run claude mcp add levelrail -e APP_API_URL=<APP_API_URL> -e APP_API_TOKEN=<APP_API_TOKEN> -- npx -y levelrail-mcp, replacing the placeholders with your Levelrail API address and token.
What does levelrail do?
It connects an agent to Levelrail deployments, servers, databases, and domains over MCP.
What does levelrail need to run?
It needs the Levelrail API address in APP_API_URL, a token in APP_API_TOKEN, and the levelrail-mcp package launched through npx.