mcp-graphql
A Model Context Protocol server that enables LLMs to interact with GraphQL APIs.
This implementation provides schema introspection and query execution capabilities, allowing models to discover and use GraphQL APIs dynamically. Users can run the server with a specified GraphQL endpoint and it will automatically introspect queries to facilitate interaction with the API. Additionally, the server supports custom headers and mutation operations, enhancing its flexibility for various use cases.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-graphql": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-graphql"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions