Starts the Momentic MCP server over stdio so coding agents can author, run, and triage web tests. See the MCP integration guide for editor-specific setup.Documentation Index
Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Common flags
Authenticates the MCP server with Momentic APIs. Env:
MOMENTIC_API_KEY.Path to the
momentic.config.yaml file used to load project tests, modules,
and environments.Browser
Whether browser sessions launch with a visible UI (
true) or headless
(false). Defaults to true. Env: MOMENTIC_HEADFUL_BROWSER.Override the viewport device pixel ratio used for browser rendering. Defaults
to
2 on macOS Retina and 1 elsewhere.Record video of browser sessions by default. Defaults to
false. The output
directory path is returned when a session ends. Env: MOMENTIC_VIDEO.Caching
Always save updated step caches after successful sessions, even on protected
Git branches.
Disable step caches entirely. Sessions run without cached data and no caches
are saved.
Session
Idle timeout for MCP sessions in minutes. Defaults to
5. Sessions inactive
for this duration are terminated automatically. Env:
MOMENTIC_SESSION_IDLE_TIMEOUT_MINUTES.Create a persistent local daemon so browser sessions can be shared across
multiple MCP server invocations. The daemon’s working directory is set to the
parent of the config file, so MCP servers launched from different directories
share the same project home.
Examples
Start the MCP server using the project’smomentic.config.yaml: