MCP Graphql Enhanced logo

MCP Graphql Enhanced

Scopes large GraphQL schemas, runs queries, switches endpoints, and supports federated aggregation over MCP.

Install MCP Graphql Enhanced

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-graphql-enhanced": {
      "command": "npx",
      "args": [
        "-y",
        "@letoribo/mcp-graphql-enhanced"
      ],
      "env": {
        "ENDPOINT": "YOUR_VALUE_HERE",
        "ALLOW_MUTATIONS": "YOUR_VALUE_HERE",
        "ENABLE_HTTP": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

mcp-graphql-enhanced connects MCP clients to GraphQL APIs, with support for large GitHub and @neo4j/graphql schemas. Its introspect-schema tool supports type and depth filtering, while query-graphql executes operations with dynamic endpoints and headers. Multiple comma-separated endpoints can be queried as a federated graph with deduplicated results. Use it when full-schema introspection exceeds an agent's context or when one MCP session needs to access several GraphQL targets.

Use cases

  • Inspect selected types in a large GitHub GraphQL schema
  • Query Neo4j-backed GraphQL APIs from an MCP client
  • Switch between GraphQL environments during one agent session
  • Combine results from multiple GraphQL endpoints
  • Test queries through the built-in GraphiQL interface

Key features

  • Scoped schema introspection with type and depth filters
  • GraphQL query execution with mutations disabled by default
  • Runtime endpoint switching and request headers
  • Federated multi-endpoint querying with deep deduplication
  • STDIO and HTTP/JSON-RPC transports
  • Optional GraphiQL interface and Cypher extraction

Tools2

What MCP Graphql Enhanced lets your agent do. Expand a tool for its parameters.

Self-reported~61 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

8/8 checks healthy over the last 40d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @letoribo/mcp-graphql-enhanced (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads186kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Graphql Enhanced works

What mcp-graphql-enhanced does

mcp-graphql-enhanced exposes GraphQL operations through MCP for AI agents and other MCP clients. It is aimed at APIs whose schemas are too large for an unrestricted introspection response, including GitHub's GraphQL API and GraphQL services built with @neo4j/graphql.

The server provides two core tools. introspect-schema retrieves the full schema or a selected portion of it. Callers can narrow the result with type names and control recursive traversal with a type-depth setting. query-graphql sends GraphQL queries to the configured endpoint. Mutations are blocked by default and require explicit enablement.

How it works

A single endpoint can be configured with ENDPOINT. Multiple comma-separated URLs turn the server into a federated gateway: introspection scans the targets, queries are broadcast, and returned objects are merged with deep deduplication. Structural differences between matching type names are kept distinct rather than silently treated as identical.

The endpoint argument on either MCP tool can change the target during an active session. Switching endpoints clears the relevant internal caches while preserving the MCP connection. Tool arguments can also carry request headers such as authorization or API-key values, avoiding a server restart when credentials or targets change.

The server supports STDIO for local MCP clients and HTTP/JSON-RPC for external or browser-based clients. With HTTP enabled, it serves a GraphiQL interface at the root path and at /graphql or /graphiql. Environment-configured headers are made available in GraphiQL for testing.

Setup and configuration

Set ENDPOINT to a GraphQL URL. For federation, provide several URLs separated by commas. Set ENABLE_HTTP=true when HTTP/JSON-RPC access or the browser-based GraphiQL interface is needed; otherwise, the STDIO transport is the relevant connection mode for local MCP clients.

Mutations remain disabled unless ALLOW_MUTATIONS=true is set. This default is useful when agents should inspect or read graph data without being granted write operations. Runtime requests may provide headers such as Authorization or X-API-Key through the tool arguments.

Tools and capabilities

  • introspect-schema: Retrieves all or part of a GraphQL schema.
  • Scoped introspection: Filters schema exploration by typeNames and recursive typeDepth values.
  • query-graphql: Executes GraphQL queries and supports runtime endpoint and header arguments.
  • Federated querying: Combines results from multiple configured GraphQL endpoints with object-level deduplication.
  • GraphiQL access: Provides a browser IDE when HTTP mode is enabled.
  • Cypher visibility: Extracts and cleans extensions.cypher output from GraphQL responses when the upstream server includes debug information.

Limitations and notes

Schema filtering reduces response size but does not make an arbitrarily large request unlimited; choosing broad types or deep traversal can still produce large results. Cypher extraction depends on the GraphQL service returning execution details in response extensions, as supported by implementations such as @neo4j/graphql.

Federation is based on comma-separated endpoint URLs and result aggregation. When identical type names differ across nodes, the server reports them separately to preserve their structural distinctions. Dynamic endpoint changes are session-level tool operations rather than a replacement for configuring reachable GraphQL services.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Graphql Enhanced

mcp-graphql-enhanced is an MCP server that connects AI agents to GraphQL endpoints, including large GitHub and @neo4j/graphql schemas. Its main tools, introspect-schema and query-graphql, let agents inspect selected schema types and execute queries, while endpoint switching, dynamic headers, and optional federation support multi-target workflows.

Configure the server as an MCP service and set its GraphQL endpoint with ENDPOINT. It supports STDIO for local MCP clients; setting ENABLE_HTTP=true also exposes HTTP/JSON-RPC access and the GraphiQL interface.

Set ENDPOINT to comma-separated GraphQL URLs. The server broadcasts queries to those endpoints, merges returned objects with deep deduplication, and keeps structurally different versions of matching type names distinct.

Set ALLOW_MUTATIONS=true to enable mutations. They are disabled by default, so query-only behavior remains the default configuration.

Yes, it supports standard MCP clients, and it provides STDIO transport for local client integrations. It also supports HTTP/JSON-RPC for clients or applications that connect over HTTP.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Graphql Enhanced AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-graphql-enhanced?style=directory)](https://allmcps.com/mcp/mcp-graphql-enhanced)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-graphql-enhanced"><img src="https://allmcps.com/api/badge/mcp-graphql-enhanced?style=directory" alt="MCP Graphql Enhanced on AllMCPs" /></a>