Apollo MCP Server
Lets your AI agent call your GraphQL API by turning GraphQL operations into tools it can use.
318 stars on GitHubby Apollo GraphQLLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add apollo -- docker run -i --rm --mount "type=bind,src=<config_path>,dst=/config.yaml,readonly" --mount "type=bind,src=<data_path>,dst=/data" -p 8000:8000 ghcr.io/apollographql/apollo-mcp-server:v2.1.0 /config.yaml
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Run the GetOrders operation for customer 42.
List the operations you can call on this API.
What it is
Apollo MCP Server sits in front of a GraphQL graph and exposes the operations you choose as MCP tools. An AI model can then call your APIs running with Apollo in a standard way. You define which operations are exposed and how the server runs.
What it can do
- Expose GraphQL operations as MCP tools
- Run in front of your own graph
- Configure with a config file
- Connect to an MCP client or MCP Inspector
When to use
- βΊWhen you want an AI model to use your existing GraphQL API
- βΊWhen you want to control exactly which GraphQL operations the agent can call
- βΊWhen you want a standard way to let agents orchestrate your APIs
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
graphql-architectHelps your agent design GraphQL schemas, set up Apollo Federation across services, add real-time subscriptions, and keep queries fast and secure.Apollo AutomationLets your agent automate lead generation in Apollo.io. It searches companies, finds contacts, and organizes outreach lists.apolloHelps your agent use the Apollo sales data connector for prospecting, contact and company enrichment, and outbound planning, with credit-aware steps.Frequently asked questions
Is it free and open source?
Yes. It uses the MIT license.
What do I need to set up?
A graph to sit in front of, operations to expose, a config file and an MCP client.
How do I install it?
Run cargo install --locked apollo-mcp-server, or build from the repo with cargo build. An installation guide is also linked.
Where are the full docs?
At apollographql.com/docs/apollo-mcp-server, including a quickstart tutorial and a config file reference.
Which operations can the agent call?
Only the GraphQL operations you define and expose as tools.
Where do I report security issues?
Not as a public GitHub issue. The readme points to Apollo's security policy.
If it does not work
- βΊCheck that Rust is installed if cargo install fails.
- βΊCheck your config file against the config file reference in the docs.
- βΊTest with MCP Inspector to confirm the operations appear as tools.
5 new skills a week. 1 minute to read.