MCP.so
Sign In
Servers

TestRail MCP Server

@sker65

An mcp server for testrail

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.

More from Other