graphql-code-generator (MCP Server)

GitHub

A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "graphql-code-generator": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-graphql-code-generator"
      ]
    }
  }
}