Skip to content
Cline

testrail mcp server for Cline

io.github.uarlouski/testrail-mcp-server

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

client:Cline transport:stdio runtime:npm

Install testrail mcp server in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "testrail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_INSTANCE_URL": "<TESTRAIL_INSTANCE_URL>",
        "TESTRAIL_USERNAME": "<TESTRAIL_USERNAME>",
        "TESTRAIL_API_KEY": "<TESTRAIL_API_KEY>",
        "TESTRAIL_ENABLE_SHARED_STEPS": "<TESTRAIL_ENABLE_SHARED_STEPS>",
        "TESTRAIL_ENABLE_CASE_HISTORY": "<TESTRAIL_ENABLE_CASE_HISTORY>",
        "TESTRAIL_ENABLE_RAG_TOOLS": "<TESTRAIL_ENABLE_RAG_TOOLS>",
        "TESTRAIL_ALLOW_WRITE_OPERATIONS": "<TESTRAIL_ALLOW_WRITE_OPERATIONS>",
        "TESTRAIL_ALLOW_READ_OPERATIONS": "<TESTRAIL_ALLOW_READ_OPERATIONS>",
        "TESTRAIL_ALLOW_DELETE_OPERATIONS": "<TESTRAIL_ALLOW_DELETE_OPERATIONS>",
        "TESTRAIL_ENABLE_DEPRECATED_TOOLS": "<TESTRAIL_ENABLE_DEPRECATED_TOOLS>",
        "TESTRAIL_DISABLED_TOOLS": "<TESTRAIL_DISABLED_TOOLS>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

testrail mcp server in other clients