Allure TestOps MCP
Production-ready MCP server for Allure TestOps, enabling test case, launch, test result, and test plan management via natural language.
README
Allure TestOps MCP
Production-ready MCP server for Allure TestOps focused on test cases, launches, test results, and test plans.
Features
- JWT bearer auth exchange from user API token, with in-memory caching and refresh on expiry.
- Project-aware tools with optional default project via
ALLURE_PROJECT_ID. - Project resolution by
projectIdorprojectNamefor project-scoped operations. - Test case custom field support, including lookup and updates.
stdiotransport for local MCP clients (npxor local build).
Tool Coverage
- Test cases: list, search, get, create, update, delete, restore, overview, history, scenario, steps (get/update), tags (get/set/bulk-add/bulk-remove), issues (get/set), external links bulk add, custom fields (list/get/set), attachments (list/upload/download/delete)
- Launches: list, search, get, create, update, delete, close, reopen, statistics, progress, add test cases/plans
- Test results: list, search, get, create, update, history, assign, resolve, retries, attachments (list/download)
- Test plans: list, get, create, update, delete, run
- Analytics: automation chart, group by automation/status, launch duration histogram, mute trend, statistic trend, test case last result, test case success rate
- Dashboards: list, get, create, update, delete, copy, widget data
- Defects: list, get, create, update, get test results/cases/launches, get launch defects, find similar failures, link to results (bulk), bulk close/reopen, link/unlink issue, apply matchers
- Mutes: list, create, delete, get muted test cases, get launch muted results, mute/unmute result, bulk mute/unmute
- Members: suggest users, list project members, launch member stats, test case members, test result members
- Shared Steps: list, get, get steps (inline scenario), usage, create, update, archive, unarchive
- Environments: list env vars, suggest env vars, list schemas, list values, suggest values, get result env vars
User Usage Docs
User-focused runtime and integration docs are in docs/usages/:
docs/usages/README.mddocs/usages/docker.mddocs/usages/npx.mddocs/usages/running-locally.mddocs/usages/integrations.mddocs/usages/examples/README.mddocs/usages/examples/test-cases.mddocs/usages/examples/launches.mddocs/usages/examples/test-results.mddocs/usages/examples/test-plans.mddocs/usages/examples/custom-fields.mddocs/usages/examples/defects.mddocs/usages/examples/mutes.mddocs/usages/examples/members.mddocs/usages/examples/shared-steps.mddocs/usages/examples/environments.mddocs/usages/examples/workflows.md
Tool Catalog (GitHub Pages)
The auto-generated MCP tool catalog is published via GitHub Pages:
- https://iampopovich.github.io/allure-testops-mcp/
The page content is generated from source tool definitions. When a new tool is added to src/tools/*.ts, the Pages workflow regenerates docs/tools.json and updates the site automatically.
Authentication
This server follows the Allure TestOps API guide:
- Use your user-generated API token in
ALLURE_TOKEN. - Server exchanges it at
/api/uaa/oauth/token. - Received bearer JWT is cached and reused until near expiry.
Reference: https://docs.qameta.io/allure-testops/advanced/api/
Environment Variables
ALLURE_TESTOPS_URL=https://allure-testops.instance.com/
ALLURE_TOKEN=your-api-token
# Optional default project:
# ALLURE_PROJECT_ID=37
ALLURE_TESTOPS_URLrequiredALLURE_TOKENrequiredALLURE_PROJECT_IDoptional
If ALLURE_PROJECT_ID is not set, tools that require project scope must receive:
projectId, orprojectName(resolved via/api/project/suggest)
Run Locally
Prerequisites
- Node.js v18+ and npm
Step-by-step
- Clone the repository:
git clone https://github.com/iampopovich/allure-testops-mcp.git
cd allure-testops-mcp
- Install dependencies:
npm install
- Create your local environment file from the example and fill required values:
cp .env.example .env
Set:
ALLURE_TESTOPS_URL(required)ALLURE_TOKEN(required)ALLURE_PROJECT_ID(optional. default project = 37)
- Build the project:
npm run build
- Start the MCP server from the compiled output:
npm start
- Optional: run in development mode (TypeScript via
tsx):
npm run dev
- Optional: run integration smoke checks:
npm run test:integration
MCP Client Setup
Use one of these server commands:
Common config block:
{
"mcpServers": {
"allure-testops": {
"command": "npx",
"args": ["-y", "github:{repo-name}/allure-testops-mcp"],
"env": {
"ALLURE_TESTOPS_URL": "https://{allure-testops-instance-address}",
"ALLURE_TOKEN": "{your-api-token}",
"ALLURE_PROJECT_ID": "{allure-project-id}"
}
}
}
}
<details> <summary><strong>Local build</strong></summary>
command:nodeargs:["/absolute/path/to/allure-testops-mcp/dist/index.js"]example:node c:\users\username\allure-testops-mcp/dist/index.js
</details>
<details> <summary><strong>npx (GitHub spec)</strong></summary>
command:npxargs:["-y", "github:iampopovich/allure-testops-mcp"]
</details>
<details> <summary><strong>Claude Desktop</strong></summary>
- Open Claude Desktop MCP settings and add the
mcpServersJSON entry above. - Restart Claude Desktop after saving config.
</details>
<details> <summary><strong>Claude Code</strong></summary>
- Add the same
mcpServersentry in your Claude Code MCP configuration. - Restart your Claude Code session to load the server.
</details>
<details> <summary><strong>Cursor</strong></summary>
- Open Cursor MCP settings and add the same
mcpServersentry. - Restart Cursor (or reload MCP servers) after saving.
</details>
<details> <summary><strong>Other MCP Clients</strong></summary>
Any MCP client that supports stdio servers can use this project with the same command/env configuration.
</details>
CI and Quality Gates
This repository includes GitHub Actions checks for pushed code and pull requests:
- compile (
npm run build) - lint (
npm run lint)
CI workflow: .github/workflows/ci.yml
OSS Automation
Included automation for typical open-source maintenance:
- Dependabot updates:
.github/dependabot.yml - Stale issue/PR triage:
.github/workflows/stale.yml - Release notes drafting:
.github/workflows/release-drafter.yml
Integration Smoke Test
ALLURE_TESTOPS_URL="https://allure-testops.instance.com/" \
ALLURE_TOKEN="your-api-token" \
ALLURE_PROJECT_ID="37" \
npm run test:integration
Public Project Docs
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。