AcademyMCP serversDevelopment

mcp-graphql

Development and data teams that want an assistant to explore and query a GraphQL API.

  • Recommendedour rating
  • 407gitHub stars
  • MITlicence
  • 13 months agolast update
claude mcp add mcp-graphql -e ENDPOINT=http://localhost:3000/graphql -- npx mcp-graphql
README.md

Loading the file...

What it does

An MCP server that lets an AI model work with a GraphQL API. It introspects the schema, so the model can discover what is available, and then runs queries. Mutations are switched off by default and you set the endpoint and headers with environment variables.

Use cases

  1. 01Explore the schema of an internal GraphQL API
  2. 02Run a query and read the result in chat
  3. 03Check which fields a type exposes before coding

Questions about
mcp-graphql.

What is mcp-graphql used for?

Development and data teams that want an assistant to explore and query a GraphQL API. An MCP server that lets an AI model work with a GraphQL API. It introspects the schema, so the model can discover what is available, and then runs queries. Mutations are switched off by default and you set the endpoint and headers with environment variables.

How do I install mcp-graphql?

Run this in your terminal: claude mcp add mcp-graphql -e ENDPOINT=http://localhost:3000/graphql -- npx mcp-graphql

Is mcp-graphql open source?

Yes. The code is on GitHub (blurrah/mcp-graphql) under the MIT licence.

Is mcp-graphql safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.