TestRail MCP Server
TestRail MCP サーバー
標準化されたプロトコルを通じて TestRail のコア エンティティとの対話を可能にする、TestRail 用の Model Context Protocol (MCP) サーバー。
特徴
TestRail API による認証
TestRail エンティティへのアクセス:
プロジェクト
事例
ラン
結果
データセット
モデルコンテキストプロトコルの完全サポート
あらゆる MCP クライアント (Claude Desktop、Cursor、Windsurf など) と互換性があります
Related MCP server: TestRail MCP Server
Octomind MCPと一緒に動作を確認してください

インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の testrail-mcp を自動的にインストールするには:
npx -y @smithery/cli install @sker65/testrail-mcp --client claude手動インストール
このリポジトリをクローンします:
git clone https://github.com/yourusername/testrail-mcp.git cd testrail-mcp仮想環境を作成してアクティブ化します。
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
pip install -e .
構成
TestRail MCP サーバーは、TestRail インスタンスの認証に特定の環境変数を必要とします。これらの環境変数は、サーバーを実行する前に設定する必要があります。
プロジェクトのルート ディレクトリに
.envファイルを作成します。TESTRAIL_URL=https://your-instance.testrail.io TESTRAIL_USERNAME=your-email@example.com TESTRAIL_API_KEY=your-api-key重要な注意事項:
TESTRAIL_URL、TestRail インスタンスへの完全な URL である必要があります (例:https://example.testrail.io)TESTRAIL_USERNAMEはログインに使用するTestRailのメールアドレスですTESTRAIL_API_KEYは TestRail API キーです (パスワードではありません)APIキーを生成するには、TestRailにログインし、「マイ設定」>「APIキー」に移動して新しいキーを作成します。
構成が正しくロードされていることを確認します。
uvx testrail-mcp --configこれにより、URL、ユーザー名、検証用の API キーの最初の数文字など、TestRail 構成情報が表示されます。
Claude DesktopやCursorなどのクライアントでこのサーバーを使用している場合は、サーバーを実行しているプロセスが環境変数にアクセスできることを確認してください。これらの変数をシステム環境で設定するか、 .envファイルから読み込まれるようにする必要があるかもしれません。
使用法
サーバーの実行
インストールされたスクリプトを使用してサーバーを直接実行できます。
uvx testrail-mcpこれにより、MCP サーバーが stdio モードで起動され、stdio 通信をサポートする MCP クライアントで使用できるようになります。
MCPクライアントでの使用
クロードデスクトップ
Claude Desktop で、次の構成で新しいサーバーを追加します。
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "your-email@example.com",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}カーソル
カーソルで、次の構成の新しいカスタム ツールを追加します。
{
"name": "TestRail MCP",
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "your-email@example.com",
"TESTRAIL_API_KEY": "your-api-key"
}
}ウィンドサーフィン
Windsurf で、次の構成で新しいツールを追加します。
{
"name": "TestRail MCP",
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "your-email@example.com",
"TESTRAIL_API_KEY": "your-api-key"
}
}MCP Inspectorによるテスト
テストとデバッグには、MCP Inspector を使用できます。
npx @modelcontextprotocol/inspector \
-e TESTRAIL_URL=<your-url> \
-e TESTRAIL_USERNAME=<your-username> \
-e TESTRAIL_API_KEY=<your-api-key> \
uvx testrail-mcpこれにより、利用可能なすべてのツールとリソースを調べてテストできる Web インターフェイスが開きます。
発達
このサーバーは以下を使用して構築されています:
FastMCP - MCP サーバーを構築するための Python フレームワーク
リクエスト- TestRail API との HTTP 通信用
python-dotenv - 環境変数管理用
ライセンス
マサチューセッツ工科大学
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that provides integration with TestRail, allowing AI assistants to interact with TestRail projects, test cases, test runs, and results.1,3341
- AlicenseNot gradedqualityDmaintenanceMCP server for TestRail that enables AI assistants to interact with TestRail's test management platform. It can query and manage projects, test cases, runs, results, plans, milestones, and more.MIT
- AlicenseBqualityAmaintenanceAI-native Model Context Protocol (MCP) server for TestRail. Lets Claude, Cursor, Windsurf, and other AI assistants browse projects, create and update test cases, kick off test runs, and record results through natural-language conversation — with strongly-typed tool schemas and per-project custom field validation that helps LLMs generate valid TestRail requests on the first try.2781730Apache 2.0
- AlicenseCqualityDmaintenanceModel Context Protocol (MCP) server for Redmine that provides comprehensive access to the Redmine REST API, enabling users to operate Redmine from MCP clients such as Claude Desktop.9044MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sker65/testrail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server