Grafbase MCP Server
Connect Grafbase to your AI agents with the Grafbase MCP server.
Updated
What is Grafbase MCP?
The Grafbase MCP server is a Model Context Protocol server that connects Grafbase to AI agents and assistants as a set of tools. With it connected, an agent can work with Grafbase (graphql api platform) directly — instead of you copying data in and out by hand.
It is a remote MCP server that uses OAuth, so you point your client at the server URL, authorize once, and the Grafbase tools become available to the model.
Connect the Grafbase MCP server
Connect Grafbase MCP to Claude Code
- 1
Add the server
Use `claude mcp add` with the Grafbase MCP server URL (or its `npx` command), following the official docs.
- 2
Authorize
Complete authentication (OAuth) so Claude Code can call the server.
- 3
Verify
Ask Claude to use a Grafbase tool to confirm the connection is live.
Connect Grafbase MCP to Cursor
- 1
Open MCP settings
In Cursor, go to Settings → MCP → Add new server.
- 2
Add Grafbase
Provide the Grafbase MCP server URL or command and complete authentication.
- 3
Test
Reference Grafbase from chat to confirm Cursor can reach the tools.
Using Grafbase MCP with Gamut
On Gamut, the Grafbase MCP server becomes a tool your agents use inside an automated, event-driven workflow — triggered by an event or a schedule, acting through Grafbase and your other connected MCP servers, with the connection managed by Gamut rather than a local config file.
Frequently asked questions
What is the Grafbase MCP server?
It is a Model Context Protocol server that exposes Grafbase to AI agents as tools so they can work with it (graphql api platform).
How do I connect the Grafbase MCP server?
Point your MCP client (Claude, Cursor, or Gamut) at the Grafbase MCP server URL and complete authentication (OAuth). See the official documentation for the exact URL and scopes.
Can I use Grafbase MCP with Gamut?
Yes — Gamut supports the Grafbase MCP server, so your agents can use it as a tool in automated, triggered workflows.