Description
Apollo MCP Server enables AI agents to interact with GraphQL APIs by exposing operations as MCP tools. Built in Rust, it supports both local schema files and Apollo GraphOS integration for persisted queries, with features for introspection, schema tree-shaking, and custom scalar mapping. The server can run via stdio or SSE transport, includes an explorer tool for opening queries in Apollo Studio, and handles both static operations and dynamic execution with configurable mutation controls. This implementation is particularly valuable for AI assistants that need to access structured data from GraphQL endpoints without requiring users to understand the underlying query language.
Installation
git clone https://github.com/apollographql/apollo-mcp-server Claude Desktop Configuration
Add this configuration to your Claude Desktop config file to enable this MCP server:
Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json
Config file location: %APPDATA%\Claude\claude_desktop_config.json
Config file location: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"apollo-graphql": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
}