npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@imazhar101/mcp-jira-server

v2.0.6

Published

Jira MCP server for issue management and project tracking

Downloads

269

Readme

Jira MCP Server

A comprehensive Jira integration for the Model Context Protocol (MCP) that enables issue management, project tracking, and workflow automation.

Overview

The Jira MCP Server provides seamless integration with Atlassian Jira, allowing you to perform all essential issue management operations through the MCP protocol. This server is part of the MCP Suite monorepo and leverages shared utilities for consistent development patterns.

Features

  • Issue Management: Create, read, update, and delete Jira issues
  • Project Operations: List and retrieve project information
  • Workflow Management: Transition issues through workflow states
  • Search & Query: Advanced issue searching using JQL (Jira Query Language)
  • Comments: Add and manage issue comments
  • Assignment: Assign issues to team members

Setup

Prerequisites

  • Node.js 18+
  • Access to a Jira instance (Cloud or Server)
  • Jira API token for authentication

Environment Variables

Create a .env file in the project root with the following variables:

JIRA_BASE_URL=https://your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your-api-token

Getting Your Jira API Token

  1. Go to Atlassian Account Settings
  2. Click "Create API token"
  3. Enter a label for your token
  4. Copy the generated token to your .env file

Installation & Usage

Option 1: npm Package (Recommended)

# Install globally
npm install -g @imazhar101/mcp-jira-server

# Or run directly with npx
npx @imazhar101/mcp-jira-server

Option 2: Build from Source

As Part of MCP Suite

From the project root:

# Install dependencies
npm install

# Build the server
npm run build

# Start the Jira server
npm run build:server jira

Standalone Usage

# Navigate to the jira server directory
cd servers/jira

# Install dependencies
npm install

# Build the server
npm run build

# Start the server
npm start

Cline MCP Configuration

To use this server with Cline (VS Code extension), add the following to your Cline MCP settings:

File Location:

  • macOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Windows: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
  • Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Configuration:

{
  "mcpServers": {
    "jira-integration": {
      "command": "npx",
      "args": ["@imazhar101/mcp-jira-server"],
      "env": {
        "JIRA_BASE_URL": "https://your-domain.atlassian.net",
        "JIRA_EMAIL": "[email protected]",
        "JIRA_API_TOKEN": "your-api-token"
      },
      "disabled": false,
      "alwaysAllow": ["search_issues", "get_issue", "list_projects"]
    }
  }
}

Available Tools

Issue Operations

search_issues

Search for issues using JQL (Jira Query Language).

Parameters:

  • jql (string): The JQL query string
  • maxResults (number, optional): Maximum number of results (default: 50)
  • startAt (number, optional): Starting index for pagination (default: 0)

Example:

{
  "jql": "project = PROJ AND status = 'To Do'",
  "maxResults": 25
}

get_issue

Retrieve detailed information about a specific issue.

Parameters:

  • issueIdOrKey (string): The issue ID or key (e.g., "PROJ-123")

create_issue

Create a new Jira issue.

Parameters:

  • project (string): Project key
  • summary (string): Issue summary/title
  • description (string, optional): Issue description
  • issueType (string): Issue type (e.g., "Task", "Bug", "Story")
  • priority (string, optional): Priority level
  • assignee (string, optional): Assignee account ID
  • labels (array, optional): Array of label strings

update_issue

Update an existing issue.

Parameters:

  • issueIdOrKey (string): The issue ID or key
  • summary (string, optional): New summary
  • description (string, optional): New description
  • priority (string, optional): New priority
  • assignee (string, optional): New assignee account ID
  • labels (array, optional): New labels array

transition_issue

Change the status of an issue through workflow transitions.

Parameters:

  • issueIdOrKey (string): The issue ID or key
  • transitionId (string): The transition ID to execute

get_issue_transitions

Get available transitions for an issue.

Parameters:

  • issueIdOrKey (string): The issue ID or key

assign_issue

Assign an issue to a user.

Parameters:

  • issueIdOrKey (string): The issue ID or key
  • assignee (string): Account ID of the assignee

delete_issue

Delete an issue.

Parameters:

  • issueIdOrKey (string): The issue ID or key

Comment Operations

add_comment

Add a comment to an issue.

Parameters:

  • issueIdOrKey (string): The issue ID or key
  • body (string): Comment text

Project Operations

list_projects

List all accessible projects.

Parameters: None

get_project

Get detailed information about a specific project.

Parameters:

  • projectIdOrKey (string): The project ID or key

Error Handling

The server includes comprehensive error handling:

  • Authentication Errors: Invalid credentials or expired tokens
  • Permission Errors: Insufficient permissions for operations
  • Validation Errors: Invalid parameters or data formats
  • API Errors: Jira API-specific errors with detailed messages

All errors are logged with contextual information and returned with appropriate error codes.

Development

Project Structure

servers/jira/
├── src/
│   ├── handlers/
│   │   └── jira-service.ts    # Jira API service implementation
│   ├── tools/
│   │   └── index.ts           # MCP tool definitions
│   ├── types/                 # TypeScript type definitions
│   ├── types.ts              # Main type definitions
│   └── index.ts              # Server entry point
├── package.json
├── tsconfig.json
└── README.md

Building

# Build TypeScript
npm run build

# Watch mode for development
npm run dev

Testing

Tests are located in the main tests/ directory:

# Run integration tests
cd ../.. && npm test

# Run specific Jira tests
npx vitest run tests/integration/jira-server.test.ts

Contributing

  1. Follow the established patterns in the MCP Suite
  2. Use the shared utilities from ../../shared/
  3. Add comprehensive error handling
  4. Update tests for new functionality
  5. Follow TypeScript best practices

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.