Skip to main content
Coding agents write better Momentic tests when they know the file format, the MCP tools, and the steps for each job. You have three options, from most to least capable. Each one is a single command or a paste.
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, momentic-mobile ships the mobile skills, and mo ships the Mo skill. Each CLI asks once when a newer version is available.
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.
3

Ask the agent to set up your project

Paste this prompt into your agent once the tools are installed. It creates the config and a first test, and it checks that the MCP server answers.

Which skill does what

Invoke a skill by name in your prompt, for example /momentic-test write a test for checkout. See Invoke the skill for more examples.

If you install nothing

Agents without the skills still do well when your repository rules point them at the docs. Paste this block into AGENTS.md, CLAUDE.md, or .cursor/rules: