https://github.com/apollographql/apollo-mcp-server
Apollo MCP Server
https://github.com/apollographql/apollo-mcp-server
Last synced: about 2 months ago
JSON representation
Apollo MCP Server
- Host: GitHub
- URL: https://github.com/apollographql/apollo-mcp-server
- Owner: apollographql
- License: mit
- Created: 2025-04-02T20:22:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-09-02T14:49:10.000Z (2 months ago)
- Last Synced: 2025-09-02T15:26:52.674Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 2.81 MB
- Stars: 184
- Watchers: 11
- Forks: 39
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- Awesome-Official-MCP-Servers - Apollo MCP Server - mcp-server?style=social) | Connect your GraphQL APIs to AI agents | | (官方 MCP 服务器列表)
- Awesome-Official-MCP-Servers - Apollo MCP Server - mcp-server?style=social) | Connect your GraphQL APIs to AI agents | | (官方 MCP 服务器列表)
- awesome-mcp-servers - **apollo-mcp-server** - Apollo MCP Server (Rust-based) `rust` `mcp` `server` `cargo install --git https://github.com/apollographql/apollo-mcp-server` (🔧 Utilities)
README





# Apollo MCP Server
Apollo MCP Server is a [Model Context Protocol](https://modelcontextprotocol.io/) server that exposes GraphQL operations as MCP tools. It provides a standard way for AI models to access and orchestrate your APIs running with Apollo.
## Documentation
See [the documentation](https://www.apollographql.com/docs/apollo-mcp-server/) for full details. This README shows the basics of getting this MCP server running. More details are available on the documentation site.
## Installation
You can either build this server from source, if you have Rust installed on your workstation, or you can follow the [installation guide](https://www.apollographql.com/docs/apollo-mcp-server/run). To build from source, run `cargo build` from the root of this repository and the server will be built in the `target/debug` directory.
## Getting started
Follow the [quickstart tutorial](https://www.apollographql.com/docs/apollo-mcp-server/quickstart) to get started with this server.
## Usage
Full usage of Apollo MCP Server is documented on the [user guide](https://www.apollographql.com/docs/apollo-mcp-server/run). There are a few items that are necessary for this server to function. Specifically, the following things must be configured:
1. A graph for the MCP server to sit in front of.
2. Definitions for the GraphQL operations that should be exposed as MCP tools.
3. A configuration file describing how the MCP server should run.
4. A connection to an MCP client, such as an LLM or [MCP inspector](https://modelcontextprotocol.io/legacy/tools/inspector).
These are all described on the user guide. Specific configuration options for the configuration file are documented in the [config file reference](https://www.apollographql.com/docs/apollo-mcp-server/config-file).
## Contributions
Checkout the [contributor guidelines](https://github.com/apollographql/apollo-mcp-server/blob/main/CONTRIBUTING.md) for more information.
## Licensing
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for the full license text.
# Security
Refer to our [security policy](https://github.com/apollographql/.github/blob/main/SECURITY.md).
> [!IMPORTANT]
> **Do not open up a GitHub issue if a found bug is a security vulnerability**, and instead to refer to our [security policy](https://github.com/apollographql/.github/blob/main/SECURITY.md).