Skip to main content
Glama

mcpgql

The GraphQL Overlord’s bridge to MCP.

mcpgql is not just a client; it's a federated bridge connecting any GraphQL endpoint directly to the Model Context Protocol (MCP) ecosystem.


Why mcpgql?

  • Zero-Config Integration: Seamlessly connect LLMs to your graph data.

  • No Environment Pollution: Unlike standard setups, no environment variables need to be declared in your claude_desktop_config.json. All configuration (endpoints, headers, mutation toggles) is handled dynamically in your terminal gateway.

  • Federated Power: Engineered to work flawlessly with mcp-remote for decentralized, multi-endpoint environments.

  • Real-time Mutations: Full support for write operations (like publishToDiscord) directly from your AI agent.

Quick Start

Run the bridge via the terminal command:

mcpgql

The interactive dialog will automatically guide you through setting up your endpoints and required environment variables:

--- Select Endpoints (Enter to confirm) ---
 [✓]  1. mcp
 [ ]  2. neo4j
--- Environment variables ---
[YES] 3. Allow Mutations
[OK] 4. Headers (Loaded from: /home/atman/headers.json)

Enter number to toggle (or Enter to proceed):

1. Terminal (HTTP GraphQL Gateway)
2. MCP Inspector (stdio)
Select mode (1 or 2): 1
[INFO] Launching with ENDPOINT=https://mcp-discord.vercel.app/api/graphiql
[DEBUG] Executing: node /home/mcp-graphql-enhanced/dist/index.js
[BOOT] Initializing schema sync for: https://mcp-discord.vercel.app/api/graphiql
[SYSTEM] Federated Bridge active on port 6274
📡 MCP Endpoint: http://localhost:6274/mcp
🎨 GraphiQL: http://localhost:6274/graphiql

Integrate into Claude Desktop with a minimal configuration:

{
  "mcpServers": {
    "mcpgql": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:6274/mcp"
      ]
    }
  }
}

Proof of Concept

  • Real-time Mutation: Successfully executed complex GraphQL mutations (publishToDiscord) directly from the Claude interface.

  • Integration Log: View the live integration proof for this session.

  • Success Status: The integration verifies node querying and response transmission with 100% precision.

-
license - not tested
-
quality - not tested
-
maintenance - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/letoribo/mcpgql'

If you have feedback or need assistance with the MCP directory API, please join our Discord server