MCP
Overview
bkend connects to AI tools through MCP (Model Context Protocol). When you issue natural language commands from an MCP-compatible AI tool, bkend automatically manages Database, Auth, and Storage for you.
MCP Server Information
Server URL
https://api.bkend.ai/mcp
Protocol Version
2025-03-26
Transport
Streamable HTTP
Authentication
OAuth 2.1 + PKCE
Message Format
JSON-RPC 2.0
Available Tools
Fixed Tools
These tools handle session context and documentation search.
API Tools
These tools directly manage your backend. They all use the backend_ prefix.
REST API Code Generation
Auth, Storage, and Data CRUD do not have dedicated MCP tools. Instead, use search_docs to find implementation guides, then generate REST API code.
⚠️ MCP tools control management functions (table schemas, projects, environments, etc.). They are different from the REST API used for app user data. For REST API integration, see Integrating bkend in Your App.
Complete Tool List
Resources
MCP Resources let you query the current state in read-only mode through the bkend:// URI schema.
Organization
bkend://organizations/{organizationId}
Organization details
Organization List
bkend://organizations
List of Organizations
Project
bkend://projects/{projectId}
Project details
Project List
bkend://projects
List of projects
Environment
bkend://environments/{environmentId}
Environment details
Environment List
bkend://environments
List of environments
Table
bkend://tables/{tableId}
Table details
Table List
bkend://tables
List of tables
For details, see MCP Resources.
Permissions (Scopes)
These are the permissions granted during MCP integration.
Organization
✅
-
-
-
Project
✅
✅
✅
✅
Environment
✅
✅
-
✅
Table Schema
✅
✅
✅
✅
Table Data
✅
✅
✅
✅
Access Token
✅
-
-
-
Quick Start
For the full setup guide, see Setup.
Next Steps
Setup — Install and authenticate your AI tool
Usage — Prompt examples and best practices
MCP Protocol — Protocol specification details
OAuth 2.1 Authentication — Authentication flow and token management
Context —
get_contextandsearch_docsdetailsProject Tools — Organization, project, and environment management
Table Tools — Table, field, and index management
Code Generation — REST API code generation for Auth, Storage, Data
Resources — MCP resource URIs
API Reference — Complete tool schemas
Hands-on Project Cookbooks — Build real app backends with MCP
Reference Standards
Last updated