Connect your coding agent
Tomacco's command-line tool, tomaccoctl, is also an MCP server. A coding agent
starts it as tomaccoctl mcp and talks to it over standard input and output. There is
no network port and no token. The agent then has the same 296 operations as the desktop app.
The short way
tomaccoctl setup agents
tomaccoctl setup agents status
tomaccoctl setup agents remove
Setup looks for the agents below. For each one it finds, it asks first, then adds a
tomacco entry. Other servers and settings in the file stay as they were. The
installer never changes an agent's settings; only tomaccoctl setup does.
What setup changes, per agent
- Claude Code and Codex: setup runs their own
mcp addcommand. - Gemini CLI:
~/.gemini/settings.json, undermcpServers. - Cursor:
~/.cursor/mcp.json, undermcpServers. - VS Code:
~/.config/Code/User/mcp.json, underservers. - Zed:
~/.config/zed/settings.json, undercontext_servers. - OpenCode: version 2 uses its own
opencode mcp add --globalwhen available, otherwisemcp.serversin its global config; version 1 usesmcp. - Grok CLI: the community
grok-devprogram,~/.grok/user-settings.json, undermcp.servers. - Hermes Agent:
$HERMES_HOME/config.yaml(normally~/.hermes/config.yaml), undermcp_servers. - omp:
~/.omp/agent/mcp.json, undermcpServers; its environment/profile can move this path.
When $XDG_CONFIG_HOME is set, it takes the place of ~/.config. A
file that setup cannot safely rewrite is left alone with a manual snippet. Existing disabled or conflicting entries stay unchanged. OpenCode 2's own command can retain JSONC comments. Changed files are backed up, written atomically and read back.
By hand
Register the absolute path of tomaccoctl:
claude mcp add --transport stdio --scope user tomacco -- "$(command -v tomaccoctl)" mcp
codex mcp add tomacco -- "$(command -v tomaccoctl)" mcp
Any other MCP client that can start a local stdio server works the same way: the command is
the path of tomaccoctl, and the one argument is mcp. Without MCP, an
agent can run tomaccoctl call OPERATION '{…}', which prints one JSON result.
Apps that drive these agents
Apps such as T3 Code start Claude Code, Codex, Cursor or OpenCode for you. Once setup has connected that agent, a session the app starts with it should have Tomacco's tools too. That follows from how T3 Code starts the agents; it has not been tried.
What has been tested
Fixture tests cover the ten adapters' file handling in scratch homes and speak MCP to the server each written entry starts. They preserve unrelated settings, disabled entries and unsafe-to-rewrite files. These checks do not claim that each real agent or paid model was run. The client matrix records exact upstream versions and limits.
Read more
Get the Tomacco agent skill: instructions and examples that teach your agent when and how to use Tomacco.
The repository's agent guide covers the full contract: jobs, errors, device input and the MCP resources and prompts. To have your agent install Tomacco for you, give it tomacco.dev/agent.