Skip to content
Cursor

mcp server for Cursor

dev.leanroute/mcp-server

Leanroute MCP: route to 13 LLM providers, check pricing/usage/credit, manage keys from any agent.

client:Cursor transport:stdio runtime:npm

Install mcp server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@leanroute/mcp-server"
      ],
      "env": {
        "LEANROUTE_ADMIN_KEY": "<LEANROUTE_ADMIN_KEY>",
        "LEANROUTE_RUNTIME_KEY": "<LEANROUTE_RUNTIME_KEY>",
        "LEANROUTE_BASE_URL": "<LEANROUTE_BASE_URL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp server in other clients