@aiorouter/mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AIOROUTER_API_KEY | Yes | Your AIOrouter API key (format: ak-...). Required for authentication. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| aiorouter_chatA | Send a chat completion to any AIOrouter model (Qwen, DeepSeek, GLM, Kimi, Grok, etc). Returns the model's full response. Non-streaming only (MCP limitation). Increase max_tokens (up to 8192) for long responses. |
| aiorouter_list_modelsA | List all available AI models through AIOrouter. Filter by provider name. |
| aiorouter_test_connectionA | Test whether your AIOrouter API key is valid. |
| aiorouter_get_usageA | Get current usage, billing summary, and subscription status for your API key. |
| aiorouter_get_pricingA | Get public retail pricing for AIOrouter models (USD per 1M tokens). |
| aiorouter_export_configA | Generate MCP configuration JSON for Claude Desktop, Claude Code, or Codex CLI. |
| aiorouter_compare_modelsA | Compare 2-5 AIOrouter models side-by-side: provider, pricing, context window, max output, and capabilities. |
| aiorouter_estimate_costA | Estimate the cost (USD) for a prompt given model, input tokens, and output tokens. Uses public retail pricing. |
| aiorouter_get_model_infoA | Get detailed info for a single AIOrouter model: provider, context window, max output, capabilities, pricing, and supported parameters. |
| aiorouter_get_presetsA | Show the triple preset configuration (planner/coder/reviewer) for CODE-MAS orchestrator. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AIOCANA/aiorouter-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server