SuperAPIAI Directory

allure-testops-mcp

github.com · AI developer platforms

allure-testops-mcp is an MCP server for Allure TestOps that allows LLM agents (such as Claude Code, Cursor, OpenCode, etc.) to explore and manage projects, launches, test cases, test results, and reference data through the Allure REST API. Built on Python 3.10+ and FastMCP, it uses stdio transport and is compatible with both SaaS and self-hosted instances. By default it provides 13 read-only tools, and 7 write tools must be explicitly enabled. It supports API token authentication, an optional SSL verification toggle, proxy bypass, and features such as structured output, actionable error messages, pagination, and progress reporting.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

allure-testops-mcp is an MCP (Model Context Protocol) server for connecting to Allure TestOps. It enables LLM agents to explore and manage projects, launches, test cases, test results, and reference data through the Allure REST API.

Purpose

The server acts as a bridge between LLM agents and Allure TestOps, enabling agents to query and operate on test management data in natural language. It is suitable for teams that need to integrate AI assistants into their test management workflows.

Key Capabilities

  • Provides 20 tools: 13 read-only tools (always enabled) and 7 write tools (enabled via ALLURE_ENABLE_WRITE=true).
  • Read-only tools cover project listing, launch queries, test case viewing, test result analysis, statistics retrieval, and more.
  • Write tools support creating, updating, and deleting test cases; status and hierarchy can be specified by name or ID, and names are automatically resolved to IDs.
  • Every tool carries MCP annotations and returns typed structuredContent and a markdown summary.
  • Supports pagination, progress reporting, actionable error messages, and Pydantic input validation.
  • Compatible with any Allure TestOps instance (SaaS qameta.io or self-hosted/on-premises deployments, with the API at /api/rs).
  • A single connection can serve all projects on an instance, allowing switching between or comparing projects without reconfiguration.

Usage

  • Requires Python 3.10+. Running via uvx is recommended, with no manual installation needed.
  • In Claude Code it can be added with a single command; other MCP clients can configure it in ~/.claude.json, the project's .mcp.json, or Cursor's mcp.json, etc.
  • The environment variable ALLURE_TOKEN must be set (obtained from Profile → API tokens in Allure TestOps).
  • Optional environment variables include ALLURE_SSL_VERIFY (default true), ALLURE_ENABLE_WRITE (default false), etc.
  • Example prompts: "List all Allure projects", "Show failed tests in the last launch for project 175", etc. Once writes are enabled, test case CRUD can be driven in natural language.

Use Cases

  • Test teams want to quickly query test projects, launches, and results through an AI agent.
  • Need to compare statistics such as automation rate across projects.
  • Want to manage test cases (create, update, delete) in natural language.
  • Enterprise environments require API token authentication, SSL verification control, and proxy bypass.

Limitations

  • Write tools are disabled by default and must be explicitly enabled.
  • Delete operations are irreversible, require the confirm=true parameter, and carry the destructiveHint annotation.
  • Allure TestOps has rate limits (typically about 60 requests/minute/token); on a 429 error, wait or reduce the page size.
  • Self-signed SSL requires manually disabling verification, which poses a security risk and is recommended only for trusted enterprise instances.
  • Proxy discovery is disabled; the server ignores the HTTP_PROXY/HTTPS_PROXY environment variables.
  • Token permissions do not exceed those of the account role it belongs to; a read-only account cannot perform write operations even if writes are enabled.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools