MCP directory
TM

Testrail Mcp Server

by github.com/uarlouski · v3.3.1 · updated Oct 26, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @uarlouski/[email protected]

Environment variables

  • TESTRAIL_INSTANCE_URLrequired

    Base URL of your TestRail instance (e.g. https://example.testrail.io)

  • TESTRAIL_USERNAMErequired

    Email address used to authenticate with TestRail

  • TESTRAIL_API_KEYrequiredsecret

    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

  • TESTRAIL_REQUEST_TIMEOUT_MS

    Timeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)

More MCP servers