Home › Other › testrail-mcp-server

testrail-mcp-server

Connect AI assistants to TestRail: manage test cases, suites, runs, results, and attachments.

TypeScript
★ 39 stars Last pushed 2026-09-22 License: Apache-2.0

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 3.0.0)

npx -y @uarlouski/testrail-mcp-server@3.0.0

Or add to your MCP client config:

{
  "mcpServers": {
    "testrail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server@3.0.0"
      ],
      "env": {
        "TESTRAIL_INSTANCE_URL": "<YOUR_VALUE>",
        "TESTRAIL_USERNAME": "<YOUR_VALUE>",
        "TESTRAIL_API_KEY": "<YOUR_VALUE>",
        "TESTRAIL_ENABLE_SHARED_STEPS": "<YOUR_VALUE>",
        "TESTRAIL_ENABLE_CASE_HISTORY": "<YOUR_VALUE>",
        "TESTRAIL_ENABLE_RAG_TOOLS": "<YOUR_VALUE>",
        "TESTRAIL_ALLOW_WRITE_OPERATIONS": "<YOUR_VALUE>",
        "TESTRAIL_ALLOW_READ_OPERATIONS": "<YOUR_VALUE>",
        "TESTRAIL_ALLOW_DELETE_OPERATIONS": "<YOUR_VALUE>",
        "TESTRAIL_ENABLE_DEPRECATED_TOOLS": "<YOUR_VALUE>",
        "TESTRAIL_DISABLED_TOOLS": "<YOUR_VALUE>"
      }
    }
  }
}
  • TESTRAIL_INSTANCE_URL required — Base URL of your TestRail instance (e.g. https://example.testrail.io)
  • TESTRAIL_USERNAME required — Email address used to authenticate with TestRail
  • TESTRAIL_API_KEY required secret — API key for authenticating with the TestRail API
  • TESTRAIL_ENABLE_SHARED_STEPS — Enable shared steps management
  • TESTRAIL_ENABLE_CASE_HISTORY — Enable test case history management
  • TESTRAIL_ENABLE_RAG_TOOLS — Enable Knowledge Base and RAG export tools
  • TESTRAIL_ALLOW_WRITE_OPERATIONS — Allow write operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_READ_OPERATIONS — Allow read operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_DELETE_OPERATIONS — Allow delete operations on TestRail (defaults to false)
  • TESTRAIL_ENABLE_DEPRECATED_TOOLS — Enable deprecated tools for backward compatibility (defaults to true)
  • TESTRAIL_DISABLED_TOOLS — Comma-separated list of tool names to disable

Related servers

Data from the Official MCP Registry