mcpField
B
bkend-quickstart

bkend-quickstart

github.com/ww-w-aiDevelopment60641 installsUpdated 4w ago
Repository

About bkend-quickstart

bkend-quickstart is a guide for setting up bkend.ai, an MCP-based backend platform, with Claude Code. It covers OAuth connection, project and environment management, and available MCP tools and resources.

Key features

  1. 01Claude Code MCP setup
  2. 02OAuth 2.1 with PKCE
  3. 03Organization and project management
  4. 04Environment management
  5. 05Cached read-only resources
  6. 06First-table setup checklist

Use cases

  1. 01Connect Claude Code to bkend.ai
  2. 02Create and inspect projects and environments
  3. 03Find documentation and tool schemas
  4. 04List tables and their schemas

MCP support

The guide connects Claude Code to bkend.ai at https://api.bkend.ai/mcp using HTTP transport and OAuth 2.1 with PKCE. It describes management tools and read-only resources for organizations, projects, environments, and tables.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ww-w-ai/bkit-claude-code --skill bkend-quickstart

After installing, type/bkend-quickstartin Claude Code to confirm it loaded.

Details

From the project README

bkend.ai Quick Start Guide

What is bkend.ai

MCP-based BaaS platform providing Database, Authentication, and Storage services. Manage backend via natural language from AI tools (Claude Code, Cursor).

Resource Hierarchy

Organization (team/billing) -> Project (service unit) -> Environment (dev/staging/prod, data isolation)

Tenant vs User

  • Tenant: Service builder (OAuth 2.1 auth, MCP/Management API access)
  • User: App end-user (JWT auth, Service API access)
  • One person can have both roles

MCP Setup (Claude Code)

Quick Setup (One Command)
claude mcp add bkend --transport http https://api.bkend.ai/mcp
Step-by-Step Guide
  1. Prerequisites: bkend.ai account (signup at https://console.bkend.ai)
  2. Run setup command: claude mcp add bkend --transport http https://api.bkend.ai/mcp
  3. OAuth authentication: Browser auto-opens for OAuth 2.1 + PKCE auth (no API key needed)
  4. Verify connection: Ask "Show my connected bkend projects" or use get_context MCP tool
  5. Create .mcp.json (optional, for team sharing):
    {
      "mcpServers": {
        "bkend": {
          "type": "http",
          "url": "https://api.bkend.ai/mcp"
        }
      }
    }
    
Troubleshooting MCP Connection
ProblemSolution
OAuth popup not appearingCheck browser popup blocker
MCP tools not visibleRun claude mcp list to verify, re-add if needed
Connection lostRe-authenticate (automatic on next MCP call)
Wrong project/envUse get_context to check current session

MCP Fixed Tools

ToolPurpose
get_contextSession context (org/project/env, API endpoint)
search_docsSearch bkend documentation
get_operation_schemaGet tool input/output schema

Searchable Guides (via search_docs)

Doc IDContent
1_conceptsBSON schema, permissions, hierarchy
2_tutorialProject~table creation tutorial

MCP Project Management Tools

ToolPurposeKey Parameters
backend_org_listList organizationsNone
backend_project_listList projectsorganizationId
backend_project_getGet project detailorganizationId, projectId
backend_project_createCreate projectorganizationId, name, description?
backend_project_updateUpdate projectorganizationId, projectId, name?, description?
backend_project_deleteDelete project (irreversible!)organizationId, projectId
backend_env_listList environmentsorganizationId, projectId
backend_env_getGet environment detailorganizationId, projectId, environmentId
backend_env_createCreate environmentorganizationId, projectId, name

MCP Resources (Read-Only)

Lightweight, cached (60s TTL) read-only queries via bkend:// URI:

URIDescription
bkend://orgsOrganization list
bkend://orgs/{orgId}/projectsProject list
bkend://orgs/{orgId}/projects/{pId}/environmentsEnvironment list
bkend://orgs/{orgId}/projects/{pId}/environments/{eId}/tablesTable list with schema

Tip: Prefer Resources over Tools for listing operations (lighter, cached).

First Project Checklist

  1. Sign up at bkend.ai -> Create Organization
  2. Create Project -> dev environment auto-created
  3. Connect MCP -> claude mcp add bkend
  4. Create first table -> "Create a users table"
  5. Start data operations -> CRUD via natural language

Console URL

https://console.bkend.ai

Next Steps

  • Database operations: refer to bkend-data skill
  • Authentication: refer to bkend-auth skill
  • File storage: refer to bkend-storage skill
  • Practical tutorials: refer to bkend-cookbook skill

Official Documentation (Live Reference)

For the latest bkend documentation, use WebFetch:

Comments

Markdown supported