LJ

leorosignoli/jira-zephyr-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 10 forks 质量 65 趋势 0MIT

与Jira的zephyr融合的MCP.

概览

一个模式背景协议(MCP)服务器,提供与JIRA的Zephyr测试管理系统的全面整合. 这个服务器可以实现无缝测试管理操作,包括创建测试计划,管理测试周期,执行测试,并读取JIRA问题. - :在Zephyr创建并列出测试计划 - :创建并管理测试执行周期 - :读取JIRA发行的细节和元数据 - :更新测试执行结果和状况 - 监测测试执行进度和统计 - :与JIRA问题相关的测试案例 - :生成全面的测试执行报告 1.-检索JIRA发行信息 2.-创建Zephir 3.-浏览现有测试计划 4.-创建测试执行周期 5.-查看测试周期与执行状态 6.-更新测试执行结果 7.-检查测试执行进度 8.-与JIRA发行的关联测试 9.-创建测试执行报告. - 节点18.0.

概述(AI 翻译)

一个模式背景协议(MCP)服务器,提供与JIRA的Zephyr测试管理系统的全面整合. 这个服务器可以实现无缝测试管理操作,包括创建测试计划,管理测试周期,执行测试,并读取JIRA问题.

□ 特性

  • 核心能力
  • ** 试验计划管理**: 在 Zephyr 中创建和列出测试计划
  • ** 试验周期管理**: 创建和管理测试执行周期
  • ** JIRA一体化**: 读取 JIRA 发行的细节和元数据
  • ** 试行**:更新试行结果和状况
  • ** 进展跟踪**:监测测试执行进展情况和统计
  • ** 问题联系**:与JIRA问题有关的试验案例
  • ** 报告**:编写综合测试执行报告

可用的工具

  1. ** read jira issue** - 检索JIRA问题信息
  2. 创建 test plan - 在Zephyr创建新的测试计划.
  3. list test plans-浏览现有测试计划
  4. 创建 测试 周期 - 创建测试执行周期
  5. list test cycles - 查看具有执行状态的测试周期
  6. 执行 测试 - 更新测试执行结果
  7. get test execution status - 检查测试执行进度
  8. 联合国.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

JIRA Zephyr MCP Server

A Model Context Protocol (MCP) server that provides comprehensive integration with JIRA’s Zephyr test management system. This server enables seamless test management operations including creating test plans, managing test cycles, executing tests, and reading JIRA issues.

Features

Core Capabilities

  • Test Plan Management: Create and list test plans in Zephyr
  • Test Cycle Management: Create and manage test execution cycles
  • JIRA Integration: Read JIRA issue details and metadata
  • Test Execution: Update test execution results and status
  • Progress Tracking: Monitor test execution progress and statistics
  • Issue Linking: Associate test cases with JIRA issues
  • Reporting: Generate comprehensive test execution reports

Available Tools

  1. read_jira_issue - Retrieve JIRA issue information
  2. create_test_plan - Create new test plans in Zephyr
  3. list_test_plans - Browse existing test plans
  4. create_test_cycle - Create test execution cycles
  5. list_test_cycles - View test cycles with execution status
  6. execute_test - Update test execution results
  7. get_test_execution_status - Check test execution progress
  8. link_tests_to_issues - Associate tests with JIRA issues
  9. generate_test_report - Create test execution reports

Prerequisites

  • Node.js 18.0.0 or higher
  • JIRA instance with Zephyr Scale or Zephyr Squad
  • Valid JIRA API credentials
  • Zephyr API access token

Integration with Cursor

Clone the project, then add the following to your Cursor configuration:

{
  "mcpServers": {
    "jira-zephyr": {
      "command": "node",
      "args": ["/path/to/jira-zephyr-mcp/dist/index.js"],
      "env": {
        "JIRA_BASE_URL": "https://your-domain.atlassian.net",
        "JIRA_USERNAME": "[email protected]",
        "JIRA_API_TOKEN": "your-jira-api-token",
        "ZEPHYR_API_TOKEN": "your-zephyr-api-token"
      }
    }
  }
}

Using Docker

Alternatively, you can configure Cursor to run the MCP server in Docker (ensure the image is built first):

{
  "mcpServers": {
    "jira-zephyr": {
      "command": "docker",
      "args": ["run", "--rm", "-i","-e","JIRA_BASE_URL","-e","JIRA_USERNAME","-e","JIRA_API_TOKEN","-e","ZEPHYR_API_TOKEN", "jira-zephyr-mcp"],
      "env": {
        "JIRA_BASE_URL": "https://your-domain.atlassian.net",
        "JIRA_USERNAME": "[email protected]",
        "JIRA_API_TOKEN": "your-jira-api-token",
        "ZEPHYR_API_TOKEN": "your-zephyr-api-token"
      }
    }
  }
}

Installation (for development)

  1. Clone the repository:
git clone https://github.com/your-username/jira-zephyr-mcp.git
cd jira-zephyr-mcp
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

  1. Copy the example environment file:
cp .env.example .env
  1. Configure your JIRA and Zephyr credentials in .env:
在 GitHub 查看完整 README

安装

docker run --rm -i -e JIRA_BASE_URL -e JIRA_USERNAME -e JIRA_API_TOKEN -e ZEPHYR_API_TOKEN jira-zephyr-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "jira-zephyr": { "command": "node", "args": ["/path/to/jira-zephyr-mcp/dist/index.js"], "env": { "JIRA_BASE_URL": "https://your-domain.atlassian.net", "JIRA_USERNAME": "[email protected]", "JIRA_API_TOKEN": "your-jira-api-token", "ZEPHYR_API_TOKEN": "your-zephyr-api-token" } } } }