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.
Install mcp-graphql-enhanced
Built from the published package, never by AI.
claude mcp add mcp-graphql-enhanced -- npx -y @letoribo/mcp-graphql-enhancedRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-graphql-enhanced": {
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install mcp-graphql-enhanced in Claude Desktop
{
"mcpServers": {
"mcp-graphql-enhanced": {
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-graphql-enhanced": {
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-graphql-enhanced -- npx -y @letoribo/mcp-graphql-enhanced{
"mcpServers": {
"mcp-graphql-enhanced": {
"args": [
"-y",
"@letoribo/mcp-graphql-enhanced"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install mcp-graphql-enhanced in Antigravity CLI
gemini mcp add mcp-graphql-enhanced npx -y @letoribo/mcp-graphql-enhancedGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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
| Setting | Needed | What it is |
|---|---|---|
ENDPOINTEnvironment variable | Optional | GraphQL endpoint(s). Supports comma-separated list for Multi-Node Architecture. |
HEADERSEnvironment variable | Optional | JSON string containing headers for requests. |
ALLOW_Environment variable | Optional | Enable mutation operations (disabled by default). |
NAMEEnvironment variable | Optional | Name of the MCP server. |
SCHEMAEnvironment variable | Optional | Path to a local GraphQL schema file or URL. |
MCP_Environment variable | Optional | Port for the HTTP/JSON-RPC server. |
ENABLE_Environment variable | Optional | Enable 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
ANo 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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
