Skip to main content

MCP Server

@bossmode/mcp-server is a stdio Model Context Protocol server. It exposes BossMode’s full surface — directives, approvals, reports, packs, devices, AvatarCzar — as MCP tools. Drop it into any MCP-aware host: Claude Desktop, Claude Code, Continue, Cursor, Zed, and others. Reach for MCP when an AI agent is the caller and you want it to operate BossMode natively: reading context, queuing directives, and executing approved work without going through the web UI. Every destructive tool returns a { status: "pending_approval", approvalId, expiresAt } envelope — execution happens only when an operator approves via MCP, CLI, TUI, or the web workspace.

Install in Claude Desktop

Add the following to your claude_desktop_config.json (usually at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

Install in Claude Code

Then set your token:

Install in Cursor

Open Cursor Settings → MCP and add:

Install in Continue

In your ~/.continue/config.json:

Environment variables

Tool catalog

The following 27 tools are sourced directly from packages/bossmode-mcp-server/src/tools.ts.

Context & read tools

Pack lifecycle tools

Device tools

Work & revenue tools

Directive & approval tools

Report & packet tools

Family tools

Guardian tools

First call — a three-step walkthrough

Once the MCP server is wired into your host, the canonical flow an agent runs is:
  1. Read the brief. Call bossmode:get-context first. It returns the full consigliere brief in one round-trip: signals, active work packets, standing orders, the revenue ledger, audit feed, guardian state, and persona. Every other tool flows from what you read here.
  2. Queue a directive. Call bossmode:directive:create with a clear intent in plain language ("draft the weekly brief for Tuesday and post to #founders"). You get back { directiveId, status: "pending_approval", approvalId }.
  3. Approve and execute. Call bossmode:directive:approve with the approvalId. The operator layer executes the directive, writes a work packet, and the next bossmode:get-context will show the packet + the execution audit row.
Destructive tools (bossmode:guardian:kill, bossmode:packs:install, etc.) use the same approval envelope. If you’re building an agent that should be able to act autonomously within a budget, pair the MCP tools with a standing order that pre-approves the scope.

Token scope + rotation

MCP tokens are workspace-scoped. They authenticate the agent to the workspace they’re bound to; they don’t grant cross-workspace access. Rotate from Settings → API Keys — old tokens invalidate immediately.

Troubleshooting

  • BOSSMODE_TOKEN is not set — env var missing. See each host section above for where to set it.
  • Invalid token — your token was rotated. Regenerate from Settings → API Keys.
  • Tool call hangs — your host may not accept stdio. Check host-specific MCP debug logs. Set BOSSMODE_MCP_TELEMETRY=1 to get per-tool latency on stderr.