INDIVIDUAL MCP TOOL
gateway_reference
The gateway API reference as Markdown: every endpoint, every Chat Completions parameter with its range, default and how the gateway treats it, and every error with its status and type.
LIVE ENDPOINT
https://getmegabrain.com/api/mcp
Connect to this endpoint to inspect the live schema for gateway_reference and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.megabrain-gateway]
url = "https://getmegabrain.com/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"megabrain-gateway": {
"type": "http",
"url": "https://getmegabrain.com/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: megabrain-gateway
Remote MCP URL: https://getmegabrain.com/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"megabrain-gateway": {
"url": "https://getmegabrain.com/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"megabrain-gateway": {
"type": "http",
"url": "https://getmegabrain.com/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "megabrain-gateway",
"transport": "streamable-http",
"url": "https://getmegabrain.com/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_models— Search the models this gateway serves.get_model— One catalogue model's whole record: pricing, context, architecture, supported parameters, default parameters and reasoning support.list_providers— The upstreams this gateway actually routes to, with their privacy policy, terms and status page URLs.