Skip to main content
Glama

QTM4J MCPサーバー

QMetry Test Management for Jira Cloud (QTM4J) REST APIを、Claude(またはその他のMCP互換クライアント)から呼び出せるツールとして公開するMCPサーバーです。

機能

主要なQTM4Jエンティティ全体で、最も一般的なCRUDフローをカバーするツールを提供します。

エリア

ツール

テストケース

create_test_case, get_test_case, search_test_cases, update_test_case, delete_test_case, clone_test_cases, create_test_steps, update_test_steps

テストサイクル

create_test_cycle, get_test_cycle, search_test_cycles, update_test_cycle, delete_test_cycle

テスト実行

get_test_cycle_executions, update_test_execution, update_test_step_execution, bulk_update_test_executions

テスト計画

create_test_plan, get_test_plan, search_test_plans, update_test_plan, delete_test_plan, link_test_cycles_to_plan, get_linked_test_cycles, unlink_test_cycles_from_plan

フォルダー

list_folders, create_folder

自動化

link_automation_rule, unlink_automation_rule, run_automation_rules

すべてのツールはZodで入力を検証し、startAt / maxResults を介してリストエンドポイントをページネーションし、レート制限(HTTP 429)応答に対しては最大3回まで指数バックオフによる自動再試行を行います。

要件

  • Node.js 18+ (ネイティブの fetch を使用)

  • QMetry APIキー (QMetry → API Keys から取得)

インストール

git clone https://github.com/salehrifai42/qmetrymcp.git
cd qmetrymcp
npm install
npm run build

設定

サーバーは完全に環境変数を通じて設定されます。

変数

必須

デフォルト

説明

QTM4J_API_KEY

はい

QMetry APIキー。すべてのリクエストで apiKey ヘッダーとして送信されます

QTM4J_REGION

いいえ

US

UShttps://qtmcloud.qmetry.com/rest/api/latest, AUhttps://qtmcloud-au.qmetry.com/rest/api/latest

実行

QTM4J_API_KEY=your-key npm start

サーバーはstdio経由でMCPと通信します。通常は直接実行するのではなく、MCPクライアント(Claude Desktop、Claude Codeなど)が起動します。

MCPクライアントの設定

すべてのクライアントは node を使用してサーバーを直接実行します。/path/to/qmetrymcp をリポジトリをクローンした絶対パスに置き換えてください。

Claude Desktop

macOSの場合は ~/Library/Application Support/Claude/claude_desktop_config.json を編集し(他のプラットフォームでは相当するファイル)、Claude Desktopを再起動します。

{
  "mcpServers": {
    "qtm4j": {
      "command": "node",
      "args": ["/path/to/qmetrymcp/dist/index.js"],
      "env": {
        "QTM4J_API_KEY": "your-api-key-here",
        "QTM4J_REGION": "US"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add コマンドを使用します。

claude mcp add qtm4j \
  -e QTM4J_API_KEY=your-api-key-here \
  -e QTM4J_REGION=US \
  -- node /path/to/qmetrymcp/dist/index.js

これはユーザースコープの設定ファイル (~/.claude.json) に書き込まれます。単一のリポジトリにスコープを限定したい場合は、プロジェクトのルートに上記のClaude Desktopの例と同じ mcpServers 構造を持つ .mcp.json を配置してください。Claude Codeが自動的に読み取ります。

登録されていることを確認します。

claude mcp list

セッション内で /mcp を実行して、接続されているサーバーとそのツールを確認することもできます。

GitHub Copilot (VS Code)

Copilotのエージェントモードは、ワークスペース内の .vscode/mcp.json ファイル(またはユーザーの settings.json 内の github.copilot.chat.mcp.servers に相当するブロック)を介してMCPをサポートしています。注意:Copilotのスキーマは servers を使用し(mcpServers ではありません)、明示的な type を期待します。

// .vscode/mcp.json
{
  "servers": {
    "qtm4j": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/qmetrymcp/dist/index.js"],
      "env": {
        "QTM4J_API_KEY": "your-api-key-here",
        "QTM4J_REGION": "US"
      }
    }
  }
}

保存後、Copilot Chatパネルを開き、Agentモードに切り替えると、ツールピッカーに qtm4j ツールが表示されます。APIキーをコミットしたくない場合は、VS Codeのシークレット入力を使用してください。

{
  "inputs": [
    { "id": "qtm4jKey", "type": "promptString", "description": "QTM4J API Key", "password": true }
  ],
  "servers": {
    "qtm4j": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/qmetrymcp/dist/index.js"],
      "env": {
        "QTM4J_API_KEY": "${input:qtm4jKey}",
        "QTM4J_REGION": "US"
      }
    }
  }
}

試してみる

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/salehrifai42/qmetrymcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server