Apollo MCP Server

Developmentstdiohttp-streaming
代码仓库

Apollo's official MCP server that exposes GraphQL operations as MCP tools, letting AI agents interact with any GraphQL API through the Model Context Protocol. Turns curated GraphQL operations into callable tools, supports schema introspection, and can run locally alongside a graph via the Rover CLI or in production with the Apollo Runtime Container.

连接

将此配置添加到 .claude/mcp.json

传输方式:
{
  "mcpServers": {
    "apollo-graphql": {
      "command": "npx",
      "args": [],
      "env": {
        "APOLLO_GRAPH_REF": "<YOUR_APOLLO_GRAPH_REF>",
        "APOLLO_KEY": "<YOUR_APOLLO_KEY>"
      }
    }
  }
}

工具 (2)

execute_operation

Execute a predefined GraphQL operation exposed as an MCP tool against the configured graph.

{
  "type": "object",
  "properties": {
    "variables": {
      "type": "object",
      "description": "Variables for the GraphQL operation"
    }
  }
}

introspect

Introspect the GraphQL schema to discover available types and fields.

{
  "type": "object",
  "properties": {
    "type_name": {
      "type": "string",
      "description": "Optional type name to focus the introspection on"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Apollo GraphQL (@apollographql)
代码仓库
https://github.com/apollographql/apollo-mcp-server
星标
0
最后更新
2026年7月12日