Test a running app with Mo
Connect your coding agent to the hosted Momentic MCP athttps://mcp.momentic.ai for sessions on deployed apps and PRs. Give it your
target, scope, sign-in steps, test-data rules, and expected behavior.
Use the qa CLI and mo-qa skill only when Mo
needs a tunnel to a local or private target. Mo runs in the
cloud with either connection and does not require YAML test files.
Create repository tests
For web tests, paste this prompt into your coding agent. It checks your existing setup, installs missing tools, writes one test against your app, and runs it. You provide the app URL, test account, and expected behavior when asked.Copy the setup prompt
Copy the setup prompt
Review the first test
Review the generated YAML diff and confirm the assertions match the behavior you asked for. Open the run URL the agent returns, check that the run passed, and inspect the screenshot at the assertion step. Resolve a failed or blocked run and rerun the test before adding it to CI.Install the tools yourself
Use these commands to configure an existing project manually. The setup prompt above checks for these tools and installs them when needed.1
Install the MCP server
The MCP server gives the agent a live browser or device and tools to browse,
edit, run, and triage tests. Pass
install-mcp detects the coding agents on your
machine and writes the config for each one.--client to pick agents and --scope user to write your user config
instead of the project config. See the MCP page
for manual setup per client.2
Install the skills
Skills are markdown instructions that tell the agent how to use the MCP
tools and the Momentic test format. The command writes skill files to your agent’s skills directory and adds a
pointer block that lists this CLI’s skills to its instructions file. After
an upgrade, the CLI asks once whether to refresh them. See Coding agent skills for the
directories and flags.
momentic ships the web skills, and
momentic-mobile ships the mobile skills.Skills and the MCP server
The skills explain the test format and authoring workflow. The MCP server lets the agent inspect your app and try steps while it writes a test. If MCP is unavailable, the setup prompt uses the CLI to validate and run YAML files. Themo-qa skill runs Mo sessions through the hosted MCP server, and through the
qa CLI for localhost and private targets.
Invoke a skill by name in your prompt, for example
/momentic-test write a test for checkout. See
Use the skills for the skill list and
more examples.
Use repository instructions
If you use an agent without the skills or MCP server, add these instructions toAGENTS.md, CLAUDE.md, or .cursor/rules. You still need the Momentic CLI to
validate and run the tests: