← Back to Plugins
MCP Server MCP

io.github.murilojrpereira/mcp-graphql-bridge

github By github 👁 1 views ▲ 0 votes

Bridges any GraphQL API to Claude Code — auto-generates MCP tools via schema introspection.

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "identifier": "mcp-graphql-bridge",
      "version": "2.1.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "GraphQL endpoint URL used for executing queries and mutations. Defaults to the public Countries API.",
          "name": "GRAPHQL_API_URL"
        },
        {
          "description": "GraphQL endpoint URL used for schema introspection. Defaults to GRAPHQL_API_URL.",
          "name": "GRAPHQL_INTROSPECTION_URL"
        },
        {
          "description": "Bearer token for authenticating query and mutation execution.",
          "isSecret": true,
          "name": "GRAPHQL_TOKEN"
        },
        {
          "description": "Bearer token for schema introspection. Defaults to GRAPHQL_TOKEN.",
          "isSecret": true,
          "name": "GRAPHQL_INTROSPECTION_TOKEN"
        },
        {
          "description": "Maximum number of generated query and mutation tools. Defaults to 128.",
          "name": "GRAPHQL_MAX_TOOLS"
        },
        {
          "description": "Set to false to disable mutation tools and mutation execution. Defaults to true.",
          "name": "GRAPHQL_INCLUDE_MUTATIONS"
        },
        {
          "description": "Retries for transient upstream responses. Defaults to 0.",
          "name": "GRAPHQL_MAX_RETRIES"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...