Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-graphql-enhanced

MCP server by letoribo Community

Gives AI assistants a GraphQL bridge that introspects large schemas in scoped pieces. Built for GitHub GraphQL and @neo4j/graphql APIs, and can query several endpoints through one gateway.

  • Score 94
  • 8 stars
  • 68k a week
  • MIT
  • Updated

Install mcp-graphql-enhanced

Built from the published package, never by AI.

claude mcp add mcp-graphql-enhanced -- npx -y @letoribo/mcp-graphql-enhanced

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-graphql-enhanced in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-graphql-enhanced block.

About

mcp-graphql-enhanced is an MCP server for GraphQL. The source describes it as a drop-in replacement for mcp-graphql, with dynamic headers, robust variables parsing, and typeNames and typeDepth parameters. These let an assistant introspect only the types it needs instead of the whole schema. The server exposes any GraphQL schema through two tools, introspect-schema and query-graphql.

The server runs over STDIO or HTTP JSON-RPC. When ENABLE_HTTP is true, it also serves a GraphiQL IDE. When several comma-separated ENDPOINT URLs are set, it routes and aggregates queries across them. It is aimed at people working with large GraphQL APIs, such as GitHub's and Neo4j-backed graphs, who want predictable scope control for AI agents.

Written from the project's README and checked against it.

Tools it gives your assistant

  • introspect-schemaIntrospects a GraphQL schema, with filtering by typeNames and depth set by typeDepth.
  • query-graphqlRuns GraphQL queries against the configured endpoint, with an optional endpoint argument.

What you need

  • A GraphQL endpoint set in the ENDPOINT variable
  • An MCP client such as Claude Desktop
  • Environment HEADERS for authenticated endpoints, such as GitHub tokens
SettingNeededWhat it is
ENDPOINTEnvironment variableOptionalGraphQL endpoint(s). Supports comma-separated list for Multi-Node Architecture.
HEADERSEnvironment variableOptionalJSON string containing headers for requests.
ALLOW_MUTATIONSEnvironment variableOptionalEnable mutation operations (disabled by default).
NAMEEnvironment variableOptionalName of the MCP server.
SCHEMAEnvironment variableOptionalPath to a local GraphQL schema file or URL.
MCP_PORTEnvironment variableOptionalPort for the HTTP/JSON-RPC server.
ENABLE_HTTPEnvironment variableOptionalEnable HTTP transport: auto (default), true, or false.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Introspect only the Repository and User types from the GitHub schema.
  • Run this GraphQL query against the Neo4j endpoint and summarise the results.
  • Switch to the second endpoint and list the fields on the Message type.

Good to know

  • Mutations are disabled unless explicitly enabled.
  • Cypher extraction requires the GraphQL server to include debug information in extensions.
  • No inbound auth on public deployments. Put access control in front of the port.
  • The source does not promise unlimited capacity, only predictable failure when a scope is too broad.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-graphql-enhanced

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

mcp-graphql-enhanced: common questions

Why use scoped introspection instead of a full schema dump?

The source says full introspection can hit the 1MB tool result limit on large schemas. Scoping by typeNames and typeDepth keeps the assistant's context smaller.

Can it query more than one GraphQL API at once?

Yes. When multiple comma-separated ENDPOINT URLs are set, the server broadcasts queries and aggregates the responses. A single URL behaves as before.

Is the HTTP server open to the network by default?

No. The HTTP server binds to 127.0.0.1 by default and binds to 0.0.0.0 only when PORT is set by the platform or when running in Docker.

How do I install mcp-graphql-enhanced?

In Claude Code run claude mcp add mcp-graphql-enhanced -- npx -y @letoribo/mcp-graphql-enhanced. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-graphql-enhanced the official server?

mcp-graphql-enhanced is a community project by letoribo, not verified by a company domain.

Is mcp-graphql-enhanced free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-graphql-enhanced safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-graphql-enhanced?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does mcp-graphql-enhanced work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-graphql-enhanced Install

Add to stack

Loading.