Safety-first TestRail access: read runs, cases and results, add results. Never deletes anything.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add pestrail \ -e TESTRAIL_URL=YOUR_TESTRAIL_URL \ -e TESTRAIL_USERNAME=YOUR_TESTRAIL_USERNAME \ -e TESTRAIL_API_KEY=YOUR_TESTRAIL_API_KEY \ -- uvx pestrail==1.2.0
Environment
TESTRAIL_URL (required): Your TestRail address, https only, e.g. https://your-company.testrail.ioTESTRAIL_USERNAME (required): The email address you log in to TestRail withTESTRAIL_API_KEY (required): TestRail API key (My Settings > API Keys). Never logged or returnedTESTRAIL_READ_ONLY (optional, not in the config above): true: only read tools. false: also add results and attachments (then set TESTRAIL_ATTACHMENT_ROOTS)TESTRAIL_ATTACHMENT_ROOTS (optional, not in the config above): Required when read-only is off: folders uploads may come from (';' between folders on Windows, ':' elsewhere)TESTRAIL_ALLOWED_PROJECT_IDS (optional, not in the config above): Optional: writes only in these projects, comma-separated, e.g. 3,P7TESTRAIL_ALLOWED_RUN_IDS (optional, not in the config above): Optional: writes only in these runs, comma-separated, e.g. R56,78PESTRAIL_TOOLSETS (optional, not in the config above): Optional: tool groups to offer besides the core tools: attachments, history, fields, milestones, users (core = none). Default: allPESTRAIL_ENV_FILE (optional, not in the config above): Only this configuration counts: no personal .env file is readWe don't run packages, so we can't list this server's tools.