JIRA Zephyr logo

JIRA Zephyr

Community
leorosignoli

MCP for integrating with Jira's zephyr.

Publisherleorosignoli
Repositoryjira-zephyr-mcp
LanguageTypeScript
Forks
10
Stars
12
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    JIRA Zephyr exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    12 stars and 10 forks from the linked repository.

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:

json
{
  "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": "your-email@company.com",
        "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):

json
{
  "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": "your-email@company.com",
        "JIRA_API_TOKEN": "your-jira-api-token",
        "ZEPHYR_API_TOKEN": "your-zephyr-api-token"
      }
    }
  }
}

Installation (for development)

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

Configuration

  1. Copy the example environment file:
bash
cp .env.example .env
  1. Configure your JIRA and Zephyr credentials in .env:
bash
JIRA_BASE_URL=https://your-domain.atlassian.net
JIRA_USERNAME=your-email@company.com
JIRA_API_TOKEN=your-jira-api-token
ZEPHYR_API_TOKEN=your-zephyr-api-token

Getting API Tokens

JIRA API Token

  1. Go to Atlassian Account Settings
  2. Navigate to Security → API tokens
  3. Create a new API token
  4. Copy the token to your .env file

Zephyr API Token

  1. In JIRA, go to Apps → Zephyr Scale → API Access Tokens
  2. Generate a new token
  3. Copy the token to your .env file

Usage

Development

bash
npm run dev

Production

bash
npm start

Running with Docker

You can containerize and run the MCP server using Docker.

Prerequisites

  • Docker installed on your system
  • The project cloned locally

Building the Docker Image

  1. Navigate to the project directory:
bash
cd /path/to/jira-zephyr-mcp
  1. Build the Docker image:
bash
docker build -t jira-zephyr-mcp:latest .

You can specify a different tag if desired, e.g., -t jira-zephyr-mcp:v1.0.0.

Running the Container

  1. Run the container with required environment variables:
bash
docker run -d --name jira-zephyr-mcp \
  -e JIRA_BASE_URL=https://your-domain.atlassian.net \
  -e JIRA_USERNAME=your-email@company.com \
  -e JIRA_API_TOKEN=your-jira-api-token \
  -e ZEPHYR_API_TOKEN=your-zephyr-api-token \
  jira-zephyr-mcp:latest

Note: For integration with systems like Cursor, use the Docker configuration shown in the 'Integration with Cursor' section above. Ensure the image is built with the desired tag that matches your Cursor config. The server communicates via stdio, so ensure your setup supports this when running in a container.

Tool Usage Examples

Reading JIRA Issues

typescript
// Read basic issue information
await readJiraIssue({ issueKey: "ABC-123" });

// Read specific fields
await readJiraIssue({ 
  issueKey: "ABC-123", 
  fields: ["summary", "status", "assignee"] 
});

Creating Test Plans

typescript
await createTestPlan({
  name: "Release 2.0 Test Plan",
  description: "Comprehensive testing for release 2.0",
  projectKey: "ABC",
  startDate: "2024-01-15",
  endDate: "2024-01-30"
});

Managing Test Cycles

typescript
// Create a test cycle
await createTestCycle({
  name: "Sprint 10 Testing",
  description: "Testing for sprint 10 features",
  projectKey: "ABC",
  versionId: "10001",
  environment: "Production"
});

// List test cycles
await listTestCycles({
  projectKey: "ABC",
  limit: 25
});

Test Execution

typescript
// Update test execution status
await executeTest({
  executionId: "12345",
  status: "PASS",
  comment: "All tests passed successfully"
});

// Get execution status
await getTestExecutionStatus({ cycleId: "67890" });

Generating Reports

typescript
// Generate JSON report
await generateTestReport({
  cycleId: "67890",
  format: "JSON"
});

// Generate HTML report
await generateTestReport({
  cycleId: "67890",
  format: "HTML"
});

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

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

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

License

MIT License - see LICENSE file for details

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

Use JIRA Zephyr MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once JIRA Zephyr is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add JIRA Zephyr as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the JIRA Zephyr MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "jira-zephyr-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the JIRA Zephyr MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the JIRA Zephyr MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use JIRA Zephyr to help me with this task?
JIRA Zephyr
Sure. I read it.
Here is what I found using JIRA Zephyr.

Frequently asked questions

What is the JIRA Zephyr MCP server used for?

JIRA Zephyr is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use JIRA Zephyr MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use JIRA Zephyr with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use JIRA Zephyr MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With JIRA Zephyr connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect JIRA Zephyr MCP to TypingMind?

JIRA Zephyr runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does JIRA Zephyr MCP provide in TypingMind?

JIRA Zephyr exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use JIRA Zephyr MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If JIRA Zephyr requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇