Grafbase

Grafbase

Turn your GraphQL API into an efficient MCP server with schema intelligence in a single command.

1,188
Stars
61
Forks
20
Releases

Overview

Grafbase Gateway is a high-performance GraphQL federation gateway with built-in MCP support. It enables you to expose your GraphQL API as a Model Context Protocol (MCP) server with just a few configuration lines. Built for Federation v2, Grafbase provides native Apollo Federation v2 compatibility and composite schemas, while delivering ultra-fast Rust-powered performance and low memory usage suitable for mission-critical workloads. The gateway is extensible through WebAssembly extensions, letting you customize authentication, authorization, request lifecycles, and connect arbitrary data sources without modifying the gateway core. It includes governance and control-plane features for enterprise teams, such as schema composition checks, breaking change detection, and approval workflows, plus branch environments for versioning and isolated development. Observability is built-in via OpenTelemetry for logs, traces, and metrics, and the gateway offers entity caching, persisted queries, health checks, rate limiting, and request lifecycle hooks. With MCP, Grafbase makes it straightforward to turn any GraphQL API into a fully functional MCP server with minimal setup and straightforward configuration.

Details

Owner
grafbase
Language
Rust
License
Mozilla Public License 2.0
Updated
2025-12-07

Features

MCP Integration

Built-in support for the Model Context Protocol to efficiently expose a GraphQL API as an MCP server with a few lines of configuration.

Federation v2 Native Support

Native support for Apollo Federation v2 spec and the upcoming Composite Schemas spec, enabling scalable federated graphs.

Rust-powered Gateway

Ultra-low latency and memory efficiency for enterprise-scale GraphQL federation.

Extensions via WebAssembly

Customize authentication, authorization, request lifecycle, and connect arbitrary data sources using WASM extensions.

Schema Governance Platform

Composition checks, breaking change detection, and approval workflows with schema proposals in the control plane.

Branch Environments Platform

Schema versioning and branch-aware development environments managed in the control plane.

Observability

OpenTelemetry integration for logs, traces, and metrics across the gateway.

CLI & Gateway

Complete toolchain for development, deployment, and management of the Grafbase gateway.

Audience

DevelopersTurn GraphQL APIs into MCP servers with minimal config and rapid iteration.
Platform engineersOperate a self-hosted, governance-enabled MCP gateway with observability across environments.
Enterprise architectsDesign scalable, enterprise-grade federation and MCP deployments with governance and security controls.

Tags

MCP IntegrationModel Context ProtocolGraphQL FederationGatewayRustWebAssembly ExtensionsSelf-hostedObservabilityPerformanceData source integration