MCP Catalogs
Home

testrail-mcp-server

by uarlouski·25·Score 44

MCP server connecting AI assistants to TestRail for test case management and execution through natural language.

developer-toolsproductivityai-llm
1
Forks
2
Open issues
this month
Last commit
2d ago
Indexed

Overview

TestRail MCP Server is a purpose-built integration that enables AI assistants like Claude, Cursor, and Windsurf to directly interact with TestRail test management platforms. It provides comprehensive tools for browsing projects, managing test cases, creating test runs, and recording results—all through conversational AI interactions. The server features heavily typed schemas specifically designed for LLM use cases, ensuring structured data generation and validation.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:QA engineers can create and update test cases through natural language commands without switching between applications.
you:Test automation engineers can programmatically trigger test runs and update results using AI assistants.
you:Teams can retrieve and analyze test case metadata and custom fields to maintain consistent testing practices.
you:Which AI assistants are compatible with this MCP server?
you:What authentication method is required for TestRail?

When to choose this

Choose this if you're already using TestRail and want to integrate AI assistants directly into your QA workflow without context switching.

When NOT to choose this

Don't choose this if you're not already using TestRail, as it only integrates with this specific test management platform.

Tools this server exposes

12 tools extracted from the README
  • get_projects

    List all available active and completed projects in your TestRail instance

  • get_sections

    Navigate the precise folder/section hierarchy of any test suite

  • get_cases

    Query test cases with advanced filtering and pagination

  • get_case

    Fetch complete details of a specific test case

  • add_case

    Create a new test case with custom field validation

  • update_case

    Modify an existing test case's steps or metadata

  • update_cases

    Bulk-update multiple test cases simultaneously

  • add_run

    Generate a new focused test run in TestRail

  • get_tests

    Retrieve individual tests for a specific run with status filtering

  • add_results

    Submit test results to a test run using the specific test ID

  • add_results_for_cases

    Submit results to a run mapping directly to case IDs

  • add_attachment_to_run

    Attach logs, files, or artifacts directly to a test run

Comparable tools

mcp-testrailtestrail-cli-mcptestrail-api-integrationai-test-management

Installation

Install the TestRail MCP Server by adding it to your MCP client configuration:

{
  "mcpServers": {
    "testrail": {
      "command": "npx",
      "args": ["-y", "@uarlouski/testrail-mcp-server@latest"],
      "env": {
        "TESTRAIL_INSTANCE_URL": "https://your-instance.testrail.io",
        "TESTRAIL_USERNAME": "your@email.com",
        "TESTRAIL_API_KEY": "your-api-key",
        "TESTRAIL_ENABLE_SHARED_STEPS": "true"
      }
    }
  }
}

FAQ

Which AI assistants are compatible with this MCP server?
The TestRail MCP Server works with Claude Desktop, Cursor, Windsurf, and any other MCP-compliant AI assistants.
What authentication method is required for TestRail?
You need to provide your TestRail instance URL, username, and API key through environment variables in your MCP configuration.

Compare testrail-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.