MCP server for TestRail that enables AI assistants to interact with TestRail's test management platform. It can query and manage projects, test cases, runs, results, plans, milestones, and more.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.TESTRAIL_API_KEY— testrailMcp.apiKey Yes — TestRail API key (generate at My Settings > API Keys)TESTRAIL_BASE_URL— testrailMcp.baseUrl Yes — TestRail instance URL (e.g., https://company.testrail.io)TESTRAIL_CACHE_DIR— testrailMcp.cacheDir No ~/.testrail-mcp-cache Directory for disk cache filesTESTRAIL_CACHE_ENABLED— testrailMcp.cacheEnabled No true Enable disk caching for semi-static TestRail dataTESTRAIL_CACHE_TTL_HOURS— testrailMcp.cacheTtlHours No 168 (7 days) Cache time-to-live in hoursTESTRAIL_MAX_RESULTS— testrailMcp.maxResults No 250 Default page size for list queries (max 250)TESTRAIL_PROJECT_ID— testrailMcp.projectId Yes — Default project ID (used when not specified in tool params)TESTRAIL_TIMEOUT_MS— testrailMcp.timeout No 30000 HTTP request timeout in millisecondsTESTRAIL_USERNAME— testrailMcp.username Yes — TestRail username (email address)[](https://m8ven.ai/mcp/bhayanak-testrail-mcp-server-1pjw9o)