Testomatio MCP Server
OfficialEnables searching for tests linked to Jira issues using issue keys like 'JIRA-123' or 'PROJ-456', allowing integration between Testomat.io test management and Jira issue tracking.
Requires Node.js 18 or higher with built-in fetch support for running the MCP server, enabling the connection between Testomat.io and AI assistants.
Supports installation and execution via npm or npx, allowing easy deployment of the Testomat.io MCP server.
Provides semantic XML formatting for LLM processing, supporting the structured data exchange between Testomat.io and AI assistants.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Testomatio MCP Servershow me all tests with the 'regression' label"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Testomat.io MCP Server
Model Context Protocol (MCP) server that enables AI assistants (Claude, Cursor, OpenCode, etc.) to interact with Testomat.io Public API v2.
Features
Full CRUD for core entities:
Tests, Suites, Plans, Runs, TestRuns, RunGroups, Steps, Snippets, Labels
Tags and Milestones (read-only access)
Issues (global + scoped helpers for tests/suites/runs/testruns/plans)
Attachments (scoped helpers for tests/suites/testruns)
Requirements (including file uploads from local file paths)
Project Information - fetch project configuration, metadata, features, and CI profiles
Issue Linking - link/unlink issues to any resource
API Compatibility - automatic handling of payload format differences (flat vs wrapped)
Automatic API Sessions - groups MCP changes in Testomat.io history using API sessions
Run Management - status transitions via
status_eventparameterTQL-Only Search -
tests_listandruns_listusetqlas the single search/filter inputBuilt-In TQL Reference - TQL parameters include the exact field whitelist and examples;
tql_helpprovides syntax details on demandTool Surface Profiles - expose only the tools a session needs via
--tools full|core|read(defaultfull); cuts the per-call schema cost for long agentic sessions
Related MCP server: Qase MCP Server
Quick Start
Installation
npm install -g @testomatio/mcp@latestNeed enterprise analytics tools? Install @testomatio/mcp-enterprise@latest instead. Details are in the Enterprise Analytics section below.
Configuration
Required credentials:
TESTOMATIO_PROJECT_TOKEN- Your project API tokenTESTOMATIO_PROJECT_ID- Your project ID
Run server:
testomatio-mcp --token <PROJECT_TOKEN> --project <PROJECT_ID>Or with environment variables:
export TESTOMATIO_PROJECT_TOKEN=<PROJECT_TOKEN>
export TESTOMATIO_PROJECT_ID=<PROJECT_ID>
testomatio-mcpOptional: custom host
export TESTOMATIO_HOST=beta.testomat.io
testomatio-mcp --host beta.testomat.ioA bare hostname is expanded to https://<host>. For full control use
--base-url / TESTOMATIO_BASE_URL, which takes precedence over the host option:
export TESTOMATIO_BASE_URL=https://beta.testomat.ioOptional: tool surface profile
By default the server exposes all tools. For long, token-sensitive sessions you can expose a smaller set with --tools:
testomatio-mcp --token <PROJECT_TOKEN> --project <PROJECT_ID> --tools coreProfile | What's exposed |
| Everything |
| Core entities + CRUD (excludes steps, snippets, labels, rungroups, attachments) |
| Core entities, read-only (list/get) |
Values are case-insensitive; an unknown value prevents the server from starting. Set the profile at launch with the flag or the TESTOMATIO_TOOLS environment variable — it can't be changed mid-session. The CLI flag takes precedence when both are set.
Usage with AI Assistants
Cursor IDE
Add this config to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for global access:
{
"mcpServers": {
"testomatio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@testomatio/mcp@latest",
"--token",
"<TOKEN>",
"--project",
"<PROJECT_ID>"
],
"env": {
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
}
}
}
}Claude Desktop
Add this config to:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"testomatio": {
"command": "npx",
"args": [
"-y",
"@testomatio/mcp@latest",
"--token",
"<TOKEN>",
"--project",
"<PROJECT_ID>"
],
"env": {
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
}
}
}
}OpenCode
Add this config to opencode.json in your project root, or to ~/.config/opencode/opencode.json for global access:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"testomat": {
"type": "local",
"command": [
"npx",
"-y",
"@testomatio/mcp@latest",
"--token",
"<TOKEN>",
"--project",
"<PROJECT_ID>"
],
"enabled": true,
"environment": {
"TESTOMATIO_BASE_URL": "https://app.testomat.io"
}
}
}
}HTTP Transport
Besides stdio, the server runs over Streamable HTTP on a Cloudflare Worker hosted by Testomat.io. The project is part of the URL, so every tool signature stays the same:
https://mcp.testomat.io/mcp/<project_id>Point an MCP client at that URL with a project token:
{
"mcpServers": {
"testomatio": {
"url": "https://mcp.testomat.io/mcp/<PROJECT_ID>",
"headers": {
"Authorization": "Bearer <PROJECT_TOKEN>"
}
}
}
}Web connectors such as claude.ai have nowhere to put a static token and instead run
OAuth 2.1 with PKCE and Dynamic Client Registration against the same URL. Tokens
starting with testomat_ or tstmt_ always bypass OAuth and are passed straight
through, so IDE clients and CI keep working.
The endpoint is POST only; GET returns 405, because the server never initiates
traffic. Testing with curl requires both media types in Accept:
curl -sS https://mcp.testomat.io/mcp/<PROJECT_ID> \
-H "Authorization: Bearer <PROJECT_TOKEN>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Self-hosted installations keep using stdio.
Quick Examples
List tests:
{
"name": "tests_list",
"arguments": { "page": 1, "per_page": 50, "tql": "priority == 'high'" }
}Create test:
{
"name": "tests_create",
"arguments": {
"title": "User login test",
"suite_id": "123",
"priority": "high"
}
}Create run:
{
"name": "runs_create",
"arguments": {
"title": "Smoke tests",
"kind": "automated",
"env": "production"
}
}Finish run:
{
"name": "runs_update",
"arguments": {
"run_id": "456",
"status_event": "finish"
}
}Upload attachment to a test:
{
"name": "tests_attachments_upload",
"arguments": {
"test_id": "123",
"file_path": "/path/to/screenshot.png"
}
}Documentation
Complete tool reference: docs/tools.md
Project Structure
src/
|- config/ # Config loading, defaults
|- core/ # Errors, logger
|- api/ # HTTP client, Testomat.io API client
|- mcp/ # MCP server, tools, registry
| |- definitions/ # Tool definitions by entity
| |- configs/ # Registry generation configs
| `- registry/ # Tool handlers
`- cli/ # CLI bootstrapEnvironment Variables
Variable | Required | Default | Description |
| Yes* | - | Project token (preferred) |
| Yes* | - | Alternative token |
| Yes | - | Project ID |
| No | - | API host, e.g. |
| No |
| API base URL, wins over |
| No |
| Tool profile: |
*Either TESTOMATIO_PROJECT_TOKEN or TESTOMATIO_API_TOKEN
Corporate TLS Certificates
If the MCP server runs behind a corporate proxy or TLS inspection, Node.js may reject Testomat.io HTTPS requests even when the same URL works in a browser. This usually means the company root certificate is trusted by the operating system, but not by Node.js.
Use Node.js system CA support:
NODE_OPTIONS=--use-system-ca testomatio-mcp --token <TOKEN> --project <PROJECT_ID>For MCP clients, pass NODE_OPTIONS in the server environment:
{
"mcpServers": {
"testomatio": {
"command": "testomatio-mcp",
"args": ["--token", "<TOKEN>", "--project", "<PROJECT_ID>"],
"env": {
"NODE_OPTIONS": "--use-system-ca"
}
}
}
}If your Node.js version does not support --use-system-ca, export the corporate root certificate to a PEM file and use Node.js extra CA support:
NODE_EXTRA_CA_CERTS=/path/to/company-root-ca.pem testomatio-mcp --token <TOKEN> --project <PROJECT_ID>Important Notes
Run Status - Use
runs_updatewithstatus_eventfor transitions (finish, launch, rerun, etc.)Search/Filter - No dedicated
/searchendpoints; filtering is done via the*_listtools (tqlfor tests and runs, OpenAPI-aligned filters for other entities)Slim List Responses - List tools request compact API responses by default and omit heavy entity fields and null values. Pass
verbose: trueto return full objects, orfields: ["id", "title", "description"]to return only selected fields. Both options disable the backendslim=truerequest so heavy fields remain available when requested.TQL - Use
tqlas the single search/filter input fortests_listandruns_listTQL Syntax - For user-facing syntax details and more examples, see the official TQL docs: https://docs.testomat.io/advanced/tql/
TQL Scope - TQL parameter descriptions keep the documented field whitelist in-band; call
tql_helpfor syntax details and additional examplesIssue Linking - Scoped helpers available:
{entity}_issues_link/unlinkAttachments - Scoped helpers available for tests, suites, and testruns:
{entity}_attachments_list/upload/delete. Upload sends one local file path as multipart fieldfile.Enterprise Package - Analytics tools are intentionally exposed only by
@testomatio/mcp-enterprise, not by the standard@testomatio/mcppackageAPI Sessions - The server automatically starts a Testomat.io session before the first
POST,PUT, orDELETErequest, sends the returned session hash asX-Session-Hashon later mutating requests, and stops the session when the MCP server shuts down.GETrequests do not start or use sessions.
Development
npm install
npm run start -- --token <TOKEN> --project <PROJECT_ID>
npm testFor local MCP development, point Claude Desktop to the checked-out entrypoint:
{
"mcpServers": {
"testomatio-local": {
"command": "node",
"args": ["/path/to/mcp/index.js", "--token", "<TOKEN>", "--project", "<PROJECT_ID>"]
}
}
}Enterprise Analytics
Enterprise analytics is available only in the separate @testomatio/mcp-enterprise package.
Installation:
npm install -g @testomatio/mcp-enterprise@latestRun:
testomatio-mcp-enterprise --token <PROJECT_TOKEN> --project <PROJECT_ID>Included tools:
analytics_tests-GET /api/v2/{project_id}/analytics/tests/{kind}analytics_stats-GET /api/v2/{project_id}/analytics/stats/{kind}analytics_charts_list-GET /api/v2/{project_id}/analytics/chartsanalytics_charts_get-GET /api/v2/{project_id}/analytics/charts/{id}analytics_charts_results-GET /api/v2/{project_id}/analytics/charts/{id}/result
Analytics endpoints require the api_analytics subscription feature. Use q as the TQL filter parameter for analytics tools.
Example analytics_tests call:
{
"name": "analytics_tests",
"arguments": {
"kind": "flaky",
"q": "priority == 'high'",
"days": 30,
"page": 1,
"per_page": 20
}
}Example analytics_stats call:
{
"name": "analytics_stats",
"arguments": {
"kind": "success-rate-by-date",
"q": "tag IN ['@smoke']",
"from": "2026-04-01",
"to": "2026-04-30"
}
}analytics_charts_get returns a chart definition with its TQL queries; analytics_charts_results
returns per-query totals or the matching tests/runs of one query (by its zero-based number).
Example analytics_charts_results call:
{
"name": "analytics_charts_results",
"arguments": {
"chart_id": "abc123",
"number": 2,
"per_page": 50
}
}Worker deployment
The worker/ directory holds the Cloudflare Worker and is excluded from the npm
package. Deploy it from that directory:
cd worker
npx wrangler kv namespace create OAUTH_KV
npx wrangler secret put TESTOMATIO_MCP_WORKER_SECRET
npx wrangler deployPut the namespace id returned by the first command into kv_namespaces in
worker/wrangler.jsonc. TESTOMATIO_MCP_WORKER_SECRET is the shared secret used to
redeem authorization codes against Testomat.io server-to-server and is never
committed.
Before exposing the Worker publicly, configure Cloudflare rate-limiting rules for
/register, /authorize, /token, and /mcp/*. These endpoints intentionally
support unauthenticated OAuth discovery and client registration, so rate limiting
belongs at the edge rather than in per-isolate memory. Keep separate rules and KV
namespaces for beta and production.
A beta worker is the same code deployed to the beta environment, which targets
https://beta.testomat.io and keeps its own KV namespace so beta grants never
reach the production one:
npx wrangler kv namespace create OAUTH_KV --env beta
npx wrangler secret put TESTOMATIO_MCP_WORKER_SECRET --env beta
npx wrangler deploy --env betaThis server cannot be deployed
Maintenance
Related MCP Connectors
Run, debug, and triage tests from your IDE using natural language, no dashboard switching, no manual data transfers. The TestMu AI (formerly LambdaTest) MCP Server is a single remote server exposing four tool suites: HyperExecute — analyze your project, generate YAML configs and test runner commands, then monitor jobs and sessions. Automation — pull a TestID's details plus command, network, and console logs into one chat for instant root-cause analysis. Includes mobile app upload. SmartUI — explain pixel, layout, DOM, and perceptual changes in a visual regression run, with context-aware React/HTML/CSS fixes. Accessibility — audit any public URL or a local React app against WCAG and get ready-to-apply remediation steps. Connects over https://mcp.lambdatest.com/mcp using OAuth 2.1 — no API keys in your config. One-click install in Cursor; works with Claude, GitHub Copilot, Cline, and any MCP client. Tests execute on the TestMu AI cloud: 3,000+ browsers and 10,000+ real devices.
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that provides access to Testiny projects, test cases and test runs
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Cursor AI assistants to interact with Todoist tasks directly from the coding environment, supporting advanced task filtering and rich formatting.42-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates with the Qase test management platform, allowing users to create and retrieve test cases, manage test runs, and interact with Qase projects.23 npm1-
- FlicenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that provides integration with TestRail, allowing AI assistants to interact with TestRail projects, test cases, test runs, and results.1,138 npm1-
- AlicenseBqualityAmaintenanceAI-native Model Context Protocol (MCP) server for TestRail. Lets Claude, Cursor, Windsurf, and other AI assistants browse projects, create and update test cases, kick off test runs, and record results through natural-language conversation — with strongly-typed tool schemas and per-project custom field validation that helps LLMs generate valid TestRail requests on the first try.281,082 npm39Apache 2.0