Test a running app with Mo
Install theqa CLI and the mo-qa skill in your repository:
qa login or MOMENTIC_API_KEY, then invoke the skill with
your target and scope:
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 the skill files to your agent’s skills directory and adds
a short pointer to
momentic ships the web skills, and
momentic-mobile ships the mobile skills.AGENTS.md or CLAUDE.md so the agent loads the right
skill before it writes Momentic code. The CLI asks once after an upgrade
whether to refresh them. See Coding agent skills
for the directories and flags.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. Mo sessions use theqa CLI and mo-qa skill.
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: