Generate a ready-to-paste config in 5 seconds
Pick your client, OS, and model — then click below to sign up and auto-fill this exact snippet with a scoped Starter API Key.
# PowerShell · Recommended key cap: $2 (2,000 credits)
$env:ANTHROPIC_BASE_URL = "https://api.modelseed.dev"
$env:ANTHROPIC_AUTH_TOKEN = "sk-YOUR_MODELSEED_KEY"
$env:ANTHROPIC_MODEL = "claude-opus-5-5-kiro"
claude --model $env:ANTHROPIC_MODELWhat an MCP server actually does in AI coding workflows
Model Context Protocol (MCP) is an open standard that acts like a universal plug between an LLM client (Claude Code, Codex CLI, Cursor, OpenCode) and external tools such as GitHub repositories, PostgreSQL databases, browser automation, or 3D tools like Blender MCP.
Because MCP servers expose structured tool schemas and return tool payloads on every turn, heavy MCP sessions generate 3x–10x more input tokens than simple chat. Running your MCP-enabled client through a cost-transparent gateway with strong prompt caching keeps tool-heavy engineering loops affordable.
- Standard transports: local stdio (npx / uvx child process) and remote Streamable HTTP.
- Works identically whether Claude Code calls Anthropic directly or routes through ANTHROPIC_BASE_URL=https://api.modelseed.dev.
- Prompt cache reads ($0.0148/1M on claude-opus-5-5-kiro, $0.0032/1M on gpt-6.2-sol) keep repeated MCP tool definitions nearly free.
Connect GitHub MCP or Blender MCP to Claude Code on Modelseed
MCP servers are registered locally in your client config — your LLM gateway only needs to preserve native tool_use / tool_result messages (Anthropic /v1/messages) or Responses API function calls (/v1/responses). Here is a minimal .mcp.json for Claude Code:
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
}
},
"blender": {
"command": "uvx",
"args": ["blender-mcp"]
}
}
}Only enable the MCP servers you actively need per project: every enabled MCP server injects its JSON tool schemas into every request turn.
Keeping MCP token bills low with prompt caching & model routing
Each MCP tool list adds 2,000–15,000 tokens to the system context. Pair MCP-heavy agents with routes that offer deep cache-read discounts and per-key budget caps:
| Client | Model ID | Input | Output | Cache Read |
|---|---|---|---|---|
| Claude Code + MCP | claude-opus-5-5-kiro | $0.2954 | $1.4769 | $0.0148 |
| Claude Code (standard) | claude opus 5.5 | $1.1660 | $5.8299 | $0.0583 |
| Codex CLI + MCP | gpt-6.2-sol | $0.0642 | $0.3208 | $0.0032 |
| Codex CLI (deep) | gpt-6.2-astra | $0.2567 | $1.2833 | $0.0128 |
Frequently asked questions
Does routing Claude Code through Modelseed break local MCP servers?
No. MCP servers execute locally (or via your own remote MCP URL) inside Claude Code; Modelseed receives the native /v1/messages tool_use and tool_result payloads cleanly.
Why did my API spend jump after enabling 6 MCP servers?
Every enabled MCP server appends its tool definitions to every prompt. Disable unused servers per workspace and rely on routes with cheap cache reads like claude-opus-5-5-kiro or gpt-6.2-sol.
Does Codex CLI also support MCP servers with Modelseed?
Yes. Configure mcp_servers in ~/.codex/config.toml alongside model_provider = "modelseed" and wire_api = "responses".
How should I secure an MCP agent that can query databases or GitHub?
Use read-only tokens for MCP servers where possible, and assign a dedicated Modelseed API key with a hard USD cap to prevent infinite retry loops.