Skip to main content
Glama

testmo-mcp server

A Model Context Protocol (MCP) server for the Testmo test management platform. Lets AI assistants like Claude navigate your Testmo projects, test cases, runs, results, milestones, and more through natural language.

Features

Tools

The server exposes a set of tools that mirror the Testmo web UI:

Tool

Description

search_cases

Search and filter test cases in a project

browse_folders

Browse the folder tree of a project

get_cases_details

Get full details for a list of case IDs

list_manual_runs

List manual test runs with milestone, config, and user data

get_manual_run_results

Get test results for a specific manual run

list_milestones

List milestones with filtering options

list_sessions

List exploratory test sessions

list_automation_runs

List automation runs for a project

list_automation_sources

List automation sources for a project

Locked-project mode

Set PROJECT_ID in your .env to lock the server to a single project. The project_id parameter is then pre-filled on all tools, so the AI doesn't need to ask for it.

Related MCP server: Testmo MCP Server

Requirements

  • Python 3.11+

  • A Testmo account with API access

  • uv (recommended) or pip

Installation

From PyPI

pip install testmo-mcp

Or with uv:

uv tool install testmo-mcp

From source

git clone https://github.com/omarromdhane/testmo-mcp.git
cd testmo-mcp
uv sync

Configuration

Create a .env file (copy from .env.example):

cp .env.example .env

Then fill in your credentials:

TESTMO_URL=https://your-instance.testmo.net
TESTMO_API_KEY=your_api_key_here

# Optional: lock the server to a specific project
# PROJECT_ID=123

To get your API key: log in to Testmo → Settings → API Keys → Create API Key.

You can also pass all settings as environment variables directly without a .env file.

Usage

Run the server directly:

testmo-mcp

Or with a specific .env file:

testmo-mcp --env-file /path/to/.env

Available flags:

--env-file PATH       Path to .env file
--log-level LEVEL     DEBUG | INFO | WARNING | ERROR | CRITICAL (default: INFO)
--version, -V         Show version and exit

Claude Desktop

Add the server to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

If installed via pip / uv tool

{
  "mcpServers": {
    "testmo": {
      "command": "testmo-mcp",
      "env": {
        "TESTMO_URL": "https://your-instance.testmo.net",
        "TESTMO_API_KEY": "your_api_key_here"
      }
    }
  }
}

Example prompts

List all test cases in project 42 that were updated in the last week
Show me the folder structure of project 42
Get details for test cases 101, 102, and 103
List all failed results in run 88
Show me all open milestones for project 42
List automation runs for project 42

Development

Setup

git clone https://github.com/omarromdhane/testmo-mcp.git
cd testmo-mcp
uv sync --group dev
cp .env.example .env  # fill in your credentials

Run with MCP Inspector

uv run mcp dev src/dev.py

Linting

uv run ruff check src/
uv run ruff format src/

Contributing

Issues and pull requests are welcome. Please open an issue first for significant changes.

License

MIT

Available Tools

9 tools
browse_foldersB

Browse the folders in a project.

Inputs: project_id (required), page, per_page.

get_cases_detailsB

Get detailed information about multiple test cases.

Inputs: case_ids (required), project_id (required).

get_manual_run_resultsC

Get results of test cases for a manual run.

Inputs: run_id (required), page, sort, order, +6 more.

list_automation_runsC

List the automation runs in a project.

Inputs: project_id (required), page, sort, tags, +10 more.

list_automation_sourcesC

List the automation sources in a project.

Inputs: project_id (required), page, sort, order, +2 more.

list_manual_runsC

List the manual runs in a project.

Inputs: project_id (required), page, sort, tags, +11 more.

list_milestonesC

List the milestones in a project.

Inputs: project_id (required), page, sort, order, +11 more.

list_sessionsC

List the sessions in a project.

Inputs: project_id (required), page, sort, tags, +13 more.

search_casesC

Search for cases in a project with advanced filtering options.

Inputs: project_id (required), page, sort, order, +10 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct Testmo resource or action: cases, folders, manual runs, run results, milestones, sessions, automation runs, and automation sources. The only mild overlap is search_cases versus get_cases_details, but one is for filtering/search and the other for retrieving details of known cases, which is a clear distinction.

    Naming Consistency4/5

    The tools consistently use snake_case verb-first names such as list_manual_runs, list_sessions, and search_cases. Minor deviations exist in get_cases_details (plural 'cases_details') and browse_folders instead of a list/get verb, but the pattern remains readable and predictable.

    Tool Count5/5

    Nine tools is well within the typical 3-15 range and fits the read-oriented Testmo exploration scope. Each listed tool maps to a distinct resource or result view without obvious filler.

    Completeness2/5

    The surface is entirely read-only: it can search and inspect cases, folders, runs, milestones, sessions, and automation sources, but has no create, update, delete, or result-recording operations. For a test management domain, this leaves major lifecycle gaps that would block common agent workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact with TestRail test management systems through comprehensive API integration. Supports retrieving and updating test cases, projects, suites, runs, and results, plus adding attachments and managing test data through natural language commands.
      18
      29 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Testmo test management platform for creating, reading, updating, and deleting test cases, managing folders, and organizing test runs through natural language.
      4
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables AI assistants to interact directly with TestRail instances for managing test projects, suites, cases, runs, results, plans, milestones, and attachments through the TestRail API with secure authentication.
      77
      65 npm
      1
      MIT