Skip to Content
MCP

MCP

Connect quickly to Claude, Claude Code, or Codex

Already logged in (bee login)? Connect your assistant in one command:

bee mcp connect claude # Claude Desktop (one-click install) bee mcp connect claude-code # Claude Code (CLI) bee mcp connect codex # Codex

That’s it — your assistant can now read your Bee context (conversations, facts, todos, daily summaries) directly from this computer. Check or undo with bee mcp status / bee mcp disconnect <client>.

The only prerequisite is a prior bee login. If you are not signed in, connect stops early with Not logged in. Run "bee login" first.

What this is

The Bee CLI is also a Model Context Protocol  server, so assistants like Claude and Codex can read your Bee context — search conversations, look up facts and todos, fetch daily summaries — directly, with your data staying on your machine.

The server authenticates with your existing Bee login, so there is no extra token to manage for the connector path (stdio). The connected client launches the local Bee CLI, which signs in with your stored Bee credentials.

Connectors

Wire Bee into a specific assistant. connect claude generates a Claude Desktop one-click install package and opens it in Claude (click Install to finish); claude-code and codex register Bee directly with those clients.

bee mcp connect claude # Claude Desktop (one-click install) bee mcp connect claude-code # Claude Code (CLI) bee mcp connect codex # Codex bee mcp status # show what's connected bee mcp disconnect claude # remove (claude | claude-code | codex)

bee mcp status reports the launch command and which clients are connected. bee mcp disconnect <client> undoes a connection for claude, claude-code, or codex.

Transports

To run the server yourself — for another MCP client, or to debug — use one of the transports directly.

bee mcp serve

Stdio JSON-RPC 2.0. This is what the connectors launch under the hood; it uses your stored Bee login, so no token is required.

serve-http security. The HTTP transport requires an auth token:

  • Required, and at least 32 characters long.
  • Supplied with --token <value> or the BEE_MCP_HTTP_TOKEN environment variable.
  • Never printed by the CLI.
  • The server binds to 127.0.0.1 only and rejects non-localhost Host/Origin headers.
  • Clients authenticate with Authorization: Bearer <token>.

Generate a strong token with openssl rand -hex 32.

Tool catalog

Every read, search, and manage capability in the CLI is exposed as an MCP tool, so the CLI and your assistant work from the same data. The tools map closely to their CLI equivalents:

MCP toolCLI equivalent
bee_statusbee status
bee_searchbee search
bee_search_factsbee facts search
bee_list_factsbee facts list
bee_get_factbee facts get
bee_create_factbee facts create
bee_update_factbee facts update
bee_delete_factbee facts delete
bee_get_recent_activitybee activity
bee_get_todaybee today
bee_list_conversationsbee conversations list
bee_get_conversationbee conversations get
bee_get_conversation_transcriptbee conversations transcript
bee_get_related_conversationsbee conversations related
bee_get_daily_summarybee daily get / bee daily find <YYYY-MM-DD>
bee_list_daily_summariesbee daily list
bee_list_voice_notesbee journals list
bee_search_voice_notesbee journals search
bee_get_voice_notebee journals get
bee_list_todosbee todos list
bee_create_todobee todos create
bee_update_todobee todos update
bee_complete_todobee todos complete
bee_delete_todobee todos delete
bee_get_todo_suggestionsbee todos suggestions
bee_accept_todo_suggestionbee todos accept-suggestion
bee_dismiss_todo_suggestionbee todos dismiss-suggestion
bee_get_insightsbee insights list
bee_get_insightbee insights get
bee_get_location_clustersbee locations clusters
bee_get_recent_visitsbee locations recent
bee_get_current_locationbee locations current
bee_get_photosbee photos list
bee_get_photobee photos get

bee_search accepts query, limit, filter (all | conversations | daily | facts), sortBy (relevance | mostRecent), and mode (keyword | semantic), plus since and until (epoch milliseconds). The since/until time bounds apply in both keyword and semantic modes; filter and sortBy apply to keyword mode only.

See also

For a packaged, prompt-driven integration that bundles these capabilities for your agent, see the Bee Skill.

Last updated on