Skip to content
Agent Orchestration
Skill

/mcp

Connect ChatGPT, Claude or another MCP client to this bb, and list or disconnect the apps that have access.

BOOST
From plugin
bb
4.3k29 skills
Install
$ npx -y skills add get-bb/bb --skill mcp --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mcp

Context preview

The summary Claude sees to decide when to auto-load this skill.

Connect ChatGPT, Claude or another MCP client to this bb, and list or disconnect the apps that have access.

SKILL.md

mcp.SKILL.md
name: mcp
description: Connect ChatGPT, Claude or another MCP client to this bb, and list or disconnect the apps that have access.

bb MCP server

The MCP server plugin lets an MCP client control this bb. It is off by default. Turn it on in Settings → Plugins or with `bb plugin enable bb--mcp`.

Addresses

`bb mcp status [--json]` prints both addresses.

  • **Remote**: `https://<your bb connect address>/mcp`. This needs a signed-in bb account (`bb account login`) and bb connect. Add it as a custom connector in ChatGPT or Claude. The app sends you to a bb account page where you approve access for this bb.
  • **Local**: `http://127.0.0.1:<port>/api/v1/plugins/bb--mcp/http/mcp`. Apps on the same machine can use it without signing in. It has the same trust as the `bb` CLI on that machine. Requests from web pages are refused.

What approving an app grants

Access is all or nothing. An approved app can run any `bb` command: it can see everything in this bb, and it can start and message agents and open terminals, which run commands and change files on the machines this bb controls. Approve only apps you trust, and disconnect the ones you no longer use.

Connected apps

  • `bb mcp clients [--json]` lists the remote apps with access to this bb.
  • `bb mcp revoke <grant-id> [--json]` disconnects one. The app loses access within about a minute.

The bb account dashboard lists the same apps under Connected apps.

Tools the client sees

  • `search` finds `bb` commands for a task.
  • `read` runs a JavaScript snippet that can call only commands that inspect bb. It is marked read-only so the app can run it without asking you each time; it is not a separate permission.
  • `run` runs a JavaScript snippet that can call any `bb` command.

Snippets call `bb.cli([...argv])` or `bb.json([...argv])` and run in a sandbox on the bb server with no network or file access. A snippet is stopped after 25 seconds, after 3 seconds of computation, or when it runs out of its 64 MB of memory, and runs at most 4 `bb` commands at a time.

Three commands cannot run over MCP because they need an interactive terminal or never exit: `bb terminal attach`, `bb plugin dev`, and `bb browser watch`.

Protocol

The endpoint speaks MCP 2026-07-28 and also answers 2025-era clients. It is stateless: there are no sessions.

Read more
Ships withbb

bb is an agentic IDE that builds itself. It can control, customize, and automate itself, laying the groundwork for your own software factory. Every surface — the desktop app, web app, CLI, and HTTP API — is a first-class way to drive bb.

Get the whole plugin
Stats
4,323
Stars
644
Forks
Active
Maintenance
TypeScript
Language
MIT
License
2m ago
Last commit
7mo ago
Created
8d ago
Added

Repo: get-bb/bb

Other skills on bb.