Install
1
Sign in
Hosts start
holo mcp in the background, where it cannot open a browser sign-in, so sign in once from a terminal first:2
Add the server to your hosts
antigravity, claude-code, claude-desktop, codex, copilot, cursor, grok-build, hermes, openclaw, opencode, vscode, vscode-insiders, windsurf.3
Restart the host
The entry uses your saved key, and the host picks it up on restart.
tool_timeout_sec = 1800 under [mcp_servers.holo] in ~/.codex/config.toml.
The entry it writes
The entry it writes
For Cursor and other hosts with a config file, the entry is:
Settings you add by hand
Settings you add by hand
Apps launched from the Dock or Start menu do not inherit shell exports, so set environment variables in the host’s MCP
env block. For local sessions on your own model server, add HAI_AGENT_RUNTIME_BASE_URL and HAI_AGENT_RUNTIME_MODEL there.Claude Code, Codex, and Grok Build drop these settings when you run holo mcp install again, so add them back afterwards.Check it works
Restart the host, then ask:The host cannot find or start holo
The host cannot find or start holo
- Run
holo mcp install list, thenholo mcp install <host-id>again. - For Claude Code, run
claude mcp get holo. - Run
holo whoami. The key must come from~/.config/hai/.env, not only from your shell.
Tools
run_agent starts a session, reports each step to the host, and returns the answer. Its arguments mirror holo flags:
Your
~/.holo files apply to every session. The tool call blocks until the task completes or hits its budget, and the server runs one task at a time, so parallel calls wait.
The host cannot answer an approval. A run that holds a command ends and tells the host which one. Put the commands the task needs in the agent’s allowed_commands, or always allow them once from holo in a terminal.
Write a good task
The agent does not see the host conversation, so each task must say which app, workspace, account, and person, and when it is done. The server gives the host this rule too.Stop a session
Cancelling the tool call in the host cancels the session, but some hosts never send the cancel. For sessions on this machine, press Esc twice or runholo local stop (see Stop an agent). A session the user stopped tells the host not to retry.