# levelrail

levelrail is an MCP server for Claude Code that connects an agent to Levelrail deployments, servers, databases, and domains. It works through MCP.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 239 repo stars
- Author: glincker
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/glincker/levelrail
- Updated: 2026-11-24
- Security check: automated, 2026-11-24 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/levelrail

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `APP_API_URL`, `APP_API_TOKEN`, `APP_MCP_MODE` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
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-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
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-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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

### Gemini CLI

**Platform CLI**
```bash
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-mcp
```
Replace <…> with your own values

## When to use it
- managing Levelrail deployments
- viewing server details
- retrieving database information
- checking Levelrail domains

## Example prompts
- Show my Levelrail deployments.
- Find the servers connected to Levelrail.
- List the domains and databases in Levelrail.

## Similar
- [vercel](https://affpapa.org/en/nevibecode/plugins/vercel.md) — plugin · ★ 349 repo stars
- [cloud-databases-onboarding](https://affpapa.org/en/nevibecode/skills/cloud-databases-onboarding.md) — skill · 3600 installs
- [ServerSearcher](https://affpapa.org/en/nevibecode/mcp/serversearcher.md) — MCP server
- [mcloud-deployments](https://affpapa.org/en/nevibecode/skills/mcloud-deployments.md) — skill · 1600 installs
- [aws-cloudformation-rds](https://affpapa.org/en/nevibecode/skills/aws-cloudformation-rds.md) — skill · ★ 372 repo stars
- [vercel-automation](https://affpapa.org/en/nevibecode/skills/vercel-automation.md) — skill · 123 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
