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):
{
  "mcpServers": {
    "bossmode": {
      "command": "npx",
      "args": ["@bossmode/mcp-server@latest"],
      "env": {
        "BOSSMODE_TOKEN": "your-token-here"
      }
    }
  }
}

Install in Claude Code

claude mcp add bossmode npx @bossmode/mcp-server@latest
Then set your token:
claude mcp set-env bossmode BOSSMODE_TOKEN=your-token-here

Install in Cursor

Open Cursor Settings → MCP and add:
{
  "mcpServers": {
    "bossmode": {
      "command": "npx",
      "args": ["@bossmode/mcp-server@latest"],
      "env": {
        "BOSSMODE_TOKEN": "your-token-here"
      }
    }
  }
}

Install in Continue

In your ~/.continue/config.json:
{
  "mcpServers": [
    {
      "name": "bossmode",
      "command": "npx",
      "args": ["@bossmode/mcp-server@latest"],
      "env": {
        "BOSSMODE_TOKEN": "your-token-here"
      }
    }
  ]
}

Environment variables

VariableRequiredDescription
BOSSMODE_TOKENYesYour Pro API token from the BossMode workspace settings
BOSSMODE_API_URLNoOverride the BossMode API base URL (default: https://bossmode.ing)
BOSSMODE_LOCAL_DB_PATHNoOverride the local SQLite brain DB path
BOSSMODE_MCP_TELEMETRYNoSet to 1 to emit latency logs to stderr for each tool call

Tool catalog

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

Context & read tools

ToolDescription
bossmode:get-contextPull the full consigliere brief in one call — signals, work packets, standing orders, metrics, audit feed, guardian state, and AvatarCzar persona. Call this first.
bossmode:get-signalsRead the latest intelligence from the BossMode signal pipeline.
bossmode:get-work-packetsRetrieve the active work packets — the specific moves the engines have queued for the family to execute.
bossmode:get-skill-packPull a specific SOP from the BossMode skill library (CEO brief, Marketing capo brief, etc.).
bossmode:get-consigliere-skillPull the full consigliere SOP — the standing orders that define how the family runs while the boss is away.
bossmode:get-profileRead the boss’s BossMode operator profile — autonomy settings, connected engines, account tier, and consigliere configuration.
bossmode:get-metricsPull BossMode revenue and performance metrics.
bossmode:standing-orders:getRead the standing orders the boss left before stepping out.
bossmode:get-audit-feedRead the consigliere’s action log — every move made, every issue touched, every order executed.

Pack lifecycle tools

ToolDescription
bossmode:packs:listList available and installed BossMode packs.
bossmode:packs:installRequest installation of a BossMode pack. Returns pending approval.
bossmode:packs:activate-slotRequest activation of a pack slot with OCC-safe approval.
bossmode:packs:pauseRequest pausing a running pack. Returns pending approval.
bossmode:packs:resumeRequest resuming a paused pack. Returns pending approval.

Device tools

ToolDescription
bossmode:devices:listList BossMode devices known to the workspace profile.
bossmode:devices:pairRequest a one-time device pairing code. Returns pending approval.
bossmode:devices:revokeRequest device revocation. Returns pending approval.

Work & revenue tools

ToolDescription
bossmode:work-packetPull pending work for an MCP-hosted family member. Fetch, acknowledge, execute, post result.
bossmode:track-revenueLog a revenue event to the BossMode ledger. Requires boss confirmation before calling.
bossmode:ackAcknowledge a BossMode signal after acting on it. Requires boss confirmation before calling.

Directive & approval tools

ToolDescription
bossmode:directive:createPersist a boss directive. Becomes the provenance root for all subsequent comments, actions, and audit rows.
bossmode:directive:listList the boss’s directives, filterable by status.
bossmode:directive:submitSubmit a boss directive into the local operator approval queue. Returns pending approval.
bossmode:directive:approveApprove and execute a previously queued operator approval.
bossmode:directive:rejectReject a pending operator approval.
bossmode:directive:list-pendingList pending local operator approvals waiting for the boss.

Report & packet tools

ToolDescription
bossmode:report:readRead today’s or this week’s local operator receipt report.
bossmode:packets:listList local work packets visible to the operator.
bossmode:packet:getGet a single local work packet by id.

Family tools

ToolDescription
bossmode:family:spawnRegister the six fixed BossMode family roles in the local SQLite brain for OpenClaw, Claude Code, or Hermes.
bossmode:family:listList the locally registered BossMode family members for a customer.
bossmode:family:sendSend one assignment to a locally registered family member.
bossmode:family:closeClose or pause a locally registered family member without deleting the record.
family:issue:commentPost a comment to a work packet thread. The communication backbone for the family.

Guardian tools

ToolDescription
bossmode:guardian:killRequest the local Guardian kill switch. Requires confirm=CONFIRM_KILL and queues a pending approval.
bossmode:guardian:restoreRequest kill-switch restore. Queued for operator approval before state changes.

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.