MCP ExplorerExplorer

Testrail Mcp

@inconcepton 10 months ago
2 MIT
FreeCommunity
AI Systems
TestRail MCP integrates with TestRail to automate test cases using LLM.

Overview

What is Testrail Mcp

testrail-mcp is a Model Context Protocol (MCP) server designed for integrating with TestRail, enabling the automation of test cases using large language models (LLM).

Use cases

Use cases for testrail-mcp include automating the execution of test cases, integrating testing workflows with continuous integration/continuous deployment (CI/CD) pipelines, and enhancing test management processes.

How to use

To use testrail-mcp, run the server using the command ‘npx testrail-mcp’. Configure your MCP client by adding a .cursor/msp.json file with the necessary TestRail API credentials.

Key features

Key features of testrail-mcp include seamless integration with TestRail, support for automation of test cases, and compatibility with MCP clients that utilize stdio communication.

Where to use

testrail-mcp can be used in software development and testing environments where TestRail is employed for test case management and automation.

Content

TestRail MCP Integration

This project provides a Model Context Protocol (MCP) server for integrating with TestRail, allowing to automate test cases using LLM.

Prerequisites

  • Node.js 20 or later
  • pnpm 10.7.0 or later
  • TestRail instance with API access

Usage

Running the server

The server can be run directly using the installed script:

npx testrail-mcp

This will start the MCP server in stdio mode, which can be used with MCP clients that support stdio communication.

Using with Cursor

In cursor add .cursor/msp.json file with the following configuration

{
  "mcpServers": {
    "testrail-mcp": {
      "name": "TestRail MCP",
      "command": "npx",
      "args": [
        "testrail-mcp"
      ],
      "env": {
        "TESTRAIL_HOST": "https://your-instance.testrail.io",
        "TESTRAIL_USERNAME": "[email protected]",
        "TESTRAIL_API_KEY": "your-api-key"
      }
    }
  }
}

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers