MCP is currently publicly available for the Momentic local app as of version
2.17.1 (recommended Momentic >= 2.17.2).
Overview
The MCP server provides AI models with access to your Momentic project through a set of specialized tools. These tools allow AI assistants to:- Browse and understand your test structure
- Create new tests with AI assistance
- Edit existing tests using natural language
- Manage test environments and configurations
- Access test and module information
Before you start
Local only: The desktop MCP server runs on your machine so remember to run the momentic application before trying to connect to the MCP server.IDE support: Use an editor that supports MCP (e.g., Cursor, Windsurf, Claude
Desktop, Codex, VS Code/Copilot).Project configured: Ensure your project has a valid
momentic.config.yaml
Step 1: Enable the MCP server
We support two different transport protocols currently on localhost:-
SSE Transport: Available in any version Momentic >= 2.17.1
-
Streamable HTTP Transport (newer standard): available in any version
Momentic >= 2.17.2
Step 2: Set up your MCP client
Make sure you have started the Momentic Application:Example configuration (used in Cursor as of 2025‑09‑19). This is an example and
may not work universally across VS Code–branched IDEs.Setup Steps:
- Open Cursor’s command palette (Cmd Shift P)
- Navigate to “View: Open MCP Settings” command
- Add the momentic-mcp
- Restart the MCP server
Step 3: Use tools in your IDE
- Verify you have started the Momentic application
- Verify the MCP server appears in your IDE (e.g., Copilot Agent mode → Tools)
- Try a simple action (e.g., list tests) to confirm connectivity
- If tools don’t appear, restart both the IDE and the Momentic desktop server
Security considerations
- Local Only: The MCP server is designed for local development only
- No Authentication: Currently no authentication is required for local access
- Session Management: Sessions are automatically cleaned up on disconnection
- Resource Access: MCP tools have access to your local file system and project data
Example Usage:
Full Chat Stream Example: Creating and Editing a YC Website Test
Full Chat Stream Example: Creating and Editing a YC Website Test
User Request:AI Response:I’ll help you create a new test for the YC website and then edit it according to
your specifications. Let me start by creating the test and then loading its data
to edit it.Creates TODO list:
Final Result: ✅ Created “demo-test” for YC website ✅ Implemented complete
user flow with proper assertions ✅ Test validates team size visibility and
content changes between tabs ✅ Ready to execute with 7 comprehensive test stepsThe AI successfully:
- Create a new test called demo test for the YC website [in_progress]
- Load the full data of the created test [pending]
- Edit the test to implement the specified flow [pending]
momentic_test_create
momentic_test_create
Parameters:Result: Successfully created test with ID
391f065b-48f3-4548-ab15-079543fa69e0
momentic_test_get
momentic_test_get
Parameters:Result: Retrieved test configuration with empty steps array
momentic_test_edit
momentic_test_edit
Parameters:Result: Test successfully updated with 7 automated steps:
- Navigate to https://www.ycombinator.com
- Click on “Companies” tab in navigation
- Verify companies list is displayed
- Click on DoorDash company profile
- Assert team size (8600) is visible
- Click on “Jobs” tab
- Assert detailed company description is not visible on jobs page
- Created a new test with appropriate configuration
- Loaded and analyzed the test structure
- Converted natural language requirements into specific test steps
- Chose DoorDash as the major brand company example
- Added proper assertions for team size visibility and content validation
- Generated executable test steps ready for automation
Best practices
- Start Desktop Server: Always start your Momentic app before connecting MCP
- Project Context: Ensure you’re in the correct project directory
- Prompting: While you will see success with unclear directions of how to edit a test, using step by step descriptions will yield faster test edit times and steps closer to exactly what you are envisioning. We suggest keeping the amount of steps per edit_test tool call under 10.
- Session Management: Allow sessions to clean up properly by disconnecting cleanly
- Tool Safety: All of our tools other than edit test currently cannot do any harm or changes to your project (file creation or read only). Enabling these to auto run is safe. If you use the momentic_edit_test tool be sure you have tracked your changes to the test file it is editing as it will not ask you for permission for each change.
Available Tools
Environment Tools
List environments defined in the project’s momentic.config.yaml file.Usage: Returns a JSON array of all configured environments with their
settings and configurations.Parameters: NoneExample:
momentic_environment_list
- Returns all available test
environmentsModule Tools
List all modules in your project.Usage: Returns detailed information about each module including ID, name,
description, file paths, and metadata.Parameters: NoneExample:
momentic_module_list
- Returns all project modulesTest Tools
List all tests in your project.Usage: Returns comprehensive test information including metadata, labels,
and file paths.Parameters: NoneExample:
momentic_test_list
- Returns all project tests