pestrail (TestRail)
Safety-first TestRail access: read runs, cases and results, add results. Never deletes anything.
Documentation & Preview
{ "mcpServers": { "mcp-pestrail-2e0c145e810826baf216": { "command": "uvx", "args": [ "--from", "pestrail==1.3.0", "pestrail" ], "env": { "TESTRAIL_URL": "${ENV_TESTRAIL_URL}", "TESTRAIL_USERNAME": "${ENV_TESTRAIL_USERNAME}", "TESTRAIL_API_KEY": "${ENV_TESTRAIL_API_KEY}", "TESTRAIL_READ_ONLY": "${ENV_TESTRAIL_READ_ONLY}", "TESTRAIL_ATTACHMENT_ROOTS": "${ENV_TESTRAIL_ATTACHMENT_ROOTS}", "TESTRAIL_ALLOWED_PROJECT_IDS": "${ENV_TESTRAIL_ALLOWED_PROJECT_IDS}", "TESTRAIL_ALLOWED_RUN_IDS": "${ENV_TESTRAIL_ALLOWED_RUN_IDS}", "PESTRAIL_TOOLSETS": "${ENV_PESTRAIL_TOOLSETS}", "TESTRAIL_ALLOW_CASE_CREATION": "${ENV_TESTRAIL_ALLOW_CASE_CREATION}", "PESTRAIL_ENV_FILE": "${ENV_PESTRAIL_ENV_FILE}" } } }, "setup": { "fields": [ { "id": "ENV_TESTRAIL_URL", "label": "TESTRAIL_URL", "description": "Your TestRail address, https only, e.g. https://your-company.testrail.io", "required": true, "secret": false, "default": "" }, { "id": "ENV_TESTRAIL_USERNAME", "label": "TESTRAIL_USERNAME", "description": "The email address you log in to TestRail with", "required": true, "secret": false, "default": "" }, { "id": "ENV_TESTRAIL_API_KEY", "label": "TESTRAIL_API_KEY", "description": "TestRail API key (My Settings > API Keys). Never logged or returned", "required": true, "secret": true, "default": "" }, { "id": "ENV_TESTRAIL_READ_ONLY", "label": "TESTRAIL_READ_ONLY", "description": "true: only read tools. false: also add results and attachments (then set TESTRAIL_ATTACHMENT_ROOTS)", "required": false, "secret": false, "default": "true" }, { "id": "ENV_TESTRAIL_ATTACHMENT_ROOTS", "label": "TESTRAIL_ATTACHMENT_ROOTS", "description": "Required when read-only is off: folders uploads may come from (';' between folders on Windows, ':' elsewhere)", "required": false, "secret": false, "default": "" }, { "id": "ENV_TESTRAIL_ALLOWED_PROJECT_IDS", "label": "TESTRAIL_ALLOWED_PROJECT_IDS", "description": "Optional: writes only in these projects, comma-separated, e.g. 3,P7", "required": false, "secret": false, "default": "" }, { "id": "ENV_TESTRAIL_ALLOWED_RUN_IDS", "label": "TESTRAIL_ALLOWED_RUN_IDS", "description": "Optional: writes only in these runs, comma-separated, e.g. R56,78", "required": false, "secret": false, "default": "" }, { "id": "ENV_PESTRAIL_TOOLSETS", "label": "PESTRAIL_TOOLSETS", "description": "Optional: tool groups to offer besides the core tools: attachments, history, fields, milestones, users (core = none). Default: all", "required": false, "secret": false, "default": "" }, { "id": "ENV_TESTRAIL_ALLOW_CASE_CREATION", "label": "TESTRAIL_ALLOW_CASE_CREATION", "description": "true: in write mode, also create new test cases (max 5 per call) in TESTRAIL_ALLOWED_PROJECT_IDS (required). Existing cases are never changed", "required": false, "secret": false, "default": "false" }, { "id": "ENV_PESTRAIL_ENV_FILE", "label": "PESTRAIL_ENV_FILE", "description": "Only this configuration counts: no personal .env file is read", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Python 与 uv / uvx" ] }, "provenance": { "registryServer": "io.github.poyrazemun/pestrail", "registryVersion": "1.3.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.poyrazemun%2Fpestrail/versions/1.3.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "pypi", "identifier": "pestrail", "version": "1.3.0", "wheelSha256": "a4408701372da567340381d3e44b4f7223b6b034186c113049051483c169c26b", "registryNameMatched": "io.github.poyrazemun/pestrail", "checkedAt": "2026-12-03T14:26:53.072Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }