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.
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:
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.
momentic (web)
momentic-mobile
- Transport type: STDIO
- Command:
npx
- Arguments (one per row):
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.
- Transport type: STDIO
- Command:
npx
- Arguments (one per row):
--java-home and --android-home set the paths the mobile CLI uses to
locate Java and adb. /usr/lib/jvm/java-17-openjdk-amd64 is the JDK
that ships on the Devin base image; /home/ubuntu/android-sdk is where
Step 2 installs Android platform tools. 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.