testrail-mcp-server
by uarlouski·★ 25·Score 44
MCP server connecting AI assistants to TestRail for test case management and execution through natural language.
Overview
TestRail MCP Server is a purpose-built integration that enables AI assistants like Claude, Cursor, and Windsurf to directly interact with TestRail test management platforms. It provides comprehensive tools for browsing projects, managing test cases, creating test runs, and recording results—all through conversational AI interactions. The server features heavily typed schemas specifically designed for LLM use cases, ensuring structured data generation and validation.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you're already using TestRail and want to integrate AI assistants directly into your QA workflow without context switching.
When NOT to choose this
Don't choose this if you're not already using TestRail, as it only integrates with this specific test management platform.
Tools this server exposes
12 tools extracted from the READMEget_projectsList all available active and completed projects in your TestRail instance
get_sectionsNavigate the precise folder/section hierarchy of any test suite
get_casesQuery test cases with advanced filtering and pagination
get_caseFetch complete details of a specific test case
add_caseCreate a new test case with custom field validation
update_caseModify an existing test case's steps or metadata
update_casesBulk-update multiple test cases simultaneously
add_runGenerate a new focused test run in TestRail
get_testsRetrieve individual tests for a specific run with status filtering
add_resultsSubmit test results to a test run using the specific test ID
add_results_for_casesSubmit results to a run mapping directly to case IDs
add_attachment_to_runAttach logs, files, or artifacts directly to a test run
Comparable tools
Installation
Install the TestRail MCP Server by adding it to your MCP client configuration:
{
"mcpServers": {
"testrail": {
"command": "npx",
"args": ["-y", "@uarlouski/testrail-mcp-server@latest"],
"env": {
"TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "your@email.com",
"TESTRAIL_API_KEY": "your-api-key",
"TESTRAIL_ENABLE_SHARED_STEPS": "true"
}
}
}
}FAQ
- Which AI assistants are compatible with this MCP server?
- The TestRail MCP Server works with Claude Desktop, Cursor, Windsurf, and any other MCP-compliant AI assistants.
- What authentication method is required for TestRail?
- You need to provide your TestRail instance URL, username, and API key through environment variables in your MCP configuration.
Compare testrail-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.