Are you the author? Sign in to claim
Testmo-MCP
A Model Context Protocol (MCP) server that provides seamless integration with Testmo test management platform. Built with FastMCP, this server enables AI assistants to interact directly with your Testmo instance for test case management.
git clone https://github.com/filipljoljic/Testmo-MCP.git
cd Testmo-MCP
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Set your Testmo credentials as environment variables:
export TESTMO_BASE_URL="https://your-instance.testmo.net"
export TESTMO_TOKEN="your_api_token_here"
Getting your API token:
python3 testmoMCP.py
The server will start and be ready to accept MCP connections from compatible AI assistants.
Add the following to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"testmo": {
"command": "python3",
"args": ["/path/to/Testmo-MCP/testmoMCP.py"],
"env": {
"TESTMO_BASE_URL": "https://your-instance.testmo.net",
"TESTMO_TOKEN": "your_api_token_here"
}
}
}
}
Add to your Cursor MCP settings:
{
"mcpServers": {
"testmo": {
"command": "python3",
"args": ["/path/to/Testmo-MCP/testmoMCP.py"],
"env": {
"TESTMO_BASE_URL": "https://your-instance.testmo.net",
"TESTMO_TOKEN": "your_api_token_here"
}
}
}
}
| Tool | Description |
|---|---|
list_projects | List all projects to find project IDs |
get_project_templates | Get available templates for a project |
get_project_folders | List folders within a project |
get_milestones | Get milestones for a project |
| Tool | Description |
|---|---|
create_test_case | Create a new test case with steps |
create_test_case_with_steps_json | Create test case with JSON-formatted steps |
create_test_case_raw | Create test case with raw JSON payload |
get_test_case | Get details of a specific test case |
list_test_cases | List test cases in a project |
update_test_case | Update an existing test case |
delete_test_cases | Delete one or more test cases |
| Tool | Description |
|---|---|
create_folder | Create a new folder for organizing test cases |
| Tool | Description |
|---|---|
list_test_runs | List test runs in a project |
create_manual_test_run | Create a manual test run (note: limited API support) |
| Tool | Description |
|---|---|
debug_api_test | Test API connectivity and view configuration |
Using natural language with an AI assistant:
"Create a test case called 'User Login Flow' with steps to navigate to login, enter credentials, and verify successful login"
The assistant will use the create_test_case tool with:
project_id: 1
title: "User Login Flow"
description: "Verify user can successfully log in to the application"
steps: "1. Navigate to login page | Expected: Login page loads
2. Enter valid credentials | Expected: Fields accept input
3. Click Login button | Expected: User is logged in and redirected to dashboard"
"Show me all available Testmo projects"
The assistant will call list_projects and return:
Found Projects:
ID: 1 | Name: Web Application | Active: True
ID: 2 | Name: Mobile App | Active: True
"Create a folder called 'Authentication' in project 1, then create a test case inside it"
# First creates folder
create_folder(project_id=1, name="Authentication")
# Then creates test case in that folder
create_test_case(project_id=1, folder_id=<new_folder_id>, title="Login Test", ...)
This MCP server integrates with the Testmo REST API v1. Key endpoints used:
GET /api/v1/projects - List projectsPOST /api/v1/projects/{id}/cases - Create test casesGET /api/v1/projects/{id}/cases - List test casesPATCH /api/v1/projects/{id}/cases - Update test casesDELETE /api/v1/projects/{id}/cases - Delete test casesGET /api/v1/projects/{id}/folders - List foldersPOST /api/v1/projects/{id}/folders - Create foldersWhen creating test cases, use these priority IDs:
| ID | Priority |
|---|---|
| 1 | Low |
| 2 | Medium |
| 3 | High |
| 4 | Critical |
Estimates are specified in minutes:
| Value | Duration |
|---|---|
| 15 | 15 minutes |
| 60 | 1 hour |
| 480 | 8 hours (1 day) |
TESTMO_BASE_URL is correct (should be like https://your-instance.testmo.net)debug_api_test tool to diagnose connectivity issuesproject_id (use list_projects first)template_id using get_project_templatesfolder_idMake sure to:
get_project_templates"1. Step description | Expected: expected result"Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows