MCP Catalogs
Home

mcp-graphql-tools

by saewoohan·8·Score 32

A Model Context Protocol server that enables AI assistants to interact with GraphQL APIs through standardized tools.

developer-toolsai-llmother
3
Forks
1
Open issues
14 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides tools for AI assistants to interact with GraphQL APIs, including query execution and schema introspection capabilities. It offers configurable options like endpoint URLs, headers, timeouts, and query complexity limits. The server is designed to integrate seamlessly with AI assistants through the Model Context Protocol, enabling them to query GraphQL endpoints and retrieve schema information.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants querying GitHub GraphQL API
you:Exploring and understanding GraphQL schemas
you:Executing GraphQL queries with authentication and custom headers
you:Can I use this with any GraphQL endpoint?
you:Does this server support authentication?

When to choose this

Choose this server when your AI assistant needs to interact with GraphQL APIs that have well-defined schemas, especially when you want to control query complexity and mutation permissions.

When NOT to choose this

Avoid this server if you need to interact with REST APIs instead of GraphQL, or if you require advanced caching mechanisms that aren't implemented in this basic server.

Tools this server exposes

2 tools extracted from the README
  • graphql_query

    Execute GraphQL queries against any endpoint

  • graphql_introspect

    Retrieve and explore GraphQL schema information

Comparable tools

mcp-fetch-apimcp-http-clientmcp-rest-tools

Installation

Installation

  1. Install the MCP server globally:
npm install -g mcp-graphql-tools
  1. Configure Claude Desktop to use the server:
{
  "mcpServers": {
    "graphql": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-graphql-tools",
        "--endpoint=https://api.github.com/graphql",
        "--headers={\"Authorization\":\"Bearer YOUR_GITHUB_TOKEN\"}",
        "--timeout=30000",
        "--maxComplexity=100"
      ]
    }
  }
}

FAQ

Can I use this with any GraphQL endpoint?
Yes, the server allows you to specify any GraphQL endpoint via the --endpoint flag or in individual tool calls.
Does this server support authentication?
Yes, you can include authentication headers in the --headers parameter or in individual tool calls.

Compare mcp-graphql-tools with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.