apollo-mcp-server
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP tools from GraphQL operations, (3) using introspection tools (introspect, search, validate, execute), (4) troubleshooting MCP server connectivity or tool execution issues.
npx skills add majiayu000/claude-skill-registry --skill apollo-mcp-server --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Apollo MCP Server Guide Apollo MCP Server exposes GraphQL operations as MCP tools, enabling AI agents to interact with GraphQL APIs through the Model Context Protocol. ## Quick Start ### Step 1: Install ```bash # Using npm npm install -g @apollo/mcp-server # Or run directly with npx npx @apollo/mcp-server ``` ### Step 2: Configure Create `mcp.yaml` in your project root: ```yaml # mcp.yaml endpoint: https://api.example.com/graphql schema: type: local path: ./schema.graphql operations: type: local paths: - ./operations/**/*.graphql introspection: enabled: true ``` ### Step 3: Connect Add to your MCP client configuration: **Claude Desktop (`claude_desktop_config.json`):** ```json { "mcpServers": { "graphql-api": { "command": "npx", "args": ["@apollo/mcp-server", "--config", "./mcp.yaml"] } } } ``` **Claude Code (`.mcp.json`):** ```json { "mcpServers": { "graphql-api": { "command": "npx", "args": ["@apollo/mcp-server", "--config", "./mcp.yaml"] } } } ``` ## Built-in Tools Apollo MCP Server provides four introspection tools: | Tool | Purpose | When to Use | |------|---------|-------------| | `introspect` | Explore schema types in detail | Need type definitions, fields, relationships |
- Quick Start
- Step 1: Install
- Step 2: Configure
- Step 3: Connect
- Built-in Tools
- Defining Custom Tools
- 1. Operation Files (Recommended)
- 2. Operation Collections
- 3. Persisted Queries
- Reference Files
- Key Rules
- Security
- Authentication
- Token Optimization
Using npm npm install -g @apollo/mcp-server Or run directly with npx npx @apollo/mcp-server
What does the apollo-mcp-server skill do?
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP tools from GraphQL operations, (3) using introspection tools (introspect, search, validate, execute), (4) troubleshooting MCP server connectivity or tool execution issues.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill apollo-mcp-server --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
