Skip to content
Claude Code

pestrail (TestRail) for Claude Code

io.github.poyrazemun/pestrail

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

client:Claude Code transport:stdio runtime:pypi

Install pestrail (TestRail) in Claude Code

run in your project directory

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

claude mcp add pestrail -e TESTRAIL_URL=<TESTRAIL_URL> -e TESTRAIL_USERNAME=<TESTRAIL_USERNAME> -e TESTRAIL_API_KEY=<TESTRAIL_API_KEY> -e TESTRAIL_READ_ONLY=<TESTRAIL_READ_ONLY> -e TESTRAIL_ATTACHMENT_ROOTS=<TESTRAIL_ATTACHMENT_ROOTS> -e TESTRAIL_ALLOWED_PROJECT_IDS=<TESTRAIL_ALLOWED_PROJECT_IDS> -e TESTRAIL_ALLOWED_RUN_IDS=<TESTRAIL_ALLOWED_RUN_IDS> -e PESTRAIL_TOOLSETS=<PESTRAIL_TOOLSETS> -e TESTRAIL_ALLOW_CASE_CREATION=<TESTRAIL_ALLOW_CASE_CREATION> -e PESTRAIL_ENV_FILE=<PESTRAIL_ENV_FILE> -- uvx pestrail

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

pestrail (TestRail) in other clients