@deitum/testops-mcp
Allows attaching Jira issue keys to test cases as external links, using a configured Jira base URL to construct links to Jira issues.
Click on "Install 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., "@@deitum/testops-mcpWhat are the latest test launch results?"
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.
@deitum/testops-mcp
An MCP server for Allure TestOps: search, read and write test cases, author a whole suite in Markdown and import it in one call, manage launches, and read project statistics — all locked to a single project.
npx @deitum/testops-mcpIt speaks MCP over stdio and is configured entirely through environment variables.
The server is deliberately single-project: TESTOPS_PROJECT_ID is the only source of the target
project, it is never part of a tool's input, and the model cannot reach another project by asking.
Pointing it somewhere else means changing the configuration and restarting.
Setting it up in a client
Claude Desktop (claude_desktop_config.json), Cursor, Windsurf and anything else that
reads the same shape:
{
"mcpServers": {
"testops": {
"command": "npx",
"args": ["-y", "@deitum/testops-mcp"],
"env": {
"TESTOPS_BASE_URL": "https://testops.example.com",
"TESTOPS_API_KEY": "your-api-token",
"TESTOPS_PROJECT_ID": "23",
"TESTOPS_IMPORT_ROOTS": "/Users/you/test-cases"
}
}
}
}Claude Code:
claude mcp add testops \
--env TESTOPS_BASE_URL=https://testops.example.com \
--env TESTOPS_API_KEY=your-api-token \
--env TESTOPS_PROJECT_ID=23 \
-- npx -y @deitum/testops-mcpVS Code (.mcp.json / .vscode/mcp.json), where the token is prompted for rather than written
down:
{
"inputs": [
{
"id": "testops-token",
"type": "promptString",
"description": "Allure TestOps API token",
"password": true
}
],
"servers": {
"testops": {
"command": "npx",
"args": ["-y", "@deitum/testops-mcp"],
"env": {
"TESTOPS_BASE_URL": "https://testops.example.com",
"TESTOPS_API_KEY": "${input:testops-token}",
"TESTOPS_PROJECT_ID": "23"
}
}
}
}OpenCode (~/.config/opencode/opencode.json, or %USERPROFILE%\.config\opencode\opencode.json
on Windows). Note that permission sits beside mcp, not inside it:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"testops": {
"type": "local",
"enabled": true,
"command": ["npx", "-y", "@deitum/testops-mcp"],
"environment": {
"TESTOPS_BASE_URL": "https://testops.example.com",
"TESTOPS_API_KEY": "your-api-token",
"TESTOPS_PROJECT_ID": "23",
"TESTOPS_IMPORT_ROOTS": "/Users/you/test-cases"
}
}
},
"permission": {
"testops_testcase_delete": "ask"
}
}The API token comes from TestOps itself: your avatar → API Tokens → + Token.
Related MCP server: allure-testops-mcp
Configuration
Variable | Required | Meaning |
| yes | TestOps root, no path ( |
| yes | Personal API token, exchanged for a bearer token on first use. |
| yes | The one project every tool operates in. |
| – | Directories Markdown import may read, |
| – | Jira root for issue links. Unset, the issue-link paths refuse to write. |
| – |
|
TESTOPS_BASE_URL must be https outside localhost and must carry no credentials, query, fragment
or path. TESTOPS_JIRA_BASE_URL follows the same rules but may carry a path, since Jira is often
published under one (https://jira.example.com/jira).
Issue links
Issue keys — from testcase_add_issue_links, or from a Ссылки / Issues section in an imported
file — become external links of the form <TESTOPS_JIRA_BASE_URL>/browse/KEY. They are external
links, not integrated TestOps Issues.
With no Jira root configured the server does not guess a host: testcase_add_issue_links fails
before it writes anything, and an import file containing issue keys is rejected during preflight, so
no case is created.
TLS
An instance behind a certificate Node does not trust fails with SELF_SIGNED_CERT_IN_CHAIN. Prefer
NODE_EXTRA_CA_CERTS=/path/to/ca.pem, which trusts that one chain. TESTOPS_SSL_VERIFY=false is
the blunt alternative — it turns verification off for every TestOps request the process makes — and
is worth it only for an internal instance whose certificate you have already accepted by other
means.
Safety model
One project. Every project-scoped request carries the configured ID, injected by the client rather than taken from the model. Before a by-ID write, the entity is loaded and refused if it belongs to another project.
Deletion means Trash.
testcase_deletemoves exactly one case — named exactly astestcase_getreturned it — to Trash (force=false). There is no bulk and no permanent delete, and deletion is never used as an import rollback.Writes are never replayed on their own. After an expired token only reads are retried. A write whose outcome is unknown is reported as unknown: the model is told to reconcile and wait, not to try again.
Import is preflighted, then non-transactional. Nothing is created until the whole file and the project's custom-field catalog have been validated. After that, cases are created one at a time: if one fails, the earlier ones remain, and the report says exactly which are
created,partiallyCreated,failedCaseandnotAttempted.
Authoring and importing Markdown
A whole suite can be written as one Markdown file and imported in a single call. The format carries a description, preconditions, nested steps with individual expected results, tags, issue keys and custom fields addressed by their human-readable names — the server resolves those against the project's catalog.
The intended flow is: ask the model for the file, read it yourself, then ask for the import. The
rules do not need to be pasted into the conversation — testcase_markdown_guide hands the model the
canonical format and a worked example, and the model is instructed to call it before writing or
repairing a file. A file that is already written goes straight to testcase_import_markdown.
The file must be an absolute path inside one of TESTOPS_IMPORT_ROOTS. For a human reference:
the format and
the example.
Tools
Test cases:
testcase_search— one page of active cases by partial name and exact workflow status.testcase_get— one test case by ID.testcase_steps— a case's scenario tree, its steps and expected results.testcase_history— a case's execution history.testcase_search_by_custom_field— one server-side search by exact custom-field name and value.testcase_custom_fields— the project's custom fields and their allowed values.testcase_markdown_guide— the Markdown rules and the example, for the model to write against.testcase_import_markdown— validate a Markdown file and import every case in it.testcase_create— create one simple test case.testcase_add_steps— append steps, each with its own expected results.testcase_set_tags— replace a case's whole tag set.testcase_add_issue_links— add Jira keys as external links on one active case.testcase_delete— move exactly one confirmed case to Trash.testcase_trash_search— find deleted cases by ID or by name.testcase_restore— restore exactly one case chosen by ID and name.
Launches:
launch_list— one page of launches.launch_get— one launch by ID.launch_create— create a launch.launch_update— rename a launch, given its exact current name.launch_statistic— a launch's result counts by status.
Project:
statistics_overall— launch and test-case counts, and the automation percentage.
Search tools return one requested page with its metadata and accept at most 50 items, so a large project cannot land in the model's context whole. The AQL behind a search is built by the server: no tool accepts a raw query.
Troubleshooting
Symptom | What it means |
|
|
| Node does not trust the chain; see TLS. |
| The case exists, but not in |
| Issue keys were used with no Jira root configured. |
| The path is not under |
| Preflight failed and nothing was created; the report says why. |
Using it as a library
The stdio binary is the point, but the server is exported too — for a custom transport or a test harness:
import { createTestOpsServer, loadConfig, TestOpsClient } from '@deitum/testops-mcp';
const config = loadConfig();
const client = new TestOpsClient(config.baseUrl, config.apiKey, config.projectId, {
sslVerify: config.sslVerify,
});
const server = createTestOpsServer(client, { allowedMarkdownRoots: config.importRoots });
await server.connect(myTransport);Development
npm install
npm run verify # lint, format, types, tests, build, packaging
npm test # vitest, no network — every TestOps call goes to a local fixture
npm run inspector # build, then drive it with the MCP inspectorSee CONTRIBUTING.md.
Licence
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityFmaintenanceA TypeScript-based MCP server that provides integration with the Qase test management platform, allowing you to manage projects, test cases, runs, results, plans, suites, and shared steps.2612MIT
- AlicenseAqualityAmaintenanceMCP server for Allure TestOps — lets an LLM agent (Claude Code, Cursor, Windsurf, etc.) inspect test quality without leaving the chat.113MIT
- AlicenseAqualityBmaintenanceThis is an unofficial, community-built MCP server for qTest Manager. Not affiliated with or endorsed by Tricentis. Browse projects, modules, and test cases Create/delete test design modules Create and manage test execution cycles Add test cases into execution suites9301MIT
- AlicenseBqualityBmaintenanceProduction-ready MCP server for Allure TestOps, enabling test case, launch, test result, and test plan management via natural language.1001002MIT
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deitum/testops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server