Basic information
About TestRail MCP Server
Bridge TestRail with AI tools for smarter, streamlined software testing workflows. Leverage artificial intelligence in software testing projects.
TestRail is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by sker65. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 20 GitHub stars. Source code is hosted on github.com. Related topics: community, developer-tools, productivity.
Setup
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}
{
"servers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}
TestRail MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}
TestRail MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is TestRail?
A Model Context Protocol (MCP) server for TestRail that allows interaction with TestRail's core entities—projects, cases, runs, results, and datasets—through a standardized protocol. It is designed for AI agents and MCP clients to communicate with TestRail.
How to use TestRail?
Install via Smithery or manually with Python, set the required environment variables (TESTRAIL_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY), then run uvx testrail-mcp. Connect with any MCP client (e.g., Claude Desktop, Cursor, Windsurf) using the appropriate JSON configuration.
Key features of TestRail
- Authentication with TestRail API
- Access to TestRail entities: Projects, Cases, Runs, Results, Datasets
- Full support for the Model Context Protocol
- Compatible with any MCP client (Claude Desktop, Cursor, Windsurf, etc.)
Use cases of TestRail
- Interact with TestRail data through AI assistants like Claude Desktop
- Retrieve project, case, and run information programmatically
- Automate test result lookups and updates within development workflows
- Integrate TestRail knowledge into MCP-powered tools and pipelines
Frequently asked questions
1 What environment variables are required?
TESTRAIL_URL (your instance URL), TESTRAIL_USERNAME (your email), and TESTRAIL_API_KEY (your API key) are all required.
2 How do I generate a TestRail API key?
Log in to TestRail, go to "My Settings" > "API Keys" and create a new key.
3 Which MCP clients are supported?
Any MCP client that supports stdio communication, including Claude Desktop, Cursor, Windsurf, and MCP Inspector.
4 How do I run the server?
After installing and configuring environment variables, run uvx testrail-mcp.
5 Does the server run in stdio mode?
Yes, the server starts in stdio mode by default, suitable for most MCP clients.
Videos
Tutorials, guides, and showcases related to TestRail MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In