Fleet 1.13 is herePipeline orchestration, Brain daemon, and 136 agent templates.Read the release notes →
Fleet

MCP Integration

Fleet exposes 26 tools via the Model Context Protocol (MCP), enabling Claude Code and other MCP clients to manage your fleet programmatically.

Setup

1. Start the MCP Server

The MCP server communicates over stdio using JSON-RPC 2.0:

fleet mcp serve

2. Configure .mcp.json

Add this to your project root so Claude Code auto-discovers the server:

{
  "mcpServers": {
    "fleet": {
      "command": "fleet",
      "args": ["mcp", "serve"],
      "env": {}
    }
  }
}

How it works

When Claude Code starts, it reads .mcp.json, launches fleet mcp serve as a subprocess, and communicates via JSON-RPC 2.0 over stdin/stdout. All 26 tools appear as available tools in the Claude Code session. No network ports, no HTTP -- just stdio.

Operator Tools

18 tools for fleet management -- used by humans via Claude Code.

ToolDescription
fleet_statusGet fleet health summary with agent statuses
fleet_agent_listList all configured agents with current status
fleet_agent_startStart an agent by name
fleet_agent_stopStop a running agent
fleet_agent_detailGet detailed agent information
fleet_agent_outputRead recent output from an agent's tmux session
fleet_agent_budgetGet budget utilization for an agent
fleet_team_listList all configured teams
fleet_team_detailGet team details and member agents
fleet_logQuery unified fleet log with filters
fleet_pipeline_listList all pipeline definitions
fleet_pipeline_runStart a new pipeline run
fleet_pipeline_statusGet status of a pipeline run
fleet_pipeline_signalSignal stage completion for a pipeline run
fleet_fabric_eventsQuery fabric event bus
fleet_fabric_publishPublish an event to the fabric bus
fleet_task_assignAssign a task to a specific agent
fleet_evalRun evaluation scoring on an agent

Agent-Facing Tools

5 tools designed for agents to use during their autonomous runs.

ToolDescription
fleet_inboxCheck the agent's fabric inbox for messages
fleet_inbox_ackAcknowledge and process an inbox message
fleet_claimClaim a fabric event for processing
fleet_publish_decisionPublish a structured decision event
fleet_signal_completeSignal pipeline stage completion

Config Tools

3 tools for reading fleet configuration.

ToolDescription
fleet_config_showDisplay current fleet configuration
fleet_config_agentsList agent configurations from config files
fleet_config_pipelinesList pipeline configurations

Conversational Examples

With MCP configured, you can manage your fleet through natural conversation in Claude Code:

"Show me the fleet status"

Uses: fleet_status

Returns color-coded health summary of all agents, watchers, and pipelines.

"Start the frontend-dev agent and assign it the dark mode task"

Uses: fleet_agent_start + fleet_task_assign

Starts the agent in a tmux session, then dispatches the task with FLEET_TASK_TITLE.

"What has the QA team been doing in the last hour?"

Uses: fleet_log

Queries the unified fleet log filtered by team and time range.

"Run the deploy pipeline for the v1.13 release"

Uses: fleet_pipeline_run

Creates a new pipeline run, starts first-stage agents.

"Check if frontend-dev has any inbox messages"

Uses: fleet_inbox

Returns unread fabric inbox messages for the agent.

Protocol Details

Transport

JSON-RPC 2.0 over stdio (stdin/stdout). No HTTP server, no WebSocket, no network ports. The MCP client spawns fleet mcp serve as a child process and communicates via pipes.

Request Format

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fleet_agent_start",
    "arguments": {
      "name": "frontend-dev"
    }
  }
}

Response Format

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "Agent frontend-dev started successfully"
      }
    ]
  }
}

Discovery

The MCP server responds to tools/list with all 26 tool definitions including parameter schemas. Claude Code calls this automatically on startup to populate its tool list.