Agents & MCP
Coding agents run a lot of commands on your behalf. Mochi gives them a proper interface to your workflows, and keeps the record of what they ran.
Connect an external agent
mochi mcp starts a Model Context Protocol server over stdio. Point Claude Code, Cursor, or any MCP client at it:
{
"mcpServers": {
"mochi": { "command": "mochi", "args": ["mcp"] }
}
}An agent can only run tasks from workspaces you trust. See Workspace Trust.
Chat inside Mochi
Chat in the desktop app (Home or Chats) and mochi ai chat need no setup. The model gets the same tools an external agent does, limited by the tool tier you allow.
See what an agent ran
Every run an agent starts is recorded alongside your own. On the Runs page, the Origin column names the client that ran it (Claude Code, Cursor, Mochi's own chat), and the Agent runs tab lists only those. Filter History by Source: CLI, Desktop or Agent (MCP), or by client and session.
When an agent's run fails, open it and ask Mochi to diagnose it.