TestRail MCP Server
@sker65
About TestRail MCP Server
An mcp server for testrail
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"testrail-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@sker65/testrail-mcp",
"--client",
"claude"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is TestRail MCP Server?
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 MCP Server?
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 MCP Server
- 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 MCP Server
- 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
FAQ from TestRail MCP Server
What environment variables are required?
TESTRAIL_URL (your instance URL), TESTRAIL_USERNAME (your email), and TESTRAIL_API_KEY (your API key) are all required.
How do I generate a TestRail API key?
Log in to TestRail, go to "My Settings" > "API Keys" and create a new key.
Which MCP clients are supported?
Any MCP client that supports stdio communication, including Claude Desktop, Cursor, Windsurf, and MCP Inspector.
How do I run the server?
After installing and configuring environment variables, run uvx testrail-mcp.
Does the server run in stdio mode?
Yes, the server starts in stdio mode by default, suitable for most MCP clients.
Frequently asked questions
What environment variables are required?
TESTRAIL_URL (your instance URL), TESTRAIL_USERNAME (your email), and TESTRAIL_API_KEY (your API key) are all required.
How do I generate a TestRail API key?
Log in to TestRail, go to "My Settings" > "API Keys" and create a new key.
Which MCP clients are supported?
Any MCP client that supports stdio communication, including Claude Desktop, Cursor, Windsurf, and MCP Inspector.
How do I run the server?
After installing and configuring environment variables, run `uvx testrail-mcp`.
Does the server run in stdio mode?
Yes, the server starts in stdio mode by default, suitable for most MCP clients.
Basic information
More Other MCP servers
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
ICSS
chokcoco不止于 CSS
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Comments