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.
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:
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 READMEgraphql_queryExecute GraphQL queries against any endpoint
graphql_introspectRetrieve and explore GraphQL schema information
Comparable tools
Installation
Installation
- Install the MCP server globally:
npm install -g mcp-graphql-tools- 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
Last updated · Auto-generated from public README + GitHub signals.