
Mcp Server
GammaInfra gives your MCP client four tools to call any major LLM provider through a unified OpenAI-shaped API. The chat_completions tool handles model routing (auto, fast, cheap, or direct pins like openai/gpt-5-mini) and returns structured routing metadata showing which provider served the request, exact cost in USD, and fallback chains. list_models pulls the full catalog with pricing and capability flags, get_balance shows managed and BYOK credits, and get_status surfaces per-provider health and latency. Useful when you want an agent to pick models dynamically based on cost, speed, or quality constraints without hardcoding provider SDKs. Runs via npx with just an API key.
- tools
- 4
- auth
- Secret needed
- transport
- STDIO
- env vars
- 2
- last updated
- May 16, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
chat_completionsSend a chat completion request and receive the model response plus routing metadata.
Send a chat completion request and receive the model response plus routing metadata.
No parameter schema in public metadata yet.
list_modelsReturns the full model catalog including direct-pin slugs, per-token pricing, and capability flags.
Returns the full model catalog including direct-pin slugs, per-token pricing, and capability flags.
No parameter schema in public metadata yet.
get_balanceReturns managed and BYOK balances.
Returns managed and BYOK balances.
No parameter schema in public metadata yet.
get_statusReturns GammaInfra's current overall health, per-provider state and live p50 latency, and 24h request count.
Returns GammaInfra's current overall health, per-provider state and live p50 latency, and 24h request count.
No parameter schema in public metadata yet.
Sponsors
Configuration
GAMMAINFRA_API_KEY*secretGammaInfra API key (sk-gammainfra-...). Free key at https://gammainfra.com/signup
GAMMAINFRA_BASE_URLOptional base URL override. Defaults to https://api.gammainfra.com/v1
Readme
@gammainfra/mcp-server
Model Context Protocol (MCP) server for GammaInfra — intelligent LLM routing across every major provider via one OpenAI-shape API.
Drop this server into Claude Code, Claude Desktop, Cursor, Cline, Continue, or any MCP-compatible host, and your agent gets direct tool access to:
chat_completions— call any supported model (orgammainfra/autofor smart routing) with cost, latency, and quality controls. Routing metadata (which provider served, exact cost in USD, fallback chain) is returned as a structuredrouting_metafield.list_models— full model catalog with pricing and capability flags.get_balance— managed + BYOK balances.get_status— overall + per-provider health, 24h request count.
Quickstart
- Get a GammaInfra API key — sign up free at https://gammainfra.com/signup ($3 trial credit, no credit card).
- Add the server to your MCP client config (instructions per client below).
- Restart the client. The four tools become available to your agent immediately.
Installation
Details
- Repository
- github.com/yuz0101/gammainfra-mcp-server
- Category
- AI & LLM Tools
- Package
@gammainfra/mcp-server- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active