Skip to main content

Allure TestOps MCP Server

Project description

Allure TestOps MCP Server

Lucius is a specialized Model Context Protocol (MCP) server for Allure TestOps, built with FastMCP and Starlette.

🎯 Motivation

Allure TestOps is a powerful tool with a huge API. When you're using an AI agent to manage your tests, it can easily get lost in the details or fail because of a small technical mistake.

Lucius makes this easier by giving your AI tools that are simple to use and hard to break:

  • Clear Tools: Every tool is designed for a specific task, like "finding a test case" or "updating a launch".
  • Helpful Errors: If an AI makes a mistake, Lucius doesn't just return a code—it provides an "Agent Hint" that explains exactly what went wrong and how to fix it.
  • Solid Foundation: We follow a clean "Thin Tool" structure, meaning the logic is consistent and easy for both humans and AI to follow.

🛠️ Supported Tools

Tool Category Description All Tools
Test Case Mgmt Full lifecycle for test documentation. create_test_case, update_test_case, delete_test_case, delete_archived_test_cases, get_test_case_details, list_test_cases, get_test_case_custom_fields
Search & Discovery Advanced search and project metadata discovery. search_test_cases, get_custom_fields, list_integrations
Shared Steps Create and manage reusable sequence sequences. create_shared_step, list_shared_steps, update_shared_step, delete_shared_step, delete_archived_shared_steps, link_shared_step, unlink_shared_step
Test Layers Manage test taxonomy and auto-mapping schemas. list_test_layers, create_test_layer, update_test_layer, delete_test_layer, list_test_layer_schemas, create_test_layer_schema, update_test_layer_schema, delete_test_layer_schema
Test Hierarchy Organize suites and assign tests in tree paths. create_test_suite, list_test_suites, assign_test_cases_to_suite, delete_test_suite
Custom Fields Project-level management of custom field values. list_custom_field_values, create_custom_field_value, update_custom_field_value, delete_custom_field_value, delete_unused_custom_fields
Test Plans Manage Test Plans and their content. create_test_plan, update_test_plan, delete_test_plan, list_test_plans, manage_test_plan_content
Defect Mgmt Track defects, linkage, and automation rules. create_defect, get_defect, update_defect, delete_defect, list_defects, link_defect_to_test_case, list_defect_test_cases, create_defect_matcher, list_defect_matchers, update_defect_matcher, delete_defect_matcher

🚀 Quick Start

  1. Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Setup Credentials: Create a .env file with ALLURE_ENDPOINT, ALLURE_PROJECT_ID, and ALLURE_API_TOKEN.
  3. Run Server: uv run start

🔌 Claude Desktop Integration

The easiest way to use Lucius in Claude Desktop is via the .mcpb bundle:

  1. Download the latest lucius-mcp.mcpb from Releases.
  2. Open with Claude Desktop.
  3. Configure your Allure credentials in the UI.

💻 Claude Code Integration

To add Lucius to Claude Code, use the following command from within your project directory:

claude mcp add testops-mcp --transport stdio \
   --env ALLURE_ENDPOINT=https://example.testops.cloud\
   --env ALLURE_PROJECT_ID=123 \
   --env ALLURE_API_TOKEN=your_token \
   --env MCP_MODE=stdio \
   -- uvx --from lucius-mcp --refresh start

For detailed setup, including Claude Desktop (MCPB) integration, see Setup Guide.

🔐 Telemetry & Privacy

Lucius includes privacy-preserving telemetry to help maintainers understand runtime and tool usage trends.

  • Telemetry is enabled by default.
  • Telemetry runtime settings are defined in src/utils/config.py via TelemetryConfig.
  • Umami is the single telemetry backend and events are sent via the umami-python client.
  • To disable telemetry at runtime without code edits, set TELEMETRY_ENABLED=false.
  • Payloads include runtime/tool metadata (version, platform, mode, deployment method, outcome, duration bucket).
  • Sensitive identifiers are hashed before sending (for example endpoint host and project id).
  • Tool arguments, test content, API tokens, and secret values are never sent.

Telemetry Data Dictionary

Field Purpose Example Sensitive/Hashed
server_version Server version trend 0.6.1 No
python_version Runtime compatibility insight 3.14.0 No
platform OS/arch distribution darwin-arm64 No
mcp_mode Transport usage stdio No
deployment_method Install/run footprint uvx+pypi No
tool_name Tool adoption create_test_case No
outcome Success/error ratio success No
duration_bucket Performance trend 100-500ms No
error_category Failure classification validation No
endpoint_host_hash Installation grouping f8a2... Hashed
project_id_hash Project-level grouping 9d71... Hashed
installation_id_hash Longitudinal installation metric b02e... Hashed

📂 Documentation

Full documentation is available in the docs/ folder:

🤝 Contributing

Contributions are welcome! Please see the Contribution Guidelines and the Development Guide for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lucius_mcp-0.7.2.tar.gz (909.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lucius_mcp-0.7.2-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file lucius_mcp-0.7.2.tar.gz.

File metadata

  • Download URL: lucius_mcp-0.7.2.tar.gz
  • Upload date:
  • Size: 909.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lucius_mcp-0.7.2.tar.gz
Algorithm Hash digest
SHA256 e0e9b4d887e583e54ae0703d38e6292ce620a98b8213439220e4eac4b93aa6d3
MD5 d2c7e4b1e77891533c71ad4929d5c16f
BLAKE2b-256 8925fc84a810ee368c0d0628efe586ad9aaa016d29447ee2d790b687adcebf0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for lucius_mcp-0.7.2.tar.gz:

Publisher: release.yml on ivanostanin/lucius-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lucius_mcp-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: lucius_mcp-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lucius_mcp-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1206a2119d142ad59576d35a2c91cc99a018803124444e4fd565fbf62756f9ed
MD5 e0914410eb7168593344f8ab66f81f51
BLAKE2b-256 5c312b63cfe7a33345a87a50dea4d7a33a1619d6e3293cccf6ae14f6ce0aac20

See more details on using hashes here.

Provenance

The following attestation bundles were made for lucius_mcp-0.7.2-py3-none-any.whl:

Publisher: release.yml on ivanostanin/lucius-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page