The explore agent (
momentic ai explore) is deprecated. Mo now does
the autonomous bug finding. Mo is in private beta, so sign
up to get onboarded. To write tests from a code diff,
use the MCP server with the momentic-spec
skill.Prerequisites
- Momentic CLI installed locally (MCP runs on your machine)
- A project with a valid
momentic.config.yaml - A
MOMENTIC_API_KEYavailable to the MCP process (most editors do not inherit your shell environment)
Setup instructions
The fastest path isinstall-mcp. It detects the coding agents on your machine
and writes the server entry into each one’s config. Use
momentic-mobile install-mcp for mobile projects; it registers a separate
momentic-mobile server, so web and mobile can live in the same config.
momentic install-mcp for
--client, --scope, and noninteractive use. The tabs below show the command
for each client and the manual config it writes.
Momentic’s MCP is a local stdio server. Every client ultimately runs one of
these commands:
Web
Mobile
momentic
with momentic-mobile in the command and use momentic-mobile as the server
name.
See momentic mcp and
momentic-mobile mcp for every
supported flag (headful browser, pixel ratio, daemon mode, etc.).
After the server is registered, restart the client and start a new chat. Ask the
agent which MCP tools are available. You should see momentic_* tools such as
momentic_get_artifacts. If they do not appear, fully restart the client.
- Claude Code
- Cursor
- VS Code
- Codex
- OpenCode
- Devin
- Other
claude mcp list. On native Windows, wrap with cmd /c:MOMENTIC_API_KEY via the CLI’s --env flag or by running the command
from a shell that already has it exported. See
Claude Code MCP docs
for scoping and auth options. Run /mcp to confirm the server is active.Example prompts
After the server is registered, ask the agent for work that needs a live browser or device:Usage tips
- Model: use the newest model your editor offers.
Highreasoning gives the best results;Mediumis about 20% faster with some quality loss. - Invoke the relevant skill by name when authoring, maintaining, or changing product behavior.
- Be specific in prompts. For exploratory runs, include a step limit.
- Let sessions terminate: the agent calls
momentic_session_terminateto close the browser. Hard-stopping your editor leaks browser processes. - Gitignore
.momentic-mcp/. MCP stores screenshots, videos, and traces there. - Long-running steps:
momentic_preview_step,momentic_preview_steps, andmomentic_run_stepwait 30 seconds by default, which you can change withtimeoutSeconds. Work that takes longer continues in the background and the tool returns astepRunnerId. Collect the result withmomentic_poll_runner, and pass its owntimeoutSeconds(0-30, default 0) to hold the poll open instead of busy-polling. Only one preview or run executes per session at a time.