界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

bkend-quickstart

bkend-quickstart

【开发与工程】bkend.ai onboarding — MCP setup, resource hierarchy, tenant/user model, first project. Triggers: bkend quickstart, bkend onboarding, bkend setup, bkend MCP

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: bkend-quickstart classification: capability classification-reason: Pattern guidance may overlap with model's built-in knowledge as it improves deprecation-risk: medium effort: medium description: | bkend.ai onboarding — MCP setup, resource hierarchy, tenant/user model, first project. Triggers: bkend quickstart, bkend onboarding, bkend setup, bkend MCP user-invocable: false agent: bkit:bkend-expert allowed-tools:

  • Read
  • WebFetch
  • mcp__bkend__* imports:
  • ${PLUGIN_ROOT}/templates/shared/bkend-patterns.md

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:

我的收藏