apollo-mcp-server

Expose GraphQL operations as MCP tools via Apollo MCP Server.

18|Updated Jul 31, 2025
One-click install
npx skills add https://github.com/simnova/sharethrift --skill apollo-mcp-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apollo-mcp-server
Source: https://github.com/simnova/sharethrift/tree/main/.agents/skills/apollo-mcp-server
Command: npx skills add https://github.com/simnova/sharethrift --skill apollo-mcp-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps AI agents interact with GraphQL APIs by exposing Apollo MCP Server operations as readily usable tools, enabling automated workflows and smarter agent decision making.

Core Features & Use Cases

  • Setup and configuration: Quick bootstrap of Apollo MCP Server to expose GraphQL operations as MCP tools.
  • Tool generation from GraphQL operations: Convert queries and mutations into AI-accessible tools for exploration and execution.
  • Introspection and troubleshooting: Use built-in introspection tools to explore schemas and diagnose connectivity or configuration issues.
  • Use Case: A developer wants an agent to run a GraphQL query against a backend and manage tool executions across environments without manual coding.

Quick Start

Install the MCP Server tools and configure mcp.yaml in your project root, then run the server to expose your GraphQL endpoint as MCP tools. For example:

  • Install: npm install -g @apollo/mcp-server
  • Run: npx @apollo/mcp-server
  • Create: mcp.yaml with endpoint, schema, operations, and introspection sections
  • Connect: configure your AI client (Claude Desktop/Code) to the MCP server

Frequently Asked Questions about apollo-mcp-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose GraphQL APIs to AI agents?

To expose GraphQL APIs to AI agents, configure an Apollo MCP Server using a mcp.yaml file to convert your GraphQL queries and mutations into accessible MCP tools for automated workflows.

What is the purpose of an MCP server for GraphQL operations?

An MCP server for GraphQL operations bridges AI agents and GraphQL APIs by transforming queries and mutations into usable tools, enabling automated execution and smarter agent decision making without manual coding.

Do I need Node.js and the rover CLI to run an Apollo MCP Server?

Yes, running an Apollo MCP Server requires Node.js v18+ and the rover CLI. You must also define a properly configured mcp.yaml file in your project root to expose your GraphQL endpoint.

How do I set up an MCP server to connect Claude Desktop to a GraphQL API?

Install the Apollo MCP Server via npm, create a mcp.yaml file defining your endpoint and operations, run the server, and then configure your AI client like Claude Desktop to connect to the MCP server.

Can I introspect a GraphQL schema through an MCP server?

Yes, the Apollo MCP Server includes built-in introspection tools that allow AI agents to explore GraphQL schemas and diagnose connectivity or configuration issues during setup.

Why is my Apollo MCP Server not connecting to the GraphQL endpoint?

Apollo MCP Server connectivity issues often stem from an improperly configured mcp.yaml file, missing Node.js v18+ dependencies, or an absent rover CLI, which can be diagnosed using built-in introspection tools.