Skip to content

apollographql/apollo-mcp-server

Repository files navigation

Apollo Client

Apollo MCP Server

Apollo MCP Server is a Model Context Protocol 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 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. 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 to get started with this server.

Usage

Full usage of Apollo MCP Server is documented on the user guide. There are a few items that are ncessary 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.

These are all described on the user guide. Specific configuration options for the configuration file are documented in the command reference.

Licensing

This project is licensed under the MIT License. See the LICENSE file for the full license text.