AA

armanayvazyan/allure-testops-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 16 forks 品質 78 トレンド 14MIT

Allure TestOps 用 MCP サーバー

概要

テストケース、起動、テスト結果、テスト計画に焦点を合わせたAllure TestOpsのプロダクションレディMCPサーバー。 - ユーザー API トークンからの JWT のベアアのauth の交換、メモリ内キャッシュと expiry のリフレッシュ。 - 任意のデフォルトプロジェクトを持つプロジェクト・アウェア・ツールは、ALLURE PROJECT ID を経由します。 - ProjectId または projectName プロジェクト・スコープ・オペレーションのプロジェクト・リゾリューション。 ・ テストケースカスタムフィールドのサポート、ルックアップとアップデートを含む。 - ローカルMCPクライアント(npxまたはローカルビルド)のstdio輸送。 - テストケース:リスト、検索、取得、作成、更新、削除、概要、履歴、シナリオ、タグ、問題、カスタムフィールド - 起動:リスト、検索、取得、作成、更新、削除、クローズ、オープン、統計、進捗、テスト例/計画の追加 - テスト結果:リスト、検索、取得、作成、更新、履歴、割り当て、解決 - テスト計画:リスト、取得、作成、更新、削除、実行、実行 ユーザー重視のランタイムとインテグレーションのドキュメントは docs/usages/: - docs/usages/README.md - docs/usages/docker.md - docs/usages/npx.

概要(AI 翻訳)

テストケース、起動、テスト結果、テスト計画に焦点を合わせたAllure TestOpsのプロダクションレディMCPサーバー。

##特徴

  • ユーザー API トークンからの JWT のベアアのauth の交換、メモリ内キャッシュと expiry のリフレッシュ。
  • [ALLURE_PROJECT_ID]を介してオプションのデフォルトプロジェクトを持つプロジェクトウェアツール。
  • プロジェクトスコープ操作の[projectIdまたはprojectNameによるプロジェクト解像度。
  • 点検および更新を含むテスト ケースの注文の分野のサポート。
  • [stdio] ローカルMCPクライアント([npx)またはローカルビルドの転送。

ツールカバレッジ

  • テストケース:リスト、検索、取得、作成、更新、削除、概要、履歴、シナリオ、タグ、問題、カスタムフィールド
  • 起動:リスト、検索、取得、作成、更新、削除、クローズ、再開、統計、進捗、テストケース/プランの追加
  • テスト結果:リスト、検索、取得、作成、更新、履歴、割り当て、解決
  • テストプラン:リスト、取得、作成、更新、削除、実行

ユーザー利用ドキュメント

ユーザー重視のランタイムとインテグレーションのドキュメントは[docs/usages/]にあります。

  • [docs/usages/README.md
  • [docs/usages/docker.md
  • [docs/usages/npx.md
  • [docs/usages/running-locally.md
  • [docs/usages/integrations.md
  • [docs/usages/examples/README.md
  • [docs/usages/examples/test-cases.md

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Allure TestOps MCP

Production-ready MCP server for Allure TestOps focused on test cases, launches, test results, and test plans.

Features

  • JWT bearer auth exchange from user API token, with in-memory caching and refresh on expiry.
  • Project-aware tools with optional default project via ALLURE_PROJECT_ID.
  • Project resolution by projectId or projectName for project-scoped operations.
  • Test case custom field support, including lookup and updates.
  • stdio transport for local MCP clients (npx or local build).

Tool Coverage

  • Test cases: list, search, get, create, update, delete, restore, overview, history, scenario, tags, issues, custom fields
  • Launches: list, search, get, create, update, delete, close, reopen, statistics, progress, add test cases/plans
  • Test results: list, search, get, create, update, history, assign, resolve
  • Test plans: list, get, create, update, delete, run

User Usage Docs

User-focused runtime and integration docs are in docs/usages/:

Tool Catalog (GitHub Pages)

The auto-generated MCP tool catalog is published via GitHub Pages:

The page content is generated from source tool definitions. When a new tool is added to src/tools/*.ts, the Pages workflow regenerates docs/tools.json and updates the site automatically.

Authentication

This server follows the Allure TestOps API guide:

  1. Use your user-generated API token in ALLURE_TOKEN.
  2. Server exchanges it at /api/uaa/oauth/token.
  3. Received bearer JWT is cached and reused until near expiry.

Reference: https://docs.qameta.io/allure-testops/advanced/api/

Environment Variables

ALLURE_TESTOPS_URL=https://allure-testops.instance.com/
ALLURE_TOKEN=your-api-token
# Optional default project:
# ALLURE_PROJECT_ID=37
  • ALLURE_TESTOPS_URL required
  • ALLURE_TOKEN required
  • ALLURE_PROJECT_ID optional

If ALLURE_PROJECT_ID is not set, tools that require project scope must receive:

  • projectId, or
  • projectName (resolved via /api/project/suggest)

Run Locally

Prerequisites

  • Node.js v18+ and npm
GitHub で README 全文を見る

インストール

npx -y github:armanayvazyan/allure-testops-mcp#v1.0.0
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "allure-testops": { "command": "npx", "args": ["-y", "github:armanayvazyan/allure-testops-mcp#v1.0.0"], "env": { "ALLURE_TESTOPS_URL": "https://allure-testops.instance.com", "ALLURE_TOKEN": "your-api-token", "ALLURE_PROJECT_ID": "37" } } } }