原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Graphql Enhanced

作者:letoribo版本 4.16.0i★ –i在你的电脑上运行
注册名称io.github.letoribo/mcp-graphql-enhanced

安装

概览

作者提供的说明(英文原文)

GraphQL gateway for LLMs. Handles huge GitHub GraphQL & @neo4j/graphql schemas without crashing

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: ENDPOINT, HEADERS, ALLOW_MUTATIONS, NAME, SCHEMA, MCP_PORT, ENABLE_HTTP

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "graphql-enhanced": {
      "command": "npx",
      "args": [
        "-y",
        "@letoribo/mcp-graphql-enhanced"
      ],
      "env": {
        "ENDPOINT": "your-value",
        "HEADERS": "your-value",
        "ALLOW_MUTATIONS": "your-value",
        "NAME": "your-value",
        "SCHEMA": "your-value",
        "MCP_PORT": "your-value",
        "ENABLE_HTTP": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add graphql-enhanced --env ENDPOINT=your-value --env HEADERS=your-value --env ALLOW_MUTATIONS=your-value --env NAME=your-value --env SCHEMA=your-value --env MCP_PORT=your-value --env ENABLE_HTTP=your-value -- npx -y @letoribo/mcp-graphql-enhanced

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "graphql-enhanced": {
      "command": "npx",
      "args": [
        "-y",
        "@letoribo/mcp-graphql-enhanced"
      ],
      "env": {
        "ENDPOINT": "your-value",
        "HEADERS": "your-value",
        "ALLOW_MUTATIONS": "your-value",
        "NAME": "your-value",
        "SCHEMA": "your-value",
        "MCP_PORT": "your-value",
        "ENABLE_HTTP": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "graphql-enhanced": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@letoribo/mcp-graphql-enhanced"
      ],
      "env": {
        "ENDPOINT": "your-value",
        "HEADERS": "your-value",
        "ALLOW_MUTATIONS": "your-value",
        "NAME": "your-value",
        "SCHEMA": "your-value",
        "MCP_PORT": "your-value",
        "ENABLE_HTTP": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • ENDPOINT env
    GraphQL endpoint(s). Supports comma-separated list for Multi-Node Architecture.
  • HEADERS env
    JSON string containing headers for requests.
  • ALLOW_MUTATIONS env
    Enable mutation operations (disabled by default).
  • NAME env
    Name of the MCP server.
  • SCHEMA env
    Path to a local GraphQL schema file or URL.
  • MCP_PORT env
    Port for the HTTP/JSON-RPC server.
  • ENABLE_HTTP env
    Enable HTTP transport: auto (default), true, or false.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 letoribo 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4920 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4920 个服务器的 96% 更新
  • 基础检查结果等于或优于此分类中其他 4920 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Graphql Enhanced 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(4.16.0)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT17天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mcp-graphql-enhanced

An enhanced MCP (Model Context Protocol) server for GraphQL that fixes real-world interoperability issues between LLMs and GraphQL APIs.

Drop-in replacement for mcp-graphql — with dynamic headers, robust variables parsing, and zero breaking changes.

🎯 What is mcp-graphql-enhanced?

mcp-graphql-enhanced is a high-performance, federated GraphQL gateway designed to act as a workhorse for LLM agents. It bridges the gap between massive, complex GraphQL ecosystems and the context-limited environment of AI assistants. Unlike standard "all-or-nothing" introspection tools that crash under the weight of large schemas (like GitHub's or enterprise-grade Neo4j graphs), this server provides surgical control over how your agent perceives and interacts with your data.

💡 Why do you need it?

If you have ever seen the Tool result is too large while trying to introspect your API, you are already hitting the limits of standard MCP implementations. Here is why mcp-graphql-enhanced is a practical choice for professional environments:

Avoid the 1MB Ceiling: It shifts the responsibility for scope from the server to the caller. Instead of a unilateral "everything or nothing" dump, you get granular control via typeNames and typeDepth parameters.

Surgical Precision: You can selectively introspect only the nodes you need (e.g., Repository, User, or Message), keeping your context window clean and your LLM focused.

Predictability over Immunity: It doesn't promise "unlimited" capacity—it promises predictability. In enterprise systems, you need a tool that lets you navigate the graph surgically and fail predictably if you overstep, rather than a "black box" that dies on you the moment the schema grows.

Demonstration: See a real-world diagnostic test against the GitHub API that compares scoped and monolithic introspection: 🔗 Diagnostic Case Study: Scoped vs. Monolithic Introspection (Shared Chat)

💬 Community & Support

Join the conversation! If you have questions about using this bridge with Neo4j, Discord data graphs, or GraphQL in general, come hang out with us:

This is the best place to share your feedback, report issues, or suggest new "enhanced" features for the bridge.

✨ Key Enhancements

  • ✅ Dynamic Endpoint Switching — Hot-swap targets on the fly directly via tool arguments without restarting the server or losing session context.
  • ✅ Built-in GraphiQL IDE — Visual playground at / (or /graphql, /graphiql) with pre-configured headers for instant testing and introspection.
  • ✅ Dual Transport — Supports both STDIO (for local CLI/client tools) and HTTP/JSON-RPC (for external/browser clients).
  • ✅ Dynamic headers — pass Authorization, X-API-Key, etc., via tool arguments (no config restarts)
  • ✅ Robust variables parsing — fixes “Query variables must be a null or an object” error
  • ✅ Smart introspection — supports filtered requests (via typeNames) and recursive depth control (via typeDepth) to minimize LLM context noise and optimize schema exploration.
  • ✅ Full MCP compatibility — works with Claude Desktop, Groq Desktop, Google Antigravity, Glama, Gemini CLI, Hermes Agent and any standard MCP client
  • ✅ Secure by default — mutations disabled unless explicitly enabled
  • ✅ Dynamic Schema Evolution — Smart diagnostics and gap analysis for servers that regenerate GraphQL types on-the-fly (like Neo4j).
  • ✅ Deep Observability — Automatic Cypher extraction and cleaning from GraphQL extensions.

🔥 Dynamic Endpoint Switching

The bridge allows LLMs or clients to dynamically target different GraphQL endpoints at runtime within a single session without requiring server restarts or configuration changes.

Simply pass the optional endpoint parameter in query-graphql or introspect-schema:

  • Zero Downtime: Hot-swaps the underlying schema and clears internal caches instantly.
  • Context Preservation: Keeps the MCP connection open while shifting queries between different environments (e.g., switching from a Discord ingest node to a Neo4j graph database).

🚀 Federated Multi-Node Architecture (since v3.9.1)

The server operates as a Federated GraphQL Gateway capable of querying multiple independent GraphQL environments through a single endpoint.

  • Zero Breaking Changes: If you provide a single URL in ENDPOINT, the server behaves exactly as before.
  • Federated Capability Discovery: During startup, all configured endpoints are introspected to build a federated manifest used for routing, relevance analysis, and node selection.
  • Stable Runtime Introspection: Direct GraphQL introspection queries (__schema, __type) are always resolved against the first configured endpoint. This preserves a consistent schema model and avoids corruption caused by merging independent introspection trees.
  • Selective Node Routing: The federated manifest is consulted before execution to determine whether a query is relevant to a node, reducing unnecessary requests and improving performance.
  • Schema-Adaptive Broadcasts: Queries are automatically pruned against each participating schema before execution. Unsupported fields and empty selection branches are removed on a per-node basis, allowing a single query to operate across heterogeneous GraphQL environments.
  • Smart Aggregation: When multiple comma-separated URLs are provided, the server broadcasts queries, aggregates responses, and performs universal deep object-level deduplication.
  • Conflict Handling: Structural differences between identically named types across nodes are detected and exposed safely.
  • Unified Graph Experience: Independent GraphQL systems can be queried through a single endpoint, including combinations such as GitHub GraphQL, Neo4j GraphQL, and custom GraphQL APIs.
  • Bypass Free Tier Limits: Useful for Free Tier cloud databases (for example Neo4j Aura). Data can be distributed across multiple instances while remaining queryable through a single federated gateway.
Proof of Concept:

See a real-world demonstration of the federated query synthesis in action, where the agent aggregates live Discord data with historical Neo4j insights: 🔗 Live Federation Analysis (Shared Chat)

💡 Use Case: Bridging WSL and Windows (PowerShell)

A common challenge for Windows developers is the network isolation between the Windows Subsystem for Linux (WSL) and the host OS. This feature allows you to bridge these two worlds into a "Unified Nervous System".

Example configuration for Claude Desktop:

{

"ENDPOINT": "http://DESKTOP-NAME.local:2311/graphql,http://127.0.0.1:4000/graphql" }

*   **Hybrid Ecosystem**: Seamlessly query and aggregate data across Windows-native processes (PowerShell) and Linux-based environments (WSL).  
  • mDNS Support: By using .local addresses, the bridge automatically resolves the host machine's IP from within the WSL environment.
  • Transparent Aggregation: The AI assistant interacts with a single unified schema, unaware that the data is being fetched from different operating systems simultaneously.

🔍 Advanced Observability & Cypher

The bridge provides deep insights into how the LLM interacts with your graph database.

🕸️ Automated Cypher Extraction

For GraphQL server implementations that return query execution plans (like @neo4j/graphql), the bridge automatically:

  1. Detects extensions.cypher in the response.
  2. Sanitizes the output by stripping internal headers (like CYPHER 5 or empty PARAMS).
  3. Injects a clean Cypher block directly into the tool's output for the AI to analyze.

Note: This feature requires your GraphQL server to be configured to include debug information in the response extensions.


🎨 Visual Command Center (GraphiQL)

Unlike standard MCP servers, this one provides a visual interface for humans. When running with ENABLE_HTTP=true, you can open a full-featured GraphiQL IDE in your browser.

  • Endpoint: http://localhost:6274/ (or /graphql, /graphiql)
  • Header Sync: Any headers set in your environment (like GitHub tokens) are automatically injected into the GraphiQL "Headers" tab for immediate testing.

💻 HTTP / Dual Transport

This server runs in dual transport mode, supporting both the standard STDIO communication (used by most MCP clients) and an HTTP JSON-RPC endpoint on port 6274.

This allows external systems, web applications, and direct curl commands to access the server's tools with live request logging in your terminal ([HTTP-RPC] logs).

EndpointMethodDescription
/graphiqlGETHuman Interface: The visual GraphQL IDE.
/mcpPOSTThe main JSON-RPC 2.0 endpoint for tool execution.
/healthGETSimple health check, returns { status: 'ok' }.
Resolving Port Conflicts (EADDRINUSE) and Automatic Port Selection

The server defaults to port 6274. If you encounter an EADDRINUSE: address already in use :::6274 error (common in local development due to stale processes), the server will automatically find the next available port (up to 10 attempts, not spawning multiple servers).

This ensures the server starts successfully even when the default is blocked. Always check the server logs for the final bound port (e.g., [HTTP] Started server on http://localhost:6275) if your curl or client tool fails on the default 6274.

To force a specific port (e.g., for guaranteed external firewall settings), you can still explicitly set the MCP_PORT environment variable:

MCP_PORT=8080 npx @letoribo/mcp-graphql-enhanced
Testing the HTTP Endpoint

You can test the endpoint using curl as long as the server is running (e.g., via npm run dev):

Test the health check (assuming the server bound to the default or found the next available port)
curl http://localhost:6274/health
Testing the JSON-RPC Transport
curl -X POST http://localhost:6274/mcp  \

-H "Content-Type: application/json" \ -d '{ "jsonrpc":"2.0", "method":"tools/list", "params":{}, "id":1 }'

curl -X POST http://localhost:6274/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "introspect-schema", "arguments": {} }, "id": 2 }'

curl -X POST http://localhost:6274/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "introspect-schema", "

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx