Skip to content
Cursor

pestrail (TestRail) for Cursor

io.github.poyrazemun/pestrail

Safety-first TestRail access: read runs, cases and results, add results. Never deletes anything.

client:Cursor transport:stdio runtime:pypi

Install pestrail (TestRail) in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "pestrail": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pestrail"
      ],
      "env": {
        "TESTRAIL_URL": "<TESTRAIL_URL>",
        "TESTRAIL_USERNAME": "<TESTRAIL_USERNAME>",
        "TESTRAIL_API_KEY": "<TESTRAIL_API_KEY>",
        "TESTRAIL_READ_ONLY": "<TESTRAIL_READ_ONLY>",
        "TESTRAIL_ATTACHMENT_ROOTS": "<TESTRAIL_ATTACHMENT_ROOTS>",
        "TESTRAIL_ALLOWED_PROJECT_IDS": "<TESTRAIL_ALLOWED_PROJECT_IDS>",
        "TESTRAIL_ALLOWED_RUN_IDS": "<TESTRAIL_ALLOWED_RUN_IDS>",
        "PESTRAIL_TOOLSETS": "<PESTRAIL_TOOLSETS>",
        "TESTRAIL_ALLOW_CASE_CREATION": "<TESTRAIL_ALLOW_CASE_CREATION>",
        "PESTRAIL_ENV_FILE": "<PESTRAIL_ENV_FILE>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

pestrail (TestRail) in other clients