Usage & Prompt Guide

circle-info

💡 Learn how to use bkend MCP with natural language prompts in any AI tool.

Overview

Once your AI tool is connected to bkend MCP, you can manage your backend with natural language. Create projects, design tables, perform data CRUD, and generate API code — all from a single conversation.

circle-exclamation

Basic Patterns

Managing Projects

"Show me the list of projects connected to bkend"

"Check the status of the dev environment in the my-app project"

Creating Tables

"Create a users table in the dev environment.
I need name (string, required), email (string, required), and role (string) fields"

Performing Data CRUD


Advanced Patterns

Creating Multiple Tables at Once

Querying Data with Conditions

Viewing and Modifying Schemas


Using with Code

You can write code and manage bkend at the same time.

Generating TypeScript Interfaces

Generating REST API Code

Building Components


Writing Effective Requests

Be Specific

Specify Field Types


Session Context

When your AI tool first connects to bkend, it automatically calls the get_context tool. This tool returns:

Item
Description

Organization ID

The currently connected Organization

Project List

Accessible projects

API Endpoints

Available API information

Guidelines

Limitations and warnings

For details, see Context.


Troubleshooting

"Tool not found" error

The MCP connection may have dropped.

  1. Verify the bkend server is registered in your tool's MCP settings

  2. If it is not registered, add it again

  3. Restart your AI tool

Slow responses

  1. Check your network connection

  2. Verify that the environment status is Active in the bkend console

  3. When querying large datasets, add filter conditions


Next Steps

Last updated