mcpField
B
bkend-cookbook

bkend-cookbook

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

About bkend-cookbook

bkend-cookbook is a collection of bkend.ai application guides and troubleshooting references for developers building common app types. It includes examples at several levels, chapter-based project guides, and help with common errors.

Key features

  1. 01Examples for a range of app projects
  2. 02Four complete chapter-based guides
  3. 03Common implementation steps
  4. 04Error causes and suggested fixes
  5. 05Frequently encountered configuration issues

Use cases

  1. 01Follow a guide to build a blog or recipe app
  2. 02Plan development steps including auth and file uploads
  3. 03Troubleshoot authorization, rate-limit, or MCP connection errors

MCP support

The material covers troubleshooting failed MCP connections, including completing browser OAuth authentication and checking MCP connection status in Claude Code.

Install

Copy the command and run it in a terminal.

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

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

Details

From the project README

bkend.ai Cookbook & Troubleshooting

Single Project Guides

ProjectLevelKey Features
Todo AppBeginnerBasic CRUD, state management
Note AppBeginnerRich text, categories
BlogIntermediatePosts, tags, file upload
Chat AppIntermediateReal-time messaging
E-commerceIntermediateProducts, orders, payments
Booking SystemIntermediateReservations, calendar
Social FeedAdvancedPosts, follows, feeds
DashboardAdvancedCharts, analytics, roles
Multi-tenantAdvancedOrganization-scoped data
SaaS StarterAdvancedSubscriptions, billing, onboarding

Full Guide Projects (4, each with quick-start + 7 chapters)

ProjectAuthCore CRUDFilesAdvancedAI
BlogEmail/SocialArticles, TagsImagesBookmarksAI summary
Recipe AppEmail/SocialRecipes, IngredientsPhotosMeal Plan, Shopping ListAI recommendations
Shopping MallEmail/SocialStores, Products, OrdersProduct imagesReviewsAI search
Social NetworkEmail/SocialProfiles, PostsMediaFollows, FeedsAI recommendations

Common Implementation Pattern

1. Auth setup (email + social login)
2. Core CRUD (main data tables)
3. File upload (images/media)
4. Advanced features (search, filters, relationships)
5. AI integration (recommendations, summaries)
6. Troubleshooting & optimization

Troubleshooting Quick Reference

ErrorCauseSolution
401 UnauthorizedToken expiredPOST /v1/auth/refresh
403 ForbiddenInsufficient permissionsCheck RBAC settings
404 Not FoundWrong path/IDVerify endpoint and environment
409 ConflictUnique field duplicateCheck duplicate data
429 Rate LimitRequest limit exceeded (100/h)Check Retry-After header
CORS ErrorDomain not registeredRegister in bkend console
MCP Connection FailedOAuth incompleteComplete browser auth
Schema ValidationBSON type mismatchCheck schema with backend_table_get

FAQ

QuestionAnswer
Table not visibleCheck environment (dev/staging/prod)
MCP tools not showingRun claude mcp list to verify connection
Social login not workingCheck Provider settings in console
File upload failsVerify size limits (image 10MB, video 100MB)
Slow queriesAdd indexes via backend_index_manage
Data not syncingCheck x-environment header matches

Official Documentation (Live Reference)

For the latest cookbook and troubleshooting, use WebFetch:

Comments

Markdown supported