FastMetal MCP server: call other models from Claude Code and Codex
FastMetal now runs a remote MCP server. Add one URL and one API key to your agent's config, and the models on FastMetal show up as tools inside the coding agent you already use. The server itself is free: you pay only for the inference a tool call runs, from the same prepaid balance as the API.
- URL:
https://mcp.fastmetal.ai/mcp - Auth:
Authorization: Bearer <your FastMetal API key>
What MCP is
The Model Context Protocol is a common standard for connecting a model to outside tools and data. Before it, every agent had its own plugin format, and the same integration was rebuilt for each one. With MCP, one server works in every agent that speaks the protocol.
Ours is a remote server over Streamable HTTP, so there is nothing to install. Put the URL and the key in your agent's config, and the tools are there the next time it starts.
The tools
| Tool | What it does | Cost |
|---|---|---|
ask | Sends one prompt to one model and returns the answer, the token counts and what the call cost | inference |
compare | Sends the same prompt to 2 to 8 models at once and lines up the answers | inference for each model |
generate_image | Makes an image from text and returns a short-lived download link | per image |
analyze_image | Asks a vision model about an image | inference |
list_models / get_model | The live catalog with real prices and each model's data policy | free |
quota / health_check | Balance, spend and budget for your key | free |
model_compatibility | Measured data on which models can drive an agentic coding loop | free |
The two that earn their keep are ask and compare. Your agent stays on Claude, and when it gets stuck you ask glm-5.2 or deepseek-v4-flash for a second opinion. Or you put a design decision to three models at once and look at where they disagree. You add another model for one question without switching the whole session to it.
Image generation works only this way. Pointing your agent's base URL at FastMetal swaps the model for the whole session, and a text base URL has no way to return an image.
Since launch the server has gained more tools: video (generate_video, get_video), editing your own images (edit_image), speech, music and sound effects, and typed decisions (decide). The MCP guide lists them all.
Setup
Claude Code
claude mcp add --transport http fastmetal https://mcp.fastmetal.ai/mcp \
--header "Authorization: Bearer ${FASTMETAL_API_KEY}"
Claude Code expands ${FASTMETAL_API_KEY} from your environment at launch, so the key itself never lands in the config file. Run /mcp in a session to check that fastmetal is connected.
Codex CLI
Add this to ~/.codex/config.toml:
[mcp_servers.fastmetal]
url = "https://mcp.fastmetal.ai/mcp"
[mcp_servers.fastmetal.http_headers]
Authorization = "Bearer sk-your-fastmetal-key"
OpenClaw
Add the server under mcp.servers in ~/.openclaw/openclaw.json:
{
"mcp": {
"servers": {
"fastmetal": {
"url": "https://mcp.fastmetal.ai/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer sk-your-fastmetal-key"
}
}
}
}
}
Hermes
Add it under mcp_servers in ~/.hermes/config.yaml. Strings can read environment variables as ${VAR}.
mcp_servers:
fastmetal:
url: "https://mcp.fastmetal.ai/mcp"
headers:
Authorization: "Bearer ${FASTMETAL_API_KEY}"
Cursor, OpenCode, Claude Desktop and any other client that supports a remote MCP server with custom headers connect with the same URL and header.
Billing and keys
Calls that run inference, such as ask or generate_image, are charged to the key in your config at the same rates as a direct API call. The balance is prepaid, so an agent stuck in a loop can never spend more than you put in.
The key sits in a config file, so give MCP its own key instead of your everyday one. Create a second key on the keys page and give it a daily or weekly spending cap. If the config file leaks, the damage stops at that cap.
The host is mcp.fastmetal.ai. api.fastmetal.ai is the inference gateway and has no MCP endpoint.
The MCP guide has the full setup, every tool and its limits, and troubleshooting. To get a key, create an account and make your first top-up; the minimum is on /pricing.