How to connect Grafbase to Claude

Connect Claude Web, Desktop and Cowork to Grafbase MCP. Retrieve the latest audit log entry, delete a specific api key by id, and more using natural language, with authentication handled for you.

Grafbase logoGrafbase
Api Key

Grafbase is a platform for building and scaling GraphQL APIs with edge caching and unified data access. It's designed to help you deliver fast, secure, and seamless APIs—all in one place.

28 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Grafbase account to Claude via Composio Connect, enabling it to retrieve the latest audit log entry, delete a specific API key by ID, get the current federated graph schema, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Grafbase with

Connecting Grafbase to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Grafbase account

Back in Claude, ask it to connect to Grafbase or give it any Grafbase-related task.

For example, ask Claude to:

  • "Retrieve the latest audit log entry"
  • "Delete a specific API key by ID"
  • "Get the current federated graph schema"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Grafbase account is ready to use.

What is the Grafbase Claude Connector, and what's possible with it?

The Grafbase MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, and more directly to your Grafbase account. It provides structured and secure access to your GraphQL API management, so your agent can perform actions like enabling or disabling MCP, managing API keys, retrieving schemas, and working with audit logs on your behalf.

  • Enable or disable MCP server: Instantly activate or turn off the Model Context Protocol for your Grafbase project, all by agent command.
  • API key management: Let your agent securely delete existing API keys to control and rotate access as needed.
  • Schema and federation management: Retrieve federated graph schemas or remove unwanted schemas for streamlined development workflows.
  • Audit log retrieval: Fetch specific audit log entries, giving your agent the power to surface key changes or events in your Grafbase environment.
  • Extension and server configuration cleanup: Delete extension configurations or obsolete MCP server setups to keep your backend lean and secure.

Troubleshooting

1. Why does Claude not use the Composio connector for Grafbase?

The connector can show as connected, but Claude must use it in each Grafbase conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Grafbase again.

2. Why does Claude show an MCP server error before Grafbase connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Grafbase.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Grafbase.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Grafbase authorization link not work?

The Composio connector is one server. Your Grafbase account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Grafbase connection.
  • Composio creates a fresh Grafbase authorization link.
  • Open that link in your browser and finish the Grafbase sign-in.

4. Why do Grafbase actions fail after they worked before?

The Grafbase connection can expire or lose permission.

  • Ask Claude to inspect the Grafbase connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Grafbase account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Grafbase.
  • If the action still fails with a permission error, check that the connected account has that permission in Grafbase itself.

5. How do I switch to a different Grafbase account?

Claude can manage the Grafbase connection for you.

  • Ask Claude to disconnect or delete the current Grafbase account.
  • Ask Claude to connect Grafbase again.
  • Open the new Composio authorization link for Grafbase.
  • Sign in with the other Grafbase account in the browser.
  • After the account connects, ask Claude to retry the Grafbase task.

6. Why is my Grafbase connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Grafbase connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Grafbase tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Grafbase.
TOOLS

Supported Tools

Every Grafbase action and event your agent gets out of the box.

Add Zitadel Redirect URI

Request addition of a Zitadel OAuth redirect in Grafbase using the authenticated context.

Assign Team Role

Tool to assign a role to a team member in Grafbase.

Delete Grafbase API Key

Delete a Grafbase API key (access token) by ID.

Delete Grafbase Audit Log

Tool to delete a specific Grafbase audit log entry.

Delete Extension

Attempt to delete a Grafbase extension configuration by its unique ID through the project API.

Delete MCP Server

Attempt to delete a Grafbase MCP server configuration by its unique ID through the project API.

Delete Grafbase Subgraph

Tool to delete a subgraph from a Grafbase federated graph.

Delete Schema Check

Query a Grafbase schema check by ID and return information about the check or an API error.

Delete Grafbase Team

Tool to delete a team from the Grafbase organization.

Disable MCP Server

Attempt to disable the Model Context Protocol (MCP) server for a Grafbase project through its API.

Enable Grafbase MCP Server

Attempt to enable MCP on a Grafbase gateway via its API, returning manual configuration guidance if the endpoint is unsupported or unreachable.

Get Grafbase Audit Log

Search accessible Grafbase organization members by user ID, name, email, or role, optionally scoped to an organization.

Get Extension by Name

Tool to retrieve a Grafbase extension by its name.

Get Extension Version By Name And Version

Tool to retrieve details of a specific Grafbase extension version by name and version.

Get Federated Schema

Retrieves the composed federated graph schema from Grafbase in SDL format.

Get Grafbase Invitation

Retrieve details of a specific Grafbase invitation by ID, including its status, email address, and creation date.

Get Notifications Inbox Messages

Tool to retrieve notifications inbox messages for the authenticated Grafbase user.

Get Grafbase Schema Check

Retrieve a Grafbase schema check by ID within an account and graph, returning its error count, subgraph name and available Git commit information.

Get Subgraph Schema

Retrieve the GraphQL SDL schema for a subgraph by name.

List API Keys

List all API keys (access tokens) for the authenticated Grafbase user.

List Grafbase Audit Logs

List Grafbase organization member-join activity derived from organization membership data, with optional organization filtering.

List Extensions

List extensions returned by available Grafbase project REST endpoints.

List MCP Servers

Check a Grafbase gateway's presumed /mcp endpoint and provide configuration guidance.

List Grafbase Schema Checks

List schema checks for a Grafbase graph.

List Grafbase Schemas

Tool to list all schemas in the Grafbase schema registry.

List Grafbase Subgraphs

List published subgraphs and their endpoint URLs across Grafbase organizations, optionally filtering by branch name.

Mark Notifications as Read

Tool to mark Grafbase notifications as read.

Remove Graph Owner

Tool to remove an owner from a Grafbase graph.

FAQ

Frequently asked questions

Start with Grafbase.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Grafbase tool your agent needs.Free to start.

Start building