What is Apollo MCP Server?
The Apollo MCP Server is a server that exposes GraphQL operations as tools accessible through the Model Context Protocol (MCP). It allows AI models to interact with GraphQL APIs by providing a structured way to discover and execute operations.
How to use Apollo MCP Server?
To use the Apollo MCP Server, you need to build and run it with your GraphQL schema and operations. You can then connect to it using an MCP client like MCP Inspector, Claude Desktop, or Cursor. The server can be configured to use either the stdio or HTTP+SSE transport. You can also configure it to read operations from persisted query manifests or Uplink.
Key features of Apollo MCP Server
Exposes GraphQL operations as MCP tools
Supports stdio and HTTP+SSE transports
Integration with MCP Inspector, Claude Desktop, and Cursor
Supports persisted queries via manifest files and Uplink
Optional introspection support for LLM-driven query generation
Can be run in a container
Use cases of Apollo MCP Server
Enabling AI models to interact with GraphQL APIs
Providing a structured interface for LLMs to discover and execute GraphQL operations
Automating tasks that require querying GraphQL APIs
Integrating GraphQL APIs with AI-powered workflows
Allowing AI agents to access and manipulate data through GraphQL
FAQ from Apollo MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol that allows AI models to interact with external tools and services.
What is the purpose of the Apollo MCP Server?
What is the purpose of the Apollo MCP Server?
The Apollo MCP Server allows AI models to interact with GraphQL APIs by exposing GraphQL operations as MCP tools.
How do I configure the MCP server to use my own GraphQL schema?
How do I configure the MCP server to use my own GraphQL schema?
You can configure the MCP server by providing the path to your schema and operation files using the --schema
and --operations
flags.
How do I enable introspection?
How do I enable introspection?
You can enable introspection by adding the --introspect
flag to the MCP server command line.
Can I run the MCP server in a container?
Can I run the MCP server in a container?
Yes, the MCP server is available as a standalone docker container. Refer to the documentation for instructions on how to use it.