Skip to content
Skillpedia
βœ“ Official Β· Apollo GraphQL● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

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

A GraphQL graph, definitions of the operations to expose, and a config file. Install with cargo install --locked apollo-mcp-server, which needs Rust, or follow the installation guide.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.