Labsco
leorosignoli logo

JIRA Zephyr

โ˜… 11

from leorosignoli

Integrates with JIRA's Zephyr test management system.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredAdvanced setup

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

Error Handling

The server implements comprehensive error handling:

  • Input validation using Zod schemas
  • API error mapping and user-friendly messages
  • Network timeout handling
  • Authentication error detection

Development

Scripts

  • npm run build - Build the TypeScript project
  • npm run dev - Run in development mode with file watching
  • npm run lint - Run ESLint
  • npm run typecheck - Run TypeScript type checking

Project Structure

src/
โ”œโ”€โ”€ index.ts              # Main MCP server entry point
โ”œโ”€โ”€ clients/              # API clients
โ”‚   โ”œโ”€โ”€ jira-client.ts    # JIRA REST API client
โ”‚   โ””โ”€โ”€ zephyr-client.ts  # Zephyr API client
โ”œโ”€โ”€ tools/                # MCP tool implementations
โ”‚   โ”œโ”€โ”€ jira-issues.ts    # JIRA issue tools
โ”‚   โ”œโ”€โ”€ test-plans.ts     # Test plan management
โ”‚   โ”œโ”€โ”€ test-cycles.ts    # Test cycle management
โ”‚   โ””โ”€โ”€ test-execution.ts # Test execution tools
โ”œโ”€โ”€ types/                # TypeScript type definitions
โ”‚   โ”œโ”€โ”€ jira-types.ts     # JIRA API types
โ”‚   โ””โ”€โ”€ zephyr-types.ts   # Zephyr API types
โ””โ”€โ”€ utils/                # Utility functions
    โ”œโ”€โ”€ config.ts         # Configuration management
    โ””โ”€โ”€ validation.ts     # Input validation schemas

Security

  • Never commit API tokens or credentials to the repository
  • Use environment variables for all sensitive configuration
  • Regularly rotate API tokens
  • Implement proper access controls in your JIRA instance

Support

For issues and questions:

  1. Check the existing GitHub issues
  2. Create a new issue with detailed information
  3. Include error logs and configuration (without sensitive data)

Roadmap

  • Support for Zephyr Squad (in addition to Zephyr Scale)
  • Bulk test execution operations
  • Advanced reporting with charts and metrics
  • Test case creation and management
  • Integration with CI/CD pipelines
  • Custom field support for test management