# Grafbase

> Grafbase is a platform that accelerates the development of GraphQL APIs, offering features like edge caching, unified data access, and seamless integratio…

Grafbase is a platform that accelerates the development of GraphQL APIs, offering features like edge caching, unified data access, and seamless integration with popular authentication strategies.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Grafbase** authenticates with an API key. Generate the credential in your Grafbase account, then paste it into FlyMyAI the first time an agent uses a Grafbase action.

[Get your Grafbase credential →](https://grafbase.com/docs/platform/api)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Project Subdomain` | The subdomain of your Grafbase project, used to construct the base URL for API requests. _(required)_ |
| `Grafbase API Key` | The API key provided by Grafbase for authenticating requests. It is specific to your Grafbase project environment. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `GRAFBASE_DELETE_API_KEY` | Tool to delete an existing API key. Use after confirming the key ID to revoke access. | `key_id` |
| `GRAFBASE_DELETE_AUDIT_LOG` | Tool to delete a specific Grafbase audit log entry. Note: As of current Grafbase public documentation, there is no documented API to delete audit logs programmatically. This action will attempt a best-effort REST DELETE to '/audit-logs/(id)' and, if unsupport… | `log_id` |
| `GRAFBASE_DELETE_EXTENSION` | Tool to delete an extension configuration. Use after confirming the extension_id to remove the extension. | `extension_id` |
| `GRAFBASE_DELETE_MCP_SERVER` | Tool to delete a Grafbase MCP server configuration by its unique ID. Use after confirming the server ID to remove an existing MCP server. | `server_id` |
| `GRAFBASE_DELETE_SCHEMA` | Tool to delete a Grafbase schema. Use when you need to remove a specific schema from the registry after confirming its ID. | `schema_id` |
| `GRAFBASE_DELETE_SCHEMA_CHECK` | Tool to delete a Grafbase schema check. Use when you need to remove a specific schema check by its ID after reviewing the registry. | `check_id` |
| `GRAFBASE_DISABLE_MCP` | Tool to disable the Model Context Protocol server. Use when you need to turn off MCP via API after it has been enabled. | - |
| `GRAFBASE_ENABLE_MCP` | Tool to enable the Model Context Protocol (MCP) server for a Grafbase project. Use when you need to activate MCP support; if the API endpoint is not supported, this returns guidance for enabling via configuration. | - |
| `GRAFBASE_GET_AUDIT_LOG` | Tool to retrieve a specific Grafbase audit log entry. Use after confirming the audit log ID exists. | `log_id` |
| `GRAFBASE_GET_FEDERATED_SCHEMA` | Tool to retrieve the composed federated graph schema. Use after deploying your federated graph when you need the full SDL. | - |
| `GRAFBASE_GET_SCHEMA_CHECK` | Tool to retrieve the result of a schema check by its ID. Use when you need to inspect a specific schema check after running a check via CLI or API. | `check_id` |
| `GRAFBASE_GET_SUBGRAPH_SCHEMA` | Tool to retrieve the GraphQL SDL of a specific subgraph. Use after confirming the subgraph name to inspect its schema. | `name` |
| `GRAFBASE_LIST_API_KEYS` | Tool to list all API keys for a project. Use after authenticating with a valid token to retrieve the project’s API keys. | - |
| `GRAFBASE_LIST_AUDIT_LOGS` | Tool to list all audit logs for a project. Use when you need to retrieve historical events (up to 90 days). Note: As of current Grafbase public documentation, there is no documented API to list audit logs programmatically. This action will attempt a best-effo… | - |
| `GRAFBASE_LIST_EXTENSIONS` | Tool to list all extensions configured for a Grafbase project. Use after confirming project access when retrieving configured extensions programmatically. | - |
| `GRAFBASE_LIST_MCP_SERVERS` | Tool to list all MCP servers configured for a project. Use when you need to retrieve existing MCP server configurations. | - |
| `GRAFBASE_LIST_SCHEMAS` | Tool to list all Grafbase schemas. Use when you need to retrieve all schemas in the registry. | - |
| `GRAFBASE_LIST_SCHEMA_CHECKS` | Tool to list all Grafbase schema checks for a project. Use when you need to review past schema validation runs. | - |
| `GRAFBASE_LIST_SUBGRAPHS` | Tool to list published subgraphs in a branch. Use when you need to retrieve endpoints of all subgraphs for a given branch. | - |

## Links

- [Grafbase website](https://grafbase.com)
- [Get API key / credential](https://grafbase.com/docs/platform/api)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
