プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Testrail MCP Server

作者:uarlouskiバージョン 3.3.1i★ –iパソコンで動く
レジストリ名io.github.uarlouski/testrail-mcp-server

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY, TESTRAIL_ENABLE_SHARED_STEPS, TESTRAIL_ENABLE_CASE_HISTORY, TESTRAIL_ENABLE_RAG_TOOLS, TESTRAIL_ALLOW_WRITE_OPERATIONS, TESTRAIL_ALLOW_READ_OPERATIONS, TESTRAIL_ALLOW_DELETE_OPERATIONS, TESTRAIL_ENABLE_DEPRECATED_TOOLS, TESTRAIL_DISABLED_TOOLS, TESTRAIL_REQUEST_TIMEOUT_MS

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "testrail": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_INSTANCE_URL": "your-value",
        "TESTRAIL_USERNAME": "your-value",
        "TESTRAIL_API_KEY": "your-value",
        "TESTRAIL_ENABLE_SHARED_STEPS": "your-value",
        "TESTRAIL_ENABLE_CASE_HISTORY": "your-value",
        "TESTRAIL_ENABLE_RAG_TOOLS": "your-value",
        "TESTRAIL_ALLOW_WRITE_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_READ_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_DELETE_OPERATIONS": "your-value",
        "TESTRAIL_ENABLE_DEPRECATED_TOOLS": "your-value",
        "TESTRAIL_DISABLED_TOOLS": "your-value",
        "TESTRAIL_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add testrail --env TESTRAIL_INSTANCE_URL=your-value --env TESTRAIL_USERNAME=your-value --env TESTRAIL_API_KEY=your-value --env TESTRAIL_ENABLE_SHARED_STEPS=your-value --env TESTRAIL_ENABLE_CASE_HISTORY=your-value --env TESTRAIL_ENABLE_RAG_TOOLS=your-value --env TESTRAIL_ALLOW_WRITE_OPERATIONS=your-value --env TESTRAIL_ALLOW_READ_OPERATIONS=your-value --env TESTRAIL_ALLOW_DELETE_OPERATIONS=your-value --env TESTRAIL_ENABLE_DEPRECATED_TOOLS=your-value --env TESTRAIL_DISABLED_TOOLS=your-value --env TESTRAIL_REQUEST_TIMEOUT_MS=your-value -- npx -y @uarlouski/testrail-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "testrail": {
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_INSTANCE_URL": "your-value",
        "TESTRAIL_USERNAME": "your-value",
        "TESTRAIL_API_KEY": "your-value",
        "TESTRAIL_ENABLE_SHARED_STEPS": "your-value",
        "TESTRAIL_ENABLE_CASE_HISTORY": "your-value",
        "TESTRAIL_ENABLE_RAG_TOOLS": "your-value",
        "TESTRAIL_ALLOW_WRITE_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_READ_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_DELETE_OPERATIONS": "your-value",
        "TESTRAIL_ENABLE_DEPRECATED_TOOLS": "your-value",
        "TESTRAIL_DISABLED_TOOLS": "your-value",
        "TESTRAIL_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "testrail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@uarlouski/testrail-mcp-server"
      ],
      "env": {
        "TESTRAIL_INSTANCE_URL": "your-value",
        "TESTRAIL_USERNAME": "your-value",
        "TESTRAIL_API_KEY": "your-value",
        "TESTRAIL_ENABLE_SHARED_STEPS": "your-value",
        "TESTRAIL_ENABLE_CASE_HISTORY": "your-value",
        "TESTRAIL_ENABLE_RAG_TOOLS": "your-value",
        "TESTRAIL_ALLOW_WRITE_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_READ_OPERATIONS": "your-value",
        "TESTRAIL_ALLOW_DELETE_OPERATIONS": "your-value",
        "TESTRAIL_ENABLE_DEPRECATED_TOOLS": "your-value",
        "TESTRAIL_DISABLED_TOOLS": "your-value",
        "TESTRAIL_REQUEST_TIMEOUT_MS": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • TESTRAIL_INSTANCE_URL 必須 env
    Base URL of your TestRail instance (e.g. https://example.testrail.io)
  • TESTRAIL_USERNAME 必須 env
    Email address used to authenticate with TestRail
  • TESTRAIL_API_KEY 秘密 必須 env
    API key for authenticating with the TestRail API
  • TESTRAIL_ENABLE_SHARED_STEPS env
    Enable shared steps management
  • TESTRAIL_ENABLE_CASE_HISTORY env
    Enable test case history management
  • TESTRAIL_ENABLE_RAG_TOOLS env
    Enable Knowledge Base and RAG export tools
  • TESTRAIL_ALLOW_WRITE_OPERATIONS env
    Allow write operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_READ_OPERATIONS env
    Allow read operations on TestRail (defaults to true)
  • TESTRAIL_ALLOW_DELETE_OPERATIONS env
    Allow delete operations on TestRail (defaults to false)
  • TESTRAIL_ENABLE_DEPRECATED_TOOLS env
    Enable deprecated tools for backward compatibility (defaults to true)
  • TESTRAIL_DISABLED_TOOLS env
    Comma-separated list of tool names to disable
  • TESTRAIL_REQUEST_TIMEOUT_MS env
    Timeout in milliseconds for TestRail HTTP requests (defaults to 30000ms)

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント uarlouski で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの18365件のうち0%よりスターが多い
  • このカテゴリのほかの18365件のうち76%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの18365件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Testrail MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:TESTRAIL_INSTANCE_URL, TESTRAIL_USERNAME, TESTRAIL_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(3.3.1)がレジストリに届いたのは12 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Funooy Krillion Reference

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

🚀 TestRail MCP Server

Connect Claude, Cursor, Windsurf, and VS Code to TestRail — an open-source Model Context Protocol (MCP) server for AI-assisted test management.

Manage TestRail projects, search and create test cases, kick off test runs, record results, and attach files through natural-language conversation with your AI assistant — or from CI/CD with the bundled testrail-cli . Built for QA engineers and AI-assisted test automation.

Compatible with:

📚 Documentation · Getting Started · Tool Reference · FAQ


What is the TestRail MCP Server?

The TestRail MCP Server is a free, open-source Model Context Protocol server that gives AI assistants direct, structured access to a TestRail instance through the TestRail API v2. Once configured, an assistant such as Claude Desktop, Cursor, Windsurf, or GitHub Copilot in VS Code can search test cases, draft new ones, start test runs, record results, and upload attachments on your behalf — without you leaving the chat window.

It exposes 35 tools, runs locally on Node.js 18+ over the MCP stdio transport, and is licensed under Apache 2.0. There is nothing to host or deploy: your MCP client launches it on demand with npx.

No context switching. No tedious copy-pasting. Just ask your AI.

[!NOTE]

Compatibility baseline: tested and validated against TestRail 10.6.2 (API v2). Older TestRail instances (including pre-7.x pagination) are also supported via built-in backward compatibility. TestRail Cloud and self-hosted TestRail Server both work.

Table of contents

  • Key features
  • Quick start
  • Command line interface & CI/CD
  • Environment variables
  • Available tools
  • FAQ
  • Documentation
  • Contributing

✨ Key Features & Capabilities

CapabilityDescription
🔍 Intelligent DiscoveryBrowse projects, test suites, and sections to automatically map your QA organization.
📋 Full Case ManagementFetch, create, update, and bulk-edit test cases with comprehensive custom field support.
▶️ Actionable ExecutionCreate test runs, update results by test_id or case_id, attach files, and track statuses.
🧠 Context-Aware AIDynamically exposes templates, fields, priorities, and statuses so LLMs generate valid, structured data.
🖥️ CLI & CI/CD NativeRun every tool from bash, GitHub Actions, GitLab CI, or Jenkins with zero LLM overhead.
🔐 Least-Privilege ControlsPer-mode permissions plus per-tool allowlisting; destructive deletes are off by default.

🚀 Quick Start Guide

1. Obtain your TestRail API key

Navigate to My Settings → API Keys in TestRail and generate a new key. Copy it immediately — TestRail shows it only once. The API must also be enabled instance-wide under Administration → Site Settings → API.

2. Configure your MCP client

Add the server to your MCP client configuration. The Claude Desktop example is shown below; Cursor, Windsurf, and VS Code use the same pattern (see the collapsible sections).

🤖 Claude Desktop

Add this to your claude_desktop_config.json:

{

"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" } } } }

⌨️ Cursor

Open Settings → MCP → Add new MCP server, or edit .cursor/mcp.json in your project (~/.cursor/mcp.json for all projects):

{

"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" } } } }

</details>

🌊 Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{

"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" } } } }

</details>

💻 VS Code

Add to .vscode/mcp.json. The inputs block keeps your API key out of the file:

{

"inputs": [ { "id": "testrail-api-key", "type": "promptString", "description": "TestRail API key", "password": true } ], "servers": { "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": "${input:testrail-api-key}" } } } }

</details>

🌐 Other MCP Clients

Any MCP-compliant client can use this server, because it speaks the standard MCP stdio transport. Point your client at the npx command with the required environment variables — no port, URL, or transport configuration needed.

3. See it in action

Restart your client completely, then turbo-charge your QA workflow by asking your AI assistant:

  • *"List all projects in TestRail to find the latest active project."*
  • *"Show me all active users in the project to find the right assignee."*
  • *"Show me all test cases in section 5 of project 3."*
  • *"Create a comprehensive test case for 'Login Validation' with detailed steps."*
  • *"Start a new test run containing cases from section 5."*
  • *"Mark test case C1042 as passed with the comment 'verified on staging'."*

Full per-client setup instructions, including troubleshooting, are in the Getting Started guide.


🖥️ Command Line Interface (CLI) & CI/CD Automation

In addition to interacting via AI assistants, you can invoke any TestRail tool directly from shell scripts, terminal environments, and automated CI/CD pipelines (GitHub Actions, GitLab CI, Jenkins) using `testrail-cli` or `npx` — with zero LLM overhead.

  • Deterministic Execution: Returns standard Unix exit codes (0 on success, 1 on error).
  • Pipeline-Native Output: Emits clean JSON to stdout for piping into tools like jq, while diagnostics and errors go to stderr.
  • Zero Duplication: Reuses the exact same API client, retry logic, and validation schemas as the MCP server.
Invocation methods
# Method 1: Direct npx subcommand (Recommended)

npx @uarlouski/testrail-mcp-server cli [flags]

Method 2: Global or local binary

testrail-cli [flags]

Method 3: Via package runner

npx -p @uarlouski/testrail-mcp-server testrail-cli [flags]

Examples
Query projects (query_project)
# List all active projects

npx @uarlouski/testrail-mcp-server cli query_project --action many

Query a single project by ID

npx @uarlouski/testrail-mcp-server cli query_project --action one --project_id 1

Report automated test results (add_results_for_cases)
# Submit results by case_id — what your test framework already knows

npx @uarlouski/testrail-mcp-server cli add_results_for_cases \ --run_id 88 \ --results '[{"case_id":1042,"status_id":1,"comment":"Passed in CI"}]'

Export cases for knowledge base / RAG (export_cases_for_rag)
# Export all cases for a project into Markdown & metadata sidecars

npx @uarlouski/testrail-mcp-server cli export_cases_for_rag \ --project_id 1 \ --output_dir ./rag_exports

Export specific cases by ID (comma-separated list)

npx @uarlouski/testrail-mcp-server cli export_cases_for_rag \ --case_ids C101,C102,103 \ --output_dir ./rag_exports

Command discovery & flag documentation
# List all available commands

npx @uarlouski/testrail-mcp-server cli --help

Show parameter options for a specific tool

npx @uarlouski/testrail-mcp-server cli query_project --help

See the CLI & CI/CD guide for complete GitHub Actions, GitLab CI, and Jenkins workflows.


⚙️ Environment Variables & Security Controls

VariableDescriptionRequiredDefault
TESTRAIL_INSTANCE_URLYour TestRail instance URL (e.g., https://example.testrail.io)✅

| `TEST

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く