Emulators: Remote emulators cannot be shown headfully with the current
MCP. Local emulators must run headful (visible UI).
Options
| Setting | Flag | Environment variable | Description |
|---|---|---|---|
| Momentic API key | --api-key <key> | MOMENTIC_API_KEY | Authenticates the MCP server with Momentic APIs. |
| Config file path | -c, --config <path> | — | Points to the momentic.config.yaml file used to load project tests, modules, and environments. |
| Android SDK root | --android-home <path> | ANDROID_HOME | Sets ANDROID_HOME for the current MCP process. |
| Java home | --java-home <path> | JAVA_HOME | Sets JAVA_HOME for the current MCP process. |
| Session idle timeout | --session-idle-timeout-minutes <minutes> | MOMENTIC_SESSION_IDLE_TIMEOUT_MINUTES | Idle timeout for MCP sessions in minutes. Sessions inactive for this duration are terminated automatically. Defaults to 5 minutes. |
--api-key <key>
Momentic API key.
-c, --config <path>
Path to the momentic.config.yaml file. Required when run from an MCP client;
use an absolute path so the server can resolve it correctly.
--session-idle-timeout-minutes <minutes>
Session idle timeout in minutes. MCP sessions that remain idle for this duration
are automatically terminated. Defaults to 5 minutes. Can also be set via the
MOMENTIC_SESSION_IDLE_TIMEOUT_MINUTES environment variable.
--android-home <path>
Path to the Android SDK root. This sets ANDROID_HOME for the current MCP
process.
--java-home <path>
Path to the Java home directory. This sets JAVA_HOME for the current MCP
process.