Skip to main content

Testrail MCP Server

io.github.uarlouski/testrail-mcp-server

v3.3.1Updated Oct 26, 2026stdio · npm

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

Install

Needs 1 secret. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add testrail-mcp-server -e 'TESTRAIL_INSTANCE_URL=<your-testrail-instance-url>' -e 'TESTRAIL_USERNAME=<your-testrail-username>' -e 'TESTRAIL_API_KEY=<your-testrail-api-key>' -- npx -y @uarlouski/[email protected]

Configuration

12 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • TESTRAIL_API_KEY
    Env var· required· secret
    API key for authenticating with the TestRail API
  • TESTRAIL_INSTANCE_URL
    Env var· required
    Base URL of your TestRail instance (e.g. https://example.testrail.io)
  • TESTRAIL_USERNAME
    Env var· required
    Email address used to authenticate with TestRail
  • TESTRAIL_ENABLE_SHARED_STEPS
    Env var· optional
    Enable shared steps management
  • TESTRAIL_ENABLE_CASE_HISTORY
    Env var· optional
    Enable test case history management
  • TESTRAIL_ENABLE_RAG_TOOLS
    Env var· optional
    Enable Knowledge Base and RAG export tools
Show 6 more
  • TESTRAIL_ALLOW_WRITE_OPERATIONS
    Env var· optional
    Allow write operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_READ_OPERATIONS
    Env var· optional
    Allow read operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_DELETE_OPERATIONS
    Env var· optional
    Allow delete operations on TestRail (defaults to false)
  • TESTRAIL_ENABLE_DEPRECATED_TOOLS
    Env var· optional
    Enable deprecated tools for backward compatibility (defaults to true)
  • TESTRAIL_DISABLED_TOOLS
    Env var· optional
    Comma-separated list of tool names to disable
  • TESTRAIL_REQUEST_TIMEOUT_MS
    Env var· optional
    Timeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)

Listed in the official MCP Registry since Oct 26, 2026. Mirrored daily; last checked Nov 26, 2026.