How to connect Grafbase to Claude Cowork

Cowork is Anthropic's AI agent for knowledge work. Think of it as Claude Code for everything else. It works autonomously with your computer, local files, and applications to accomplish complex tasks. This guide walks you through the easiest and most secure way to connect your Grafbase account to Cowork 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.

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

Cowork is Anthropic's AI agent for knowledge work. Think of it as Claude Code for everything else. It works autonomously with your computer, local files, and applications to accomplish complex tasks.

This guide walks you through the easiest and most secure way to connect your Grafbase account to Cowork 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.

Also integrate Grafbase with

Connecting Grafbase to Claude Cowork

1. Open Customize

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

2. Add the Composio MCP server

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

3. 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 Cowork

4. Connect your Grafbase account

Back in Cowork, ask the agent to connect to Grafbase or give it any Grafbase-related task.

For example, ask Cowork 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 Cowork, and your Grafbase account is ready to use.

What is Claude Cowork?

Claude Cowork is Anthropic's agent for general knowledge work. It can use your computer, files, and connected applications to complete longer-running tasks across your work tools.

With Composio Connect, Cowork can securely access apps like Grafbase through MCP without you sharing account credentials directly with the agent.

What is the Grafbase MCP server, 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.
TOOLS

Supported Tools

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

Add Zitadel Redirect URI

Add a redirect URI to Zitadel OAuth configuration in Grafbase.

Assign Team Role

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

Delete Grafbase API Key

Delete an existing Grafbase API key (access token) by ID.

Delete Grafbase Audit Log

Tool to delete a specific Grafbase audit log entry.

Delete Extension

Tool to delete a Grafbase extension configuration by its unique ID.

Delete MCP Server

Tool to delete a Grafbase MCP server configuration by its unique ID.

Delete Grafbase Subgraph

Tool to delete a subgraph from a Grafbase federated graph.

Delete Schema Check

Attempt to delete a schema check from the Grafbase platform.

Delete Grafbase Team

Tool to delete a team from the Grafbase organization.

Disable MCP Server

Disable the Model Context Protocol (MCP) server for a Grafbase project.

Enable Grafbase MCP Server

Enable the Model Context Protocol (MCP) server on a Grafbase gateway.

Get Grafbase Audit Log

Tool to retrieve a specific Grafbase audit log entry by searching organization activity.

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

Tool to retrieve details about a specific Grafbase invitation by ID.

Get Notifications Inbox Messages

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

Get Grafbase Schema Check

Retrieve details of a specific schema check by its ID.

Get Subgraph Schema

Retrieves the GraphQL SDL schema for a specific subgraph by name.

List API Keys

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

List Grafbase Audit Logs

Tool to list audit logs for Grafbase organizations.

List Extensions

Tool to list all extensions configured for a Grafbase project.

List MCP Servers

Check MCP server configuration status for a Grafbase gateway.

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

Tool to list published subgraphs in your Grafbase federated graphs.

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

With a standalone Grafbase MCP server, the agents and LLMs can only access a fixed set of Grafbase tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Grafbase and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Grafbase tools.

Yes, absolutely. You can configure which Grafbase scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Grafbase data and credentials are handled as safely as possible.

Start with Grafbase.It takes 30 seconds.

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

Start building