About ai-model-router
Cloudflare Workers MCP server: ai-model-router
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.lazy-mac.com/ai-model-router/mcpclaude mcp add --transport http lazymac2x-ai-model-router https://api.lazy-mac.com/ai-model-router/mcp{"mcpServers":{"lazymac2x-ai-model-router":{"type":"http","url":"https://api.lazy-mac.com/ai-model-router/mcp"}}}Open in Cursor{"servers":{"lazymac2x-ai-model-router":{"type":"http","url":"https://api.lazy-mac.com/ai-model-router/mcp"}}}Open in VS Code{"mcpServers":{"lazymac2x-ai-model-router":{"type":"http","url":"https://api.lazy-mac.com/ai-model-router/mcp"}}}{"mcpServers":{"lazymac2x-ai-model-router":{"serverUrl":"https://api.lazy-mac.com/ai-model-router/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
3| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | No | Task description for auto-classification |
| task_type | enum | No | code | analysis | creative | summarize | classify | reason | vision | chat | general |
| prefer_tier | enum | No | economy | standard | premium |
| input_tokens | integer | No | |
| max_cost_usd | number | No | Max budget in USD per call |
| output_tokens | integer | No | |
| prefer_provider | enum | No | openai | anthropic | google |
Details
From the project READMEai-model-router-api
Cloudflare Workers MCP server: ai-model-router. REST + MCP (JSON-RPC 2.0). Live: api.lazy-mac.com/ai-model-router
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.