mcpbeat Sign in

Testrail MCP Server

by uarlouski Your server? Claim it
local only

Testrail MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 1 973 installs a week from npm. Last commit 23 Oct 2026.

Connect AI assistants to TestRail: manage test cases, suites, runs, results, and attachments.

Installs per day peak 621 · avg 156 · +305% w/w
a month agotoday
1 973
Installs / week
npm · @uarlouski/testrail-mcp-server
44
Stars
2 open issues
23 Oct 2026
Last commit
13 releases in 90 days
Apache-2.0
License
TypeScript

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/tools/cases/export_cases_for_rag.ts:292
            await fs.promises.writeFile(path.join(targetDir, docFilename), markdownContent, "utf-8");

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add testrail-mcp-server -e 'TESTRAIL_INSTANCE_URL=<TESTRAIL_INSTANCE_URL>' -e 'TESTRAIL_USERNAME=<TESTRAIL_USERNAME>' -e 'TESTRAIL_API_KEY=<TESTRAIL_API_KEY>' -- npx -y @uarlouski/testrail-mcp-server
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "testrail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_API_KEY": "<TESTRAIL_API_KEY>",
        "TESTRAIL_INSTANCE_URL": "<TESTRAIL_INSTANCE_URL>",
        "TESTRAIL_USERNAME": "<TESTRAIL_USERNAME>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.testrail-mcp-server]
command = "npx"
args = ["-y", "@uarlouski/testrail-mcp-server"]
env = { TESTRAIL_INSTANCE_URL = "<TESTRAIL_INSTANCE_URL>", TESTRAIL_USERNAME = "<TESTRAIL_USERNAME>", TESTRAIL_API_KEY = "<TESTRAIL_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "testrail-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_API_KEY": "<TESTRAIL_API_KEY>",
        "TESTRAIL_INSTANCE_URL": "<TESTRAIL_INSTANCE_URL>",
        "TESTRAIL_USERNAME": "<TESTRAIL_USERNAME>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "testrail-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_API_KEY": "<TESTRAIL_API_KEY>",
        "TESTRAIL_INSTANCE_URL": "<TESTRAIL_INSTANCE_URL>",
        "TESTRAIL_USERNAME": "<TESTRAIL_USERNAME>"
      }
    }
  }
}

Put your own values in place of <TESTRAIL_INSTANCE_URL> (Base URL of your TestRail instance (e.g. https://example.testrail.io)), <TESTRAIL_USERNAME> (Email address used to authenticate with TestRail), <TESTRAIL_API_KEY> (API key for authenticating with the TestRail API). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: TESTRAIL_ENABLE_SHARED_STEPS (Enable shared steps management), TESTRAIL_ENABLE_CASE_HISTORY (Enable test case history management), TESTRAIL_ENABLE_RAG_TOOLS (Enable Knowledge Base and RAG export tools), TESTRAIL_ALLOW_WRITE_OPERATIONS (Allow write operations on TestRail (defaults to true)), TESTRAIL_ALLOW_READ_OPERATIONS (Allow read operations on TestRail (defaults to true)), TESTRAIL_ALLOW_DELETE_OPERATIONS (Allow delete operations on TestRail (defaults to false)), TESTRAIL_ENABLE_DEPRECATED_TOOLS (Enable deprecated tools for backward compatibility (defaults to true)), TESTRAIL_DISABLED_TOOLS (Comma-separated list of tool names to disable), TESTRAIL_REQUEST_TIMEOUT_MS (Timeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)).

Alternatives to Testrail MCP Server

same job, measured the same way
Testiny Test Management
by testiny

Create and manage test cases, test runs and results in Testiny from your AI assistant.

answering
Testrigor
by testrigor

Manage test suites, run tests, view results, and automate QA workflows via AI with testRigor.

answering
Qase Test Management
by qase

Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.

10 456 installs/wk answering
MATLAB MCP Server
by matlab

Connect AI coding agents to MATLAB. Run code, tests, and analysis via MCP.

local only
Bugasura
by bugasura

Bug tracking and test management: issues, test cases, sprints, runs, requirements and KB.

answering
Divinci AI
by divinci

Release management and QA for custom AI assistants: RAG, releases, scored QA, signed TrustBench runs

answering
M
marginal
by marginal

Email A/B tests for AI agents: subject lines, managed sends, open/click tracking, and results.

answering
Testera
by sslugic

Free test management over MCP: projects, test cases, plans, runs, environments and tasks.

answering

Testrail MCP Server — questions

Answers built from our own checks of this server.

Why is there no uptime for Testrail MCP Server?
Testrail MCP Server runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @uarlouski/testrail-mcp-server was installed 1 973 times last week.
How do I connect Testrail MCP Server?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @uarlouski/testrail-mcp-server straight from npm; nothing to host, nothing to sign up for.
How many people use Testrail MCP Server?
The npm package @uarlouski/testrail-mcp-server was installed 1 973 times in the last week. Week over week that is +305%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Testrail MCP Server open source?
Yes — it is published under the Apache-2.0 licence, written in TypeScript, 44 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.