使用说明
ReportPortal MCP服务器(模型上下文协议)
该项目使用FastAPI为ReportPortal实现了一个轻量级的MCP(模型上下文协议)服务器。它从ReportPortal中提取测试元数据,并通过干净的API将其公开,以便在基于LLM的工具、仪表板或QA自动化系统中使用。
✨ 特性
- 从ReportPortal中提取结构化测试运行元数据
- 输出适合LLM或分析的上下文
- 使用FastAPI和Poetry构建
- 易于扩展以支持嵌入、LangChain工具或Slackbots
📦 安装
git clone https://github.com/yourusername/reportportal-mcp.git
cd reportportal-mcp
poetry install
cp .env.example .env```
