MCP.so
Sign In

TestRail MCP Server

@sker65

Basic information

Category

Other

License

MIT

Transports

stdio

Author

sker65

Submitted by

Stefan Rinke

About TestRail MCP Server

An mcp server for testrail

TestRail MCP Server 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"
      ]
    }
  }
}

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.

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

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.

Comments

More Other MCP servers