Skip to main content
Use the machine configuration sections below to add the Momentic MCP and Momentic mobile MCP to Devin. Paths use Devin’s Ubuntu user home (/home/ubuntu).

Step 1: Update dependencies

Add the following commands to the Update dependencies section of your machine configuration. They install the Momentic skills and the browsers and tooling needed by the Momentic (web) MCP.
npx -y [email protected] add momentic-ai/skills --all
npx -y momentic install-browsers chrome chromium ffmpeg
If your repo already installs momentic as part of its dependency install, use npx momentic instead. It will use the version installed in your repo.

Step 2: Setup repo prompt

Click Setup repo, then paste this into Devin’s interactive setup chat:
Configure this repo so future Devin sessions can use Momentic MCP.

Figure out the right place in the repo setup to run these commands at startup:

mkdir -p "$HOME/android-sdk" && curl -sSL -o /tmp/platform-tools.zip https://dl.google.com/android/repository/platform-tools-latest-linux.zip && unzip -q -o /tmp/platform-tools.zip -d "$HOME/android-sdk" && rm /tmp/platform-tools.zip

npx -y [email protected] add momentic-ai/skills --all

Set ANDROID_HOME to /home/ubuntu/android-sdk and make sure adb is available from /home/ubuntu/android-sdk/platform-tools. Set JAVA_HOME to Devin's Java install.

Find where Momentic should run in this project by reading momentic.config.yaml and checking the CI scripts if they are present. Use the browser docs at https://docs.momentic.ai/browsers to decide which browsers this project needs. From that directory, run this once:

npx -y momentic install-browsers chrome chromium ffmpeg

When creating or modifying Momentic tests, use the test creation and manipulation skills under .agents/skills. When investigating previous Momentic results, use the result classification skill under .agents/skills.

Step 3: Configure MCP servers

Add the MCP server entry in Devin’s MCP servers configuration for each platform you want to use. Use momentic for web tests and momentic-mobile for mobile tests. Both use the STDIO transport. The config path below uses the location where the Momentic monorepo is cloned on the Devin machine. Replace it with the absolute path to your project’s momentic.config.yaml.
  • Transport type: STDIO
  • Command: npx
  • Arguments (one per row):
-y
momentic
mcp
--config
/home/ubuntu/repos/[path to your momentic yaml]
--api-key
$MOMENTIC_API_KEY
--daemon
--headful-browser
false
The --daemon flag keeps MCP session tools alive across stdio calls by routing through a local daemon. --headful-browser false disables the visible browser UI inside the Devin VM. For the full list of available flags, see the mcp command reference.

Verify

Start a new Devin session in the configured repository and ask the agent which MCP servers are available. It should list each server you configured, and you should see tools whose names start with momentic_ (for example momentic_get_initial_data, momentic_session_start). If tools don’t appear, re-check the MCP arguments and confirm that MOMENTIC_API_KEY is set where Devin starts the MCP server.