Apollo MCP Server
Apollo MCP Server allows you to expose your existing GraphQL APIs as tools for AI assistants, enabling them to query real-time data. It integrates seamlessly with AI clients like Claude Desktop, transforming GraphQL operations into AI-accessible functions.
What it does
This server acts as a bridge, allowing large language models (LLMs) to understand and execute GraphQL queries. It takes your GraphQL schema and defined operations, and presents them to an MCP client as a set of callable tools. For example, you can expose an operation to fetch astronaut data, and an AI assistant can then use this "tool" to answer questions like "Who are the astronauts currently in space?".
How to use
- Clone the repository:
git clone https://github.com/apollographql/apollo-mcp-server.gitcd apollo-mcp-server - Install Rover CLI: Ensure you have Apollo Rover CLI v0.35 or later.
- Run the server: Use the
rover devcommand with your supergraph and MCP configuration files.
This command starts a local graph and an MCP Server, typically onrover dev --supergraph-config ./graphql/TheSpaceDevs/supergraph.yaml \ --mcp ./graphql/TheSpaceDevs/config.yamlhttp://127.0.0.1:5000/mcpusing Streamable HTTP transport. - Connect an MCP Client: Configure your AI assistant (e.g., Claude Desktop) to connect to the running MCP Server. For Claude, you would add a configuration like this to its
claude_desktop_config.json:{ "mcpServers": { "thespacedevs": { "command": "npx", "args": [ "mcp-remote", "http://127.0.0.1:5000/mcp" ] } } } - Test: Ask your AI assistant questions that leverage the exposed GraphQL tools, such as "Who are the astronauts currently in space?".
Implementation Details
Apollo MCP Server leverages GraphQL Federation to combine multiple subgraphs into a single supergraph. It then exposes pre-built GraphQL operations from this supergraph as MCP tools. It supports Streamable HTTP and STDIO transports.
Recommend MCP Servers 💡
pubchem-mcp
An MCP server for accessing PubChem data, providing tools for querying compounds, substances, bioassays, and related chemical information.
elasticsearch-mcp-server
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
openapi-to-mcp
An MCP server that exposes API endpoints as strongly typed tools using OpenAPI specifications.
@archbee/mcp
An MCP server for Archbee API, enabling LLMs to read, search, and list Archbee documents.
Agentic_Longterm_Memory
Sophisticated AI chatbot with long-term memory capabilities, complete Notion workspace integration, and MCP (Model Context Protocol) implementation. Features semantic, episodic, and procedural memory systems.
searxng-mcp-server
An MCP server implementation integrated with SearXNG for privacy-respecting search capabilities for AI agents.