pestrail (TestRail)
io.github.poyrazemun/pestrail
v1.2.0Updated Dec 1, 2026stdio · PyPI
Safety-first TestRail access: read runs, cases and results, add results. Never deletes anything.
Install
Needs 1 secret. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add pestrail -e 'TESTRAIL_URL=<your-testrail-url>' -e 'TESTRAIL_USERNAME=<your-testrail-username>' -e 'TESTRAIL_API_KEY=<your-testrail-api-key>' -e TESTRAIL_READ_ONLY=true -- uvx pestrail==1.2.0Configuration
9 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
TESTRAIL_API_KEYEnv var· required· secretTestRail API key (My Settings > API Keys). Never logged or returnedTESTRAIL_URLEnv var· requiredYour TestRail address, https only, e.g. https://your-company.testrail.ioTESTRAIL_USERNAMEEnv var· requiredThe email address you log in to TestRail withTESTRAIL_READ_ONLYEnv var· optionaltrue: only read tools. false: also add results and attachments (then set TESTRAIL_ATTACHMENT_ROOTS)Default:trueTESTRAIL_ATTACHMENT_ROOTSEnv var· optionalRequired when read-only is off: folders uploads may come from (';' between folders on Windows, ':' elsewhere)TESTRAIL_ALLOWED_PROJECT_IDSEnv var· optionalOptional: writes only in these projects, comma-separated, e.g. 3,P7
Show 3 moreShow fewer
TESTRAIL_ALLOWED_RUN_IDSEnv var· optionalOptional: writes only in these runs, comma-separated, e.g. R56,78PESTRAIL_TOOLSETSEnv var· optionalOptional: tool groups to offer besides the core tools: attachments, history, fields, milestones, users (core = none). Default: allPESTRAIL_ENV_FILEEnv var· optionalOnly this configuration counts: no personal .env file is read
Links
Listed in the official MCP Registry since Dec 1, 2026. Mirrored daily; last checked Dec 1, 2026.