Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MCP overview

Flock exposes stigmergy and harness tools via flock mcp (stdio CLI) and live episodes (flock run --mcp).

Start the server

flock mcp

Wire your MCP client to stdin/stdout JSON-RPC (same surface as cargo run -p flock-mcp).

Quick tool list

ToolDescription
flock_discover_toolsBrowse tool domains
flock_search_toolsKeyword search
flock_describe_toolFull schema for one tool
flock_deposit_signalDeposit stigmergic signal
flock_read_blackboardRead blackboard slot
flock_topology_snapshotHarness topology JSON
flock_multiplexer_statusDashboard statusline
flock_propose_mutationTopology mutation (governed)

Full catalog with live-column and governance notes: MCP tools.

Operational tools in LIVE_TOOL_NAMES are available on flock run --mcp (see crates/flock-runtime/src/mcp/registry.rs).

Live episode example

{
  "mcp_tools": [
    {
      "tool": "flock_deposit_signal",
      "args": { "zone": "grid", "signal": "coordination", "amount": 2.0 }
    }
  ]
}

Governance pre/post hooks apply on the MCP hot path when --mcp is set.

Editor integration