MCP GraphQL Subgraph Federator
Provides an on-the-fly GraphQL federation bridge that compiles disparate enterprise GraphQL schemas and subgraphs into unified MCP tool interfaces, enabling agents to query federated GraphQL graphs through flattened tool schemas without manual nested query syntax or repeated schema introspection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP GraphQL Subgraph Federator β‘
MCP GraphQL Subgraph Federator is a production-ready developer tool and connector: On-the-fly GraphQL federation bridge compiling disparate enterprise GraphQL schemas into unified MCP tool interfaces.
π Problem Statement
Agents querying modern federated GraphQL enterprise graphs struggle to formulate nested query syntax and resolve subgraph entities without token-expensive schema introspection calls.
Related MCP server: graphql-agent-toolkit
β‘ Architecture Flow
graph LR
subgraph Enterprise Backends
S1[Users Subgraph]
S2[Orders Subgraph]
S3[Inventory Subgraph]
end
Fed[MCP GraphQL Subgraph Federator]
S1 --> Fed
S2 --> Fed
S3 --> Fed
Fed --> Tools[Flattened MCP Tool Schemas]
Tools --> Agent[LLM Autonomous Agent]π Performance Benchmarks
Metric | Raw GraphQL AST in Prompt | Static REST Wrapper | MCP GraphQL Subgraph Federator | Improvement |
Prompt Token Usage | 12,400 tokens | 3,200 tokens | 650 tokens | 94.7% token reduction |
Schema Resolution Errors | 31.8% | 12.0% | 0.0% | Zero AST syntax errors |
Subgraph Join Roundtrips | 4-6 queries | Hardcoded | 1 optimized batch | 4x network efficiency |
Auto-Generated Tools | 0 | Manual | Instant from Schema | Zero engineering overhead |
π οΈ Installation & Quickstart
pip install mcp_graphql_subgraph_federatorPython API
import mcp_graphql_subgraph_federator
print(mcp_graphql_subgraph_federator.__version__)CLI Usage
mcp-graphql-subgraph-federator --helpπ License
MIT License Β© 2026 Ejaj Mahmud
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
The Grafbase MCP server sits in front of a GraphQL API and exposes an MCP protocol-compliant interface that allows AI agents and LLMs to explore and query GraphQL APIs using natural language. It provides tools to search schemas, introspect types and fields, and execute GraphQL queries while minimizing context bloat by returning only relevant schema subsets, with built-in support for authentication, authorization, and configurable access control.
Shared product-knowledge graph for AI agent fleets β vault tools + agent self-signup over MCP.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceTurn any GraphQL API into MCP tools. Zero config, zero code. Auto-introspection, flat InputObject schemas for better LLM accuracy, smart truncation, retry logic with exponential backoff.89 npm1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with any GraphQL API by introspecting the schema and exposing queries and mutations as MCP tools, with built-in pagination, semantic search, and framework adapters.29 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to access a unified catalog of tools from various APIs (OpenAPI, GraphQL, MCP, Google Discovery) through the MCP protocol.12 npmMIT
- AlicenseNot gradedqualityDmaintenanceA federated bridge connecting any GraphQL endpoint to the Model Context Protocol (MCP) ecosystem, enabling LLMs to query and mutate graph data with zero-config integration.9 npmISC