# Grafbase — MCP server on mcp.ai > Connect your Grafbase account and use 28 tools for developer tools straight from your AI agent. Connect with your own API key. 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. By: mcp.ai · official Page: https://mcp.ai/grafbase ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_grafbase?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/grafbase/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/grafbase/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/grafbase/skill.md Postman collection (v2.1): https://mcp.ai/grafbase/postman.json ## Tools - grafbase_add_zitadel_redirect() — Add a redirect URI to Zitadel OAuth configuration in Grafbase. Use when you need to register a new redirect URI for OAuth flows with Zitadel identity provider. - grafbase_assign_team_role(role: string, team_id: string, member_id: string) — Tool to assign a role to a team member in Grafbase. Use this when you need to change a team member's role between MEMBER and ADMIN. ADMIN role grants team management privileges including adding/removi - grafbase_delete_api_key(key_id: string) — Delete an existing Grafbase API key (access token) by ID. Use after confirming the key ID via the List API Keys action. This action permanently revokes the API key's access. - grafbase_delete_audit_log(log_id: string) — Tool to delete a specific Grafbase audit log entry. IMPORTANT: Grafbase does not expose a public API to delete audit logs. Audit logs are read-only compliance records retained for 90 days and can only - grafbase_delete_extension(extension_id: string) — Tool to delete a Grafbase extension configuration by its unique ID. Note: Grafbase extensions are primarily configured via grafbase.toml configuration file and WebAssembly modules, not through a REST - grafbase_delete_mcp_server(server_id: string) — Tool to delete a Grafbase MCP server configuration by its unique ID. Note: Grafbase MCP is primarily configured via grafbase.toml configuration file, not through a REST API. This action attempts to de - grafbase_delete_schema(branch?: string, dry_run?: boolean, message?: string, graph_slug?: string, account_slug: string, subgraph_name: string) — Tool to delete a subgraph from a Grafbase federated graph. Use this when you need to remove a subgraph from the schema registry. The operation can be run as a dry run first to check if deletion would - grafbase_delete_schema_check(check_id: string) — Attempt to delete a schema check from the Grafbase platform. IMPORTANT LIMITATION: The Grafbase Platform API does not support deleting schema checks. Schema checks are immutable audit records that pro - grafbase_delete_team(team_id: string) — Tool to delete a team from the Grafbase organization. Use when removing a team that is no longer needed. This action permanently removes the team and its associated permissions. - grafbase_disable_mcp(reason?: string, dry_run?: boolean) — Disable the Model Context Protocol (MCP) server for a Grafbase project. MCP enables AI agents to query your GraphQL APIs using natural language. Use this action when you need to turn off MCP access to - grafbase_enable_mcp(reason?: string, dry_run?: boolean, enabled?: boolean, server_url?: string) — Enable the Model Context Protocol (MCP) server on a Grafbase gateway. MCP allows AI tools (like Cursor, Windsurf, VS Code) to explore and query your GraphQL API using natural language. This tool attem - grafbase_get_audit_log(log_id: string, organization_slug?: string) — Tool to retrieve a specific Grafbase audit log entry by searching organization activity. Note: Grafbase does not expose a direct API to fetch individual audit log entries by ID. This action queries or - grafbase_get_extension_by_name(name: string) — Tool to retrieve a Grafbase extension by its name. Returns detailed information including the extension's ID, name, versions, and ownership details. Use this when you need to look up an extension by n - grafbase_get_extension_version_by_name_and_version(version: string, extension_name: string) — Tool to retrieve details of a specific Grafbase extension version by name and version. Use when you need to query information about a particular version of an extension, including its creation date an - grafbase_get_federated_schema(branch?: string, graph_slug?: string) — Retrieves the composed federated graph schema from Grafbase in SDL format. Use this to inspect the unified schema after all subgraph schemas have been composed. Returns the full GraphQL SDL including - grafbase_get_invitation(invitation_id: string) — Tool to retrieve details about a specific Grafbase invitation by ID. Use when you need to check the status, email, or creation date of an invitation. - grafbase_get_notifications_inbox_messages() — Tool to retrieve notifications inbox messages for the authenticated Grafbase user. Returns all notification messages with counts of total and unread notifications. Use when you need to check for new n - grafbase_get_schema_check(check_id: string, graph_slug: string, account_slug: string) — Retrieve details of a specific schema check by its ID. This tool fetches comprehensive information about a schema validation check, including error details, git commit information, and approval status - grafbase_get_subgraph_schema(name: string) — Retrieves the GraphQL SDL schema for a specific subgraph by name. Use GRAFBASE_LIST_SUBGRAPHS first to discover available subgraph names. Returns the full schema definition including types, queries, m - grafbase_list_api_keys(last?: integer, after?: string, first?: integer, before?: string) — List all API keys (access tokens) for the authenticated Grafbase user. Uses the Grafbase Management API to retrieve access tokens with pagination support. - grafbase_list_audit_logs(after?: string, first?: integer, organization_slug?: string) — Tool to list audit logs for Grafbase organizations. Audit logs track organization member activity including graph management, team operations, access control changes, and configuration updates. Note: - grafbase_list_extensions() — Tool to list all extensions configured for a Grafbase project. Returns extensions from the project's configuration. Use to discover what extensions are installed in your Grafbase gateway. - grafbase_list_mcp_servers(check_health?: boolean) — Check MCP server configuration status for a Grafbase gateway. Grafbase MCP servers are configured via grafbase.toml files, not through a dynamic API. This tool checks if the MCP endpoint is accessible - grafbase_list_schema_checks(last?: integer, after?: string, first?: integer, before?: string, branch?: string, graph_slug: string, account_slug: string) — List schema checks for a Grafbase graph. This tool retrieves the history of schema validation checks that have been run against a specific graph. Schema checks help detect breaking changes before depl - grafbase_list_schemas(branch?: string) — Tool to list all schemas in the Grafbase schema registry. In Grafbase, the schema registry tracks published subgraphs in federated graphs. Each schema entry represents a subgraph with its name, endpoi - grafbase_list_subgraphs(branch?: string) — Tool to list published subgraphs in your Grafbase federated graphs. Use this to discover all subgraphs, their names, and endpoint URLs across your organizations. Optionally filter by branch name (e.g. - grafbase_mark_notifications_as_read(notification_ids: string[]) — Tool to mark Grafbase notifications as read. Use when you need to update the read status of one or more notifications in your notification inbox. - grafbase_remove_graph_owner(graph_id: string, owner_id: string) — Tool to remove an owner from a Grafbase graph. Use when you need to revoke ownership or access rights for a user or team on a specific graph. ## Example prompts - "What can I do in Grafbase?" - "Show me a summary of my Grafbase account" ## Links Docs: https://mcp.ai/docs/mcps/grafbase Website: https://mcp.ai/mcps/grafbase