
Description
mcp-graphql is a Model Context Protocol server that lets an AI model work with a GraphQL API. It introspects the schema, so the model can discover what the API offers, and it runs queries against the endpoint. It offers two tools: introspect-schema, which returns the schema, and query-graphql, which executes a query. The schema can come from the live endpoint through an introspection query, from a local schema file, or from a schema file hosted at a URL, and it is also exposed as a resource. The server is configured with environment variables: ENDPOINT sets the GraphQL URL, HEADERS passes JSON headers with each request, SCHEMA points at a schema file, and NAME sets the server name. Mutations are off by default and need ALLOW_MUTATIONS set to true. The README says version 1.0.0 replaced command-line arguments with environment variables. Installation is possible through Smithery for Claude Desktop, or by hand. The project is open source on GitHub.…
Highlights
- Schema introspection for GraphQL APIs
- Run queries against the endpoint
- Mutations off unless you enable them
- Configured with environment variables
Ratings & Reviews
No ratings yet
Be the first to rate blurrah/mcp-graphql.
People also visit
apollographql/apollo-mcp-server
Connect AI agents to GraphQL APIs through the Model Context Protocol
blurrah/mcp-graphql FAQ
What does mcp-graphql do?
It lets an AI model discover a GraphQL schema and run queries against a GraphQL endpoint through the Model Context Protocol.
Can the AI change data?
Not by default. Mutations are disabled unless ALLOW_MUTATIONS is set to true.
Where does the schema come from?
From a local schema file, a schema file at a URL, or an introspection query against the endpoint, depending on the SCHEMA setting.
How do I install it?
The README covers installing through Smithery for Claude Desktop, and installing manually into Claude.
What are the best blurrah/mcp-graphql alternatives?
Popular alternatives to blurrah/mcp-graphql include graphql-architect, apollographql/apollo-mcp-server and fotoetienne/gqai. See all blurrah/mcp-graphql alternatives
















