MCP Catalogs
首页

testrail-mcp-server

by uarlouski·25·综合分 44

MCP 服务器将 AI 助手与 TestRail 连接,通过自然语言管理测试用例和执行。

developer-toolsproductivityai-llm
1
Forks
2
活跃 Issue
本月
最近提交
2 天前
收录于

概述

TestRail MCP Server 是一个专用集成,使 Claude、Cursor 和 Windsurf 等 AI 助手能够直接与 TestRail 测试管理平台交互。它提供了全面的功能,包括浏览项目、管理测试用例、创建测试运行和记录结果—all 都通过对话式 AI 交互实现。该服务器具有为 LLM 用例专门设计的强类型模式,确保结构化数据生成和验证。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:QA 工程师可以通过自然语言命令创建和更新测试用例,无需在不同应用程序间切换。
:测试自动化工程师可以使用 AI 助手以编程方式触发测试运行并更新结果。
:团队可以检索和分析测试用例元数据和自定义字段,以保持一致的测试实践。
:哪些 AI 助手与此 MCP 服务器兼容?
:TestRail 需要哪种身份验证方法?

什么时候选它

如果您已经在使用 TestRail 并希望将 AI 助手直接集成到您的 QA 工作流中,无需切换上下文,请选择它。

什么时候不要选它

如果您没有使用 TestRail,请不要选择它,因为它只与这个特定的测试管理平台集成。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • get_projects

    List all available active and completed projects in your TestRail instance

  • get_sections

    Navigate the precise folder/section hierarchy of any test suite

  • get_cases

    Query test cases with advanced filtering and pagination

  • get_case

    Fetch complete details of a specific test case

  • add_case

    Create a new test case with custom field validation

  • update_case

    Modify an existing test case's steps or metadata

  • update_cases

    Bulk-update multiple test cases simultaneously

  • add_run

    Generate a new focused test run in TestRail

  • get_tests

    Retrieve individual tests for a specific run with status filtering

  • add_results

    Submit test results to a test run using the specific test ID

  • add_results_for_cases

    Submit results to a run mapping directly to case IDs

  • add_attachment_to_run

    Attach logs, files, or artifacts directly to a test run

可对比工具

mcp-testrailtestrail-cli-mcptestrail-api-integrationai-test-management

安装

通过将 TestRail MCP Server 添加到您的 MCP 客户端配置来安装:

{
  "mcpServers": {
    "testrail": {
      "command": "npx",
      "args": ["-y", "@uarlouski/testrail-mcp-server@latest"],
      "env": {
        "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io",
        "TESTRAIL_USERNAME": "your@email.com",
        "TESTRAIL_API_KEY": "your-api-key",
        "TESTRAIL_ENABLE_SHARED_STEPS": "true"
      }
    }
  }
}

FAQ

哪些 AI 助手与此 MCP 服务器兼容?
TestRail MCP Server 适用于 Claude Desktop、Cursor、Windsurf 以及任何其他符合 MCP 的 AI 助手。
TestRail 需要哪种身份验证方法?
您需要在 MCP 配置中通过环境变量提供您的 TestRail 实例 URL、用户名和 API 密钥。

testrail-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。