
sker65/testrail-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
sker65/testrail-mcp は [https://github.com/sker65/testrail-mcp.] からインポートされた MCP サーバー候補です
概要
sker65/testrail-mcp は [https://github.com/sker65/testrail-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
TestRail のモデルコンテキストプロトコル (MCP) サーバーで、標準化されたプロトコルで TestRail のコア・エンティティティティとのやり取りができます。
##特徴
- TestRail API の認証
- TestRail の実体へのアクセス:
- プロジェクト
- ケース
- 実行
- 結果
- データセット
- モデルコンテキストプロトコルの完全なサポート
- MCP クライアント(デスクトップ、カーソル、ウィンドサーフィンなど)と互換性があります。
Octomind MCP と一緒にアクションで参照
インストール
##Smitheryでインストールする
スミサリーを介して自動的にクロードデスクトップ用のtestrail-mcpをインストールするには:
手動インストール
-
このリポジトリをクローンする:
-
仮想環境の作成と活性化:
-
依存関係を取付けて下さい:
設定
TestRail MCP サーバーでは、特定の環境変数を TestRail インスタンスで認証する必要があります。 サーバを実行する前に設定する必要があります。
- プロジェクトのルートディレクトリにある[
.envファイルを作成します。
重要事項:
- [[
TESTRAIL_URL] は TestRail インスタンス (https://example.testrail.ioなど) の URL にフル URL を指定する必要があります。 - [[
TESTRAIL_USERNAME]は、ログインに使用するTestRailメールアドレスです - [
TESTRAIL_API_KEYは TestRail API キー (パスワードではなく)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
TestRail MCP Server
A Model Context Protocol (MCP) server for TestRail that allows interaction with TestRail’s core entities through a standardized protocol.
Features
- Authentication with TestRail API
- Access to TestRail entities:
- Projects
- Cases
- Runs
- Results
- Datasets
- Full support for the Model Context Protocol
- Compatible with any MCP client (Claude Desktop, Cursor, Windsurf, etc.)
See it in action together with Octomind MCP
Installation
Installing via Smithery
To install testrail-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @sker65/testrail-mcp --client claude
Manual Installation
-
Clone this repository:
git clone https://github.com/yourusername/testrail-mcp.git cd testrail-mcp -
Create and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate -
Install dependencies:
pip install -e .
Configuration
The TestRail MCP server requires specific environment variables to authenticate with your TestRail instance. These must be set before running the server.
-
Create a
.envfile in the root directory of the project:TESTRAIL_URL=https://your-instance.testrail.io [email protected] TESTRAIL_API_KEY=your-api-keyImportant Notes:
TESTRAIL_URLshould be the full URL to your TestRail instance (e.g.,https://example.testrail.io)TESTRAIL_USERNAMEis your TestRail email address used for loginTESTRAIL_API_KEYis your TestRail API key (not your password)- To generate an API key, log in to TestRail, go to “My Settings” > “API Keys” and create a new key
-
Verify that the configuration is loaded correctly:
uvx testrail-mcp --configThis will display your TestRail configuration information, including your URL, username, and the first few characters of your API key for verification.
If you’re using this server with a client like Claude Desktop or Cursor, make sure the environment variables are accessible to the process running the server. You may need to set these variables in your system environment or ensure they’re loaded from the .env file.
Usage
Running the Server
The server can be run directly using the installed script:
uvx testrail-mcp
This will start the MCP server in stdio mode, which can be used with MCP clients that support stdio communication.
Using with MCP Clients
Claude Desktop
In Claude Desktop, add a new server with the following configuration:
{
"mcpServers": {
インストール
uvx testrail-mcp設定
{
"mcpServers": {
"testrail": {
"command": "uvx",
"args": [
"testrail-mcp"
],
"env": {
"TESTRAIL_URL": "https://your-instance.testrail.io",
"TESTRAIL_USERNAME": "[email protected]",
"TESTRAIL_API_KEY": "your-api-key"
}
}
}
}