Skip to content

Connect an agent over MCP

driga mcp serves read-only tools over stdio. Every response is the same schema-2 envelope as --json, and reading never acknowledges inbox items. The server cannot answer prompts, kill processes or remove anything; those actions exist only inside Driga’s own Chat, behind approval cards.

Keep the installed driga binary on the client’s PATH, and run the collector for history and merged fleet data. Without one, tools answer from a labelled one-shot snapshot.

Terminal window
claude mcp add --scope user driga -- driga mcp

Machine, project and time scopes are tool arguments, not server flags. Pass machine: "local" to read only this machine. driga mcp --snapshot forces one-shot reads without history.

Every tool takes limit (1–500, default 100), which bounds the total entries in a response including nested lists; truncated: true means some were left out.

ToolCLI equivalent
get_summarydriga summary
list_agents, get_agentdriga agents, driga agents show
get_flowdriga flow
list_projects, inspect_projectdriga projects, driga projects show
list_inboxdriga inbox
list_conflictsOverlaps in Flow and Projects
list_orphansdriga orphans
get_machine, list_machinesdriga machines show, driga machines
get_activityThe web Activity page
inspect_setupdriga doctor
list_cleanup_candidatesdriga cleanup list

Inputs and descriptions for every tool are in the MCP tools reference, generated from the server itself.