Testrail MCP Server
io.github.uarlouski/testrail-mcp-server
v3.3.1Updated Oct 26, 2026stdio · npm
Connect AI assistants to TestRail: manage test cases, suites, runs, results, and attachments.
Install
Needs 1 secret. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add testrail-mcp-server -e 'TESTRAIL_INSTANCE_URL=<your-testrail-instance-url>' -e 'TESTRAIL_USERNAME=<your-testrail-username>' -e 'TESTRAIL_API_KEY=<your-testrail-api-key>' -- npx -y @uarlouski/[email protected]Configuration
12 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
TESTRAIL_API_KEYEnv var· required· secretAPI key for authenticating with the TestRail APITESTRAIL_INSTANCE_URLEnv var· requiredBase URL of your TestRail instance (e.g. https://example.testrail.io)TESTRAIL_USERNAMEEnv var· requiredEmail address used to authenticate with TestRailTESTRAIL_ENABLE_SHARED_STEPSEnv var· optionalEnable shared steps managementTESTRAIL_ENABLE_CASE_HISTORYEnv var· optionalEnable test case history managementTESTRAIL_ENABLE_RAG_TOOLSEnv var· optionalEnable Knowledge Base and RAG export tools
Show 6 moreShow fewer
TESTRAIL_ALLOW_WRITE_OPERATIONSEnv var· optionalAllow write operations on TestRail (defaults to true)TESTRAIL_ALLOW_READ_OPERATIONSEnv var· optionalAllow read operations on TestRail (defaults to true)TESTRAIL_ALLOW_DELETE_OPERATIONSEnv var· optionalAllow delete operations on TestRail (defaults to false)TESTRAIL_ENABLE_DEPRECATED_TOOLSEnv var· optionalEnable deprecated tools for backward compatibility (defaults to true)TESTRAIL_DISABLED_TOOLSEnv var· optionalComma-separated list of tool names to disableTESTRAIL_REQUEST_TIMEOUT_MSEnv var· optionalTimeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)
Links
Listed in the official MCP Registry since Oct 26, 2026. Mirrored daily; last checked Nov 26, 2026.