Skip to main content
Use your coding agent to start Mo sessions against a running app or to create and maintain repository tests. Mo produces a session report. Repository tests are YAML files you review and run in CI.

Test a running app with Mo

Install the qa CLI and the mo-qa skill in your repository:
Authenticate with qa login or MOMENTIC_API_KEY, then invoke the skill with your target and scope:
The skill asks for missing sign-in steps, test data, and expected behavior, starts a hosted session, and exports the report. Mo does not require an MCP installation or YAML test files. See the Mo quickstart, Mo skill, and Mo CLI.

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.
For mobile, use the setup prompt in the iOS or Android quickstart. It also asks for your app build before creating a test.

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. install-mcp detects the coding agents on your machine and writes the config for each one.
Pass --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. momentic ships the web skills, and momentic-mobile ships the mobile skills.
The command writes the skill files to your agent’s skills directory and adds a short pointer to 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 the qa 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 to AGENTS.md, CLAUDE.md, or .cursor/rules. You still need the Momentic CLI to validate and run the tests: