Lucius
Lucius is a specialized MCP server for Allure TestOps that provides an AI-friendly interface for comprehensive test management. Here's what you can do:
Test Case Management
Create, update, retrieve, and delete test cases (including archived ones), with support for steps, tags, custom fields, attachments, and issue links
List and search test cases using plain text, tag/status filters, or full AQL (Allure Query Language)
Search & Discovery
Discover available custom fields, their valid values, and integrations (Jira, GitHub, etc.) configured for the project
Shared Steps
Create, list, update, and delete reusable shared steps
Link/unlink shared steps to/from test cases; bulk-delete archived shared steps
Test Layers
Create, list, update, and delete test layers (e.g., Unit, Integration, E2E) and their mapping schemas to custom fields for auto-assignment
Test Hierarchy (Suites)
Create, list, and delete test suite nodes in the hierarchy tree, and assign test cases to suites
Custom Fields
Create, list, update, and delete project-level custom field values; bulk-delete unused custom fields
Launch Management
Create, list, get, close, reopen, and delete launches
Upload automated test results (up to 1000 per call), list results with filters, schedule manual reruns, start manual test sessions, submit manual results, and add attachments to results or steps
Test Plans
Create, update, list, and delete test plans; manage content by adding/removing test cases or updating AQL filters
Defect Management
Create, get, update, delete, and list defects
Link/unlink defects to/from test cases, list test cases associated with a defect
Manage defect matchers β automation rules that auto-link failing test results to defects based on regex patterns matching error messages or stack traces
Enables interaction with GitHub issue tracking via Allure TestOps integration, allowing linking of defects and test cases to GitHub 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., "@Luciussearch for test cases related to payment"
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.
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.
Related MCP server: QTM4J MCP Server
π οΈ Supported Tools
See the full reference in Tool Reference.
Tool Category | Description | All Tools |
Test Case Mgmt | Full lifecycle for test documentation. |
|
Search & Discovery | Advanced search and project metadata discovery. |
|
Shared Steps | Create and manage reusable step sequences. |
|
Test Layers | Manage test taxonomy and auto-mapping schemas. |
|
Test Hierarchy | Organize suites and assign tests in tree paths. |
|
Custom Fields | Project-level management of custom field values. |
|
Launch Management | Manage launches, result uploads, manual execution, reruns, and attachments. |
|
Test Plans | Manage test plans and their content. |
|
Defect Mgmt | Track defects, linkage, and automation rules. |
|
π Quick Start
Install uv:
curl -LsSf https://astral.sh/uv/install.sh | shSetup Credentials: Create a
.envfile with the variables below, or save CLI auth withlucius auth.Run Server:
uv run start
Basic .env for Quick Start
Variable | Description | Example |
| Allure TestOps base URL |
|
| Default Allure project ID |
|
| Allure API token |
|
| MCP transport mode for Lucius runtime |
|
π Claude Desktop Integration
The easiest way to use Lucius in Claude Desktop is via the .mcpb bundle:
Download the latest
lucius-mcp.mcpbfrom Releases.Open with Claude Desktop.
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 --transport stdio --scope project \
--env ALLURE_ENDPOINT=https://example.testops.cloud \
--env ALLURE_PROJECT_ID=123 \
--env ALLURE_API_TOKEN=<your_api_token> \
--env MCP_MODE=stdio \
testops-mcp -- uvx --from lucius-mcp --refresh startProject-scoped text config example (.mcp.json):
{
"mcpServers": {
"testops-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"lucius-mcp",
"--refresh",
"start"
],
"env": {
"ALLURE_ENDPOINT": "https://example.testops.cloud",
"ALLURE_PROJECT_ID": "123",
"ALLURE_API_TOKEN": "<your_api_token>",
"MCP_MODE": "stdio"
}
}
}
}π§ Codex Integration
To add Lucius to Codex (CLI or IDE extension), use:
codex mcp add testops-mcp \
--env ALLURE_ENDPOINT=https://example.testops.cloud \
--env ALLURE_PROJECT_ID=123 \
--env ALLURE_API_TOKEN=<your_api_token> \
--env MCP_MODE=stdio \
-- uvx --from lucius-mcp --refresh startText config example (~/.codex/config.toml or project .codex/config.toml):
[mcp_servers.testops-mcp]
command = "uvx"
args = ["--from", "lucius-mcp", "--refresh", "start"]
[mcp_servers.testops-mcp.env]
ALLURE_ENDPOINT = "https://example.testops.cloud"
ALLURE_PROJECT_ID = "123"
ALLURE_API_TOKEN = "<your_api_token>"
MCP_MODE = "stdio"For detailed setup, including Claude Desktop (MCPB) integration, see Setup Guide.
π» Command-Line Interface (CLI)
Lucius also provides a universal CLI entry point for direct tool execution from the command line:
# List available actions for an entity
uv run lucius test_case
# Execute an action
uv run lucius test_case get --args '{"test_case_id": 1234}'
# Show help for a specific entity/action
uv run lucius test_case get --help
# Save reusable CLI auth
uv run lucius auth --url https://example.testops.cloud --token <your_api_token> --project 123
uv run lucius auth status
uv run lucius auth clearCLI Features:
π― Type-safe entity/action invocation with validation
π Optional persistent CLI auth with native per-user config storage
π Multiple output formats (JSON, table, csv, plain)
π Per-action help with parameters and examples
π‘οΈ Clean error messages with guidance
π¦ Standalone binaries for Linux, macOS, and Windows
For local CLI binary builds with Nuitka, use Python 3.13 (the build scripts and CI workflow enforce this).
CLI auth precedence is:
Explicit tool args such as
api_tokenorproject_idEnvironment variables
Saved CLI auth config from
uv run lucius authDefaults
Saved CLI auth uses native config locations:
Linux/Unix:
$XDG_CONFIG_HOME/lucius/auth.jsonor~/.config/lucius/auth.jsonmacOS:
~/Library/Application Support/lucius/auth.jsonunless XDG overrides are explicitly setWindows:
%LOCALAPPDATA%\lucius\auth.json
For full CLI documentation and installation instructions, see CLI Guide.
π‘ Telemetry
Lucius collects privacy-preserving usage telemetry to improve tool quality. Telemetry is enabled by default and sends metadata
to https://stats.ostanin.me, an endpoint operated by the project owner (no third party has access to this endpoint).
If this is acceptable in your environment, staying opted in helps improve Lucius over time. If you want to opt out, set
TELEMETRY_ENABLED=false in your environment.
No API tokens, test content, or tool arguments are sent.
See Telemetry & Privacy for the full data dictionary and telemetry behavior details.
π 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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/ivanostanin/lucius-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server