Logo : Bkend Mcp

Bkend Mcp

Organisation
ww-w-ai
bkend-mcp

bkend.ai MCP tools and AI integration expert skill. Covers 28 MCP tools (Fixed 3 + Project 6 + Table 9 + Data CRUD 5 + Env 3 + Schema 2), 4 MCP resources, OAuth 2.1 + PKCE authentication, and AI tool setup for Gemini CLI, Claude Code, and Cursor. Triggers: mcp, ai tool, mcp setup, backend tool, bkend mcp, MCP 설정, MCP 도구, AI 도구, MCP接続, MCP設定, AIツール, MCP连接, MCP设置, AI工具, herramientas MCP, configuracion MCP, outils MCP, configuration MCP, MCP-Werkzeuge, MCP-Einrichtung, strumenti MCP, configurazione MCP Do NOT use for: authentication implementation (use bkend-auth), database queries (use bkend-data), file storage (use bkend-storage)

Présentation

Éditeurww-w-ai
Dépôtbkit-gemini
Nom de la compétencebkend-mcp
Étoiles
66
Forks
16
Fichiers inclus
Instructions uniquement
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par ww-w-ai sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Bkend Mcp dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/ww-w-ai/bkit-gemini/tree/main/skills/bkend-mcp
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ww-w-ai/bkit-gemini.git /tmp/bkit-gemini
mkdir -p .claude/skills
cp -r /tmp/bkit-gemini/skills/bkend-mcp .claude/skills/bkend-mcp
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Bkend Mcp dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Bkend Mcp dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Bkend Mcp n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

bkend-mcp: MCP Tools & AI Integration Expert Skill

1. MCP Overview

The Model Context Protocol (MCP) is an open standard that enables AI models to interact with external tools and data sources through a unified interface. bkend.ai implements MCP to provide AI-powered development workflows.

Protocol Specification

PropertyValue
ProtocolMCP 2025-03-26
TransportStreamable HTTP
AuthenticationOAuth 2.1 + PKCE
Server URLhttps://api.bkend.ai/mcp
Content Typeapplication/json
Session HeaderMcp-Session-Id

How It Works

  1. The AI client (Gemini CLI, Claude Code, Cursor, etc.) connects to the MCP server
  2. The server advertises available tools and resources
  3. The AI model invokes tools on behalf of the user
  4. The server executes operations and returns structured results
  5. OAuth 2.1 + PKCE ensures secure, user-authorized access

2. MCP Tool Catalog (28 Tools)

bkend.ai exposes 28 MCP tools organized into 6 categories. Each tool follows the MCP tool schema with name, description, and inputSchema properties.

2.1 Fixed Tools (3)

These tools are always available regardless of project context.

Tool NameDescriptionParameters
get_contextReturns current session context including org, project, environment, and user infoNone
search_docsSearches bkend.ai documentation by topic or keywordquery (string, required), category (string, optional)
get_operation_schemaReturns the OpenAPI schema for a specific REST API operationoperationId (string, required)

Usage Notes:

  • Always call get_context first to verify your session is properly authenticated
  • Use search_docs to find REST API documentation for Auth and Storage features (no MCP tools available for these)
  • Use get_operation_schema to get detailed request/response schemas for code generation

2.2 Project Management Tools (6)

Tools for managing organizations, projects, and environments.

Tool NameDescriptionParameters
backend_org_listLists all organizations the user belongs toNone
backend_project_listLists all projects in the current organizationorgId (string, required)
backend_project_createCreates a new projectorgId (string, required), name (string, required), description (string, optional)
backend_project_getGets project detailsprojectId (string, required)
backend_env_listLists environments for a projectprojectId (string, required)
backend_env_createCreates a new environment (dev/staging/prod)projectId (string, required), name (string, required), type (enum: dev/staging/prod)

Usage Notes:

  • Start with backend_org_list to get the orgId
  • Then use backend_project_list or backend_project_create to set up project context
  • Each project can have multiple environments with isolated data

2.3 Table Management Tools (9)

Tools for defining and managing database table schemas.

Tool NameDescriptionParameters
backend_table_listLists all tables in the environmentenvId (string, required)
backend_table_createCreates a new table with fieldsenvId (string, required), name (string, required), fields (array, required)
backend_table_getGets table schema detailsenvId (string, required), tableId (string, required)
backend_table_updateUpdates table settingsenvId (string, required), tableId (string, required), settings (object, required)
backend_table_deleteDeletes a table and all its dataenvId (string, required), tableId (string, required)
backend_field_manageAdds, updates, or removes fields on a tableenvId (string, required), tableId (string, required), action (enum: add/update/remove), field (object, required)
backend_index_manageManages indexes on a tableenvId (string, required), tableId (string, required), action (enum: create/delete), index (object, required)
backend_schema_version_listLists schema versions (migration history)envId (string, required), tableId (string, required)
backend_schema_version_getGets a specific schema versionenvId (string, required), tableId (string, required), versionId (string, required)

Field Types:

  • string, number, boolean, date, datetime
  • text (long text), richtext (HTML content)
  • email, url, phone
  • enum (with options array)
  • relation (with targetTable and relationType)
  • file (stored in bkend Storage)
  • json (arbitrary JSON object)

2.4 Data CRUD Tools (5)

Tools for creating, reading, updating, and deleting records in tables.

Tool NameDescriptionParameters
backend_data_listLists records with filtering and pagingenvId (string, required), tableId (string, required), filter (object, optional), sort (object, optional), page (number, optional), limit (number, optional)
backend_data_getGets a single record by IDenvId (string, required), tableId (string, required), recordId (string, required)
backend_data_createCreates a new recordenvId (string, required), tableId (string, required), data (object, required)
backend_data_updateUpdates an existing recordenvId (string, required), tableId (string, required), recordId (string, required), data (object, required)
backend_data_deleteDeletes a recordenvId (string, required), tableId (string, required), recordId (string, required)

Filter Syntax:

json
{
  "filter": {
    "field": "status",
    "operator": "eq",
    "value": "active"
  }
}

Supported Operators: eq, ne, gt, gte, lt, lte, in, nin, contains, startsWith, endsWith, exists

Sort Syntax:

json
{
  "sort": {
    "field": "createdAt",
    "order": "desc"
  }
}

2.5 Environment Tools (3)

Included in Project Management above: backend_env_list, backend_env_create, plus:

Tool NameDescriptionParameters
backend_env_getGets environment details and configurationenvId (string, required)

2.6 Schema Tools (2)

Included in Table Management above: backend_schema_version_list, backend_schema_version_get.

These tools provide migration history and rollback capabilities for table schemas.


3. MCP Resources (4)

MCP resources provide read-only contextual data that AI models can access without explicit tool calls.

Resource URIDescriptionMIME Type
bkend://contextCurrent session context (org, project, env)application/json
bkend://tablesList of all tables in the current environmentapplication/json
bkend://schema/{table}Full schema definition for a specific tableapplication/json
bkend://docs/{topic}Documentation content for a specific topictext/markdown

Resource Usage:

  • Resources are automatically available to AI models that support MCP resource reading
  • Use bkend://context to understand the current working environment
  • Use bkend://tables to discover available data structures
  • Use bkend://schema/{table} to get detailed field definitions before data operations
  • Use bkend://docs/{topic} to retrieve documentation (topics: auth, storage, rls, api-keys, webhooks)

4. Auth & Storage MCP Limitation

Important: bkend.ai does NOT provide MCP tools for Authentication or Storage operations. These features are accessible only through the REST API.

Why No MCP Tools?

  • Authentication operations (signup, login, token management) involve sensitive credentials and security flows that are better handled through direct REST API calls with proper error handling
  • Storage operations (file upload, download, signed URLs) require binary data transfer that is not well-suited for the MCP tool protocol

Recommended Workflow

  1. Use search_docs to find the relevant REST API documentation:
    search_docs("authentication signup")
    search_docs("storage file upload")
  2. Use get_operation_schema to get the detailed OpenAPI schema:
    get_operation_schema("auth-signup")
    get_operation_schema("storage-upload")
  3. Generate REST API client code based on the retrieved documentation and schemas
  4. Use the generated code in your application to call the REST API directly

Auth REST API Endpoints (Reference)

EndpointMethodDescription
/auth/signupPOSTRegister a new user
/auth/loginPOSTLogin with credentials
/auth/logoutPOSTInvalidate session
/auth/refreshPOSTRefresh access token
/auth/meGETGet current user profile
/auth/password/resetPOSTRequest password reset
/auth/password/changePOSTChange password

Storage REST API Endpoints (Reference)

EndpointMethodDescription
/storage/uploadPOSTUpload a file
/storage/download/{fileId}GETDownload a file
/storage/listGETList files in a bucket
/storage/delete/{fileId}DELETEDelete a file
/storage/signed-urlPOSTGenerate a signed URL

5. AI Tool Setup

5.1 Gemini CLI

Create or edit .gemini/settings.json in your project root:

json
{
  "mcpServers": {
    "bkend": {
      "httpUrl": "https://api.bkend.ai/mcp"
    }
  }
}

Verification:

bash
gemini --mcp-list

The first time you invoke a bkend tool, Gemini CLI will open your browser for OAuth authentication.

5.2 Claude Code

Create or edit .mcp.json in your project root:

json
{
  "mcpServers": {
    "bkend": {
      "type": "streamable-http",
      "url": "https://api.bkend.ai/mcp"
    }
  }
}

Verification:

bash
claude mcp list

Claude Code will automatically handle OAuth 2.1 + PKCE authentication when tools are first invoked.

5.3 Cursor

  1. Open Settings (Cmd/Ctrl + ,)
  2. Navigate to MCP section
  3. Click Add Server
  4. Configure:
    • Name: bkend
    • Type: HTTP
    • URL: https://api.bkend.ai/mcp
  5. Click Save

Cursor will prompt for OAuth authentication when MCP tools are first used.

5.4 Windsurf

Create or edit .windsurfrules or use the MCP configuration in settings:

json
{
  "mcpServers": {
    "bkend": {
      "serverUrl": "https://api.bkend.ai/mcp",
      "transport": "streamable-http"
    }
  }
}

5.5 VS Code (GitHub Copilot)

Add to .vscode/settings.json:

json
{
  "github.copilot.chat.mcpServers": {
    "bkend": {
      "type": "http",
      "url": "https://api.bkend.ai/mcp"
    }
  }
}

5.6 Other Editors

Any MCP-compatible editor can connect to bkend.ai using:

  • Transport: Streamable HTTP
  • URL: https://api.bkend.ai/mcp
  • Auth: OAuth 2.1 + PKCE (handled automatically by most clients)

6. OAuth 2.1 + PKCE Authentication Flow

Flow Overview

AI Client                    bkend.ai Auth Server              User Browser
   |                                |                               |
   |-- 1. Generate code_verifier -->|                               |
   |-- 2. Compute code_challenge -->|                               |
   |                                |                               |
   |-- 3. GET /oauth/authorize ---->|                               |
   |      ?client_id=...           |                               |
   |      &code_challenge=...      |                               |
   |      &code_challenge_method=S256                               |
   |      &redirect_uri=...        |                               |
   |      &response_type=code      |                               |
   |      &scope=mcp               |                               |
   |                                |-- 4. Show login page -------->|
   |                                |<-- 5. User authenticates -----|
   |                                |                               |
   |<-- 6. Redirect with auth code -|                               |
   |      ?code=AUTH_CODE           |                               |
   |                                |                               |
   |-- 7. POST /oauth/token ------->|                               |
   |      grant_type=authorization_code                             |
   |      code=AUTH_CODE            |                               |
   |      code_verifier=...         |                               |
   |                                |                               |
   |<-- 8. Access + Refresh tokens -|                               |
   |                                |                               |
   |-- 9. MCP requests with ------->|                               |
   |      Authorization: Bearer ... |                               |

Token Lifecycle

TokenLifetimeStorageRefresh Method
Access Token1 hourIn-memory (client)Exchange refresh token
Refresh Token30 daysSecure storageRe-authenticate

Token Refresh

When the access token expires, the MCP client automatically:

  1. Sends a POST /oauth/token request with grant_type=refresh_token
  2. Includes the refresh token in the request body
  3. Receives a new access token (and optionally a new refresh token)
  4. Retries the failed MCP request with the new access token

7. MCP Best Practices

7.1 Session Initialization

Always start by verifying your session context:

1. Call get_context -> verify org, project, and environment
2. Call backend_table_list -> understand available data structures
3. Proceed with specific operations

7.2 Schema-First Development

Create tables and define schemas via MCP before performing data operations:

1. backend_table_create -> define table with fields
2. backend_field_manage -> add/modify fields as needed
3. backend_index_manage -> create indexes for query performance
4. backend_data_create -> insert records

7.3 Documentation-Driven Code Generation

For Auth and Storage features (no MCP tools), use documentation tools:

1. search_docs("authentication login flow") -> get documentation
2. get_operation_schema("auth-login") -> get OpenAPI schema
3. Generate client code based on the schema

7.4 Environment Awareness

  • Always confirm which environment (dev/staging/prod) you are working in before making changes
  • Use get_context to verify the active environment
  • Create separate environments for development and production workflows

7.5 Batch Operations

  • Use filtering and pagination with backend_data_list for large datasets
  • Set appropriate limit values (default: 20, max: 100) to avoid excessive data transfer
  • Use sort to control the order of returned records

8. Common MCP Errors and Solutions

Connection Errors

ErrorCauseSolution
401 UnauthorizedExpired or missing access tokenRe-authenticate via OAuth flow
403 ForbiddenInsufficient permissions or RLSCheck API key type and RLS policies
404 Not FoundInvalid endpoint or resource IDVerify server URL and resource IDs
429 Too Many RequestsRate limit exceededWait and retry with exponential backoff
500 Internal Server ErrorServer-side issueRetry after a brief delay

Tool Invocation Errors

ErrorCauseSolution
tool_not_foundTool name is incorrectCheck tool catalog for exact names
invalid_paramsMissing or invalid parametersReview tool parameter requirements
env_not_setNo environment selectedCall get_context and set environment
table_not_foundTable does not existUse backend_table_list to verify
field_type_mismatchData type does not match schemaCheck field types with backend_table_get

Authentication Errors

ErrorCauseSolution
oauth_pkce_mismatchCode verifier does not matchRegenerate code_verifier and retry
oauth_code_expiredAuthorization code expiredRestart OAuth flow from the beginning
oauth_redirect_mismatchRedirect URI does not matchVerify redirect_uri matches registered value
refresh_token_expiredRefresh token (30d) expiredFull re-authentication required

Quick Reference Card

Essential Tool Sequence

get_context                          # 1. Verify session
backend_org_list                     # 2. List organizations
backend_project_list(orgId)          # 3. List projects
backend_table_list(envId)            # 4. List tables
backend_data_list(envId, tableId)    # 5. Query data

MCP Server Connection

URL:       https://api.bkend.ai/mcp
Transport: Streamable HTTP
Auth:      OAuth 2.1 + PKCE

Tool Count Summary

CategoryCountTools
Fixed3get_context, search_docs, get_operation_schema
Project Management6org_list, project_list/create/get, env_list/create
Table Management9table CRUD (5), field_manage, index_manage, schema_version (2)
Data CRUD5data_list/get/create/update/delete
Environment3env_list/create/get
Schema2schema_version_list/get
Total28

Foire aux questions

À quoi sert la compétence IA Bkend Mcp ?

bkend.ai MCP tools and AI integration expert skill. Covers 28 MCP tools (Fixed 3 + Project 6 + Table 9 + Data CRUD 5 + Env 3 + Schema 2), 4 MCP resources, OAuth 2.1 + PKCE authentication, and AI tool setup for Gemini CLI, Claude Code, and Cursor. Triggers: mcp, ai tool, mcp setup, backend tool, bkend mcp, MCP 설정, MCP 도구, AI 도구, MCP接続, MCP設定, AIツール, MCP连接, MCP设置, AI工具, herramientas MCP, configuracion MCP, outils MCP, configuration MCP, MCP-Werkzeuge, MCP-Einrichtung, strumenti MCP, configurazione MCP Do NOT use for: authentication implementation (use bkend-auth), database queries (use bkend-...

Pourquoi utiliser Bkend Mcp sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Bkend Mcp se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Bkend Mcp dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/ww-w-ai/bkit-gemini/tree/main/skills/bkend-mcp. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Bkend Mcp ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Bkend Mcp ?

Autant que vous le souhaitez. Vous pouvez utiliser Bkend Mcp avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Bkend Mcp est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par ww-w-ai sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇