MCP Overview
The Model Context Protocol lets external AI clients securely build and manage your B6AI bots.
What is MCP
The Model Context Protocol (MCP) is an open standard for connecting AI applications to external tools and data. B6AI ships a hosted MCP server, `b6ai-bot-builder`, so AI clients like Claude, ChatGPT, Codex and Gemini can build and manage bots in your workspace.
You connect a client once. From then on you can describe what you want, for example "create a support bot for a shoe store that handles order status and refunds", and the client authors a complete bot with intents, utterances and flows.
Why use MCP with B6AI
MCP turns any capable AI client into a bot-building interface for B6AI. Instead of clicking through the visual builder, your team can draft and iterate on bots conversationally, then refine the result in Bot Builder. It is the fastest way to go from an idea to a working bot.
How it works
B6AI exposes a secure MCP endpoint. The client authenticates as you (OAuth 2.0 through B6AI’s identity provider), discovers the available tools, and calls them on your behalf. The server itself contains no bot-building logic, it maps tool calls onto B6AI’s bot APIs, so bots built via MCP follow exactly the same rules as bots built in the UI.
AI Client ⇄ B6AI MCP Server (b6ai-bot-builder) ⇄ Bots · Intents · KnowledgeWhat you can do
The `b6ai-bot-builder` server exposes tools for the whole bot lifecycle.
| Capability | What it does |
|---|---|
| Create a bot from a definition | The client authors a complete bot definition; B6AI validates and saves it. Preferred, no server-side LLM needed. |
| Generate a bot from a prompt | B6AI generates the bot from a one-line description. Fallback when the client cannot author a full definition. |
| Manage intents & utterances | Add and refine the phrases and intents that drive understanding. |
| Manage knowledge | Attach the content a bot answers from. |
Supported clients
B6AI provides a step-by-step guide for every supported client.
| Client | Transport | Guide |
|---|---|---|
| Claude Code | Remote MCP (HTTP) | Connect with Claude Code |
| Claude AI | Remote MCP connector | Connect with Claude AI |
| ChatGPT | Remote MCP connector | Connect with ChatGPT |
| Codex | MCP (config file) | Connect with Codex |
| Gemini | Remote MCP | Connect with Gemini |
Security
Every connection is authorized through B6AI’s identity provider (Keycloak / OAuth 2.0). The client acts with your identity and role, so it can only do what you can do. Connections can be revoked at any time from your workspace.
Next steps
Pick your client from the sidebar under Model Context Protocol to finish setup.