MCP Server
MCP
dev.leanroute/mcp-server
Leanroute MCP: route to 13 LLM providers, check pricing/usage/credit, manage keys from any agent.
Install
npx -y @leanroute/mcp-server@0.1.3
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "@leanroute/mcp-server",
"version": "0.1.3",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Admin API key (gw_admin_*). Mint at https://leanroute.dev/dashboard/admin-keys. Required for platform tools (pricing, usage, credit, key management).",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "LEANROUTE_ADMIN_KEY"
},
{
"description": "Runtime API key (gw_live_*). Mint at https://leanroute.dev/dashboard/keys. Optional — only required for the route_call tool that dispatches actual LLM completions.",
"format": "string",
"isSecret": true,
"name": "LEANROUTE_RUNTIME_KEY"
},
{
"description": "Base URL override for self-hosted Leanroute instances.",
"format": "string",
"default": "https://api.leanroute.dev",
"name": "LEANROUTE_BASE_URL"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment