apollo-mcp-server

Expose GraphQL operations as MCP tools for AI agents.

102|12|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/apollographql/skills --skill apollo-mcp-server-apollographql
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apollo-mcp-server
Source: https://github.com/apollographql/skills/tree/main/skills/apollo-mcp-server
Command: npx skills add https://github.com/apollographql/skills --skill apollo-mcp-server-apollographql

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables AI agents to interact with GraphQL APIs by exposing GraphQL operations as tools, simplifying API integration for AI-driven tasks.

Core Features & Use Cases

  • API Integration: Connect AI agents to GraphQL APIs using the Model Context Protocol (MCP).
  • Tool Definition: Define custom tools from GraphQL operations for AI agent consumption.
  • Introspection: Utilize built-in tools for schema exploration, validation, and execution.
  • Use Case: An AI agent needs to fetch user data from a GraphQL API. This Skill configures Apollo MCP Server to expose the getUser query as a tool, allowing the agent to call it directly.

Quick Start

Configure Apollo MCP Server by creating a config.yaml file and starting the server with apollo-mcp-server ./config.yaml.

Frequently Asked Questions about apollo-mcp-server

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

FAQPage Schema
How do I connect an AI agent to a GraphQL API?

Connect AI agents to GraphQL APIs by configuring Apollo MCP Server to expose GraphQL operations as tools. Start the server with a config.yaml file to enable dynamic API access via streamable_http or stdio transports.

How does MCP expose GraphQL operations to AI agents?

MCP exposes GraphQL operations to AI agents by transforming queries and mutations into callable tools, using built-in schema introspection, operation validation, and ad-hoc execution provided by Apollo MCP Server.

Can I use Apollo MCP Server for schema introspection with AI agents?

Yes, you can use Apollo MCP Server for schema introspection with AI agents, as it includes built-in tools that allow autonomous exploration, validation, and ad-hoc execution of GraphQL API operations.

What is the best way to validate GraphQL operations for AI tools?

The best way to validate GraphQL operations for AI tools is using Apollo MCP Server, which provides built-in operation validation and schema introspection before exposing operations as callable MCP tools.

Do I need a config.yaml file to start Apollo MCP Server?

Yes, you need a config.yaml file to start Apollo MCP Server, which initializes the connection and defines the GraphQL operations to be exposed as tools for AI agent consumption.