
Lucius MCP
io.github.ivanostanin由 GitHub 账号 ivanostanin 发布v0.16.9更新于 Nov 5, 2026
MCP server for managing Allure TestOps tests, launches, plans, defects, and metadata.
概览
Lucius 是一个本地 MCP 服务器,让助手管理 Allure TestOps 的测试用例、启动、测试计划、缺陷和元数据。
- 可以做什么
- 创建、更新、删除和查看测试用例、自定义字段与测试分层
- 搜索并列出测试用例、测试套件、集成和项目元数据
- 管理共享步骤与测试层级,包括关联步骤和把用例分配到套件
- 创建和管理启动,上传结果、附加文件、重跑结果并执行手动测试会话
- 创建、更新和运行测试计划并管理其内容
- 跟踪缺陷与缺陷匹配规则,并与测试用例建立或解除关联
- 适用场景
- 适合团队把测试文档和结果放在 Allure TestOps 中,希望助手直接搜索、编辑、生成或汇总这些内容,而不必手写 API 调用。主要用于 QA 与测试自动化流程,而非通用编码任务。
- 运行要求
- 以 stdio 本地运行,通常通过 uvx 从 lucius-mcp 的 PyPI 包启动,也可用 OCI 镜像或 Claude Desktop 的 .mcpb 包;支持 Python 3.11 至 3.14。需要 Allure TestOps 基础地址 ALLURE_ENDPOINT、项目 ID ALLURE_PROJECT_ID 和 API 令牌 ALLURE_API_TOKEN,可通过环境变量或 CLI 认证命令保存。
安装
在 SourceWeft 中
- 打开 控制台中的 Lucius MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[PyPI Version] [PyPI Python Version] [PyPI Downloads] [GitHub License]
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
See the full reference in Tool Reference.
🚀 Quick Start
- Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh - Setup Credentials: Create a
.envfile with the variables below, or save CLI auth withlucius auth. - Run Server:
uv run start
Basic .env for Quick Start
🔌 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:
Project-scoped text config example (.mcp.json):
🧠 Codex Integration
To add Lucius to Codex (CLI or IDE extension), use:
Text config example (~/.codex/config.toml or project .codex/config.toml):
For detailed setup, including Claude Desktop (MCPB) integration, see Setup Guide.
🐍 Supported Python versions
Lucius supports Python 3.11 through 3.14 for runtime use. The generated MCPB manifests and the representative Nuitka CLI compiler matrix validate the same range. Python 3.15 support is experimental: installation may require source builds, and platform compatibility is still being verified. See the development guide for current limitations. Python 3.10 remains unsupported because the locked filelock security update requires Python 3.11 or newer.
💻 Command-Line Interface (CLI)
Lucius also provides a universal CLI entry point for direct tool execution from the command line:
CLI 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
CLI auth precedence is:
- Explicit tool args such as
api_tokenorproject_id - Environment variables
- Saved CLI auth config from
uv run lucius auth - Defaults
Saved CLI auth uses native config locations:
- Linux/Unix:
$XDG_CONFIG_HOME/lucius/auth.jsonor~/.config/lucius/auth.json - macOS:
~/Library/Application Support/lucius/auth.jsonunless XDG overrides are explicitly set - Windows:
%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:
- Architecture & Design
- Tool Reference
- Configuration & Setup
- Telemetry & Privacy
- Attachment download capability links
- Development Guide
- AI Agent Protocol
🤝 Contributing
Contributions are welcome! Please see the Contribution Guidelines and the Development Guide for more details.
来源:README.md,提交 a649efa
工具
0版本历史
11- v0.16.9最新Nov 5, 2026
- v0.16.8Nov 3, 2026
- v0.16.6Oct 21, 2026
- v0.16.5Oct 12, 2026
- v0.16.4Oct 6, 2026
- v0.16.3Oct 1, 2026
- v0.16.2Sep 29, 2026
- v0.16.1Sep 23, 2026
- v0.15.7Sep 21, 2026
- v0.15.6Sep 17, 2026
- v0.15.5Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分