Skip to main content
Glama
jira-mcp-server

jira-mcp-server

by bugzy-ai

@bugzy-ai/jira-mcp-server

MCP (Model Context Protocol) server for Jira Server (on-premise) integration. Enables AI assistants like Claude to interact with Jira Server deployments via standardized tools.

Features

  • jira_search_issues - Search issues using JQL (Jira Query Language)

  • jira_get_issue - Get detailed information about a specific issue

  • jira_create_issue - Create new issues in any project

  • jira_add_comment - Add comments to existing issues

Related MCP server: Jira MCP Server

Requirements

  • Node.js 20.0.0 or higher

  • Jira Server/Data Center 8.14+ (for PAT authentication) or any version (for basic auth)

Installation

npm install @bugzy-ai/jira-mcp-server

Or run directly with npx:

npx @bugzy-ai/jira-mcp-server

Configuration

Environment Variables

Variable

Description

Required

JIRA_BASE_URL

Your Jira Server URL (e.g., https://jira.yourcompany.com)

Yes

JIRA_AUTH_TYPE

Authentication type: pat or basic

No (default: pat)

JIRA_PAT

Personal Access Token (when using PAT auth)

When JIRA_AUTH_TYPE=pat

JIRA_USERNAME

Username (when using basic auth)

When JIRA_AUTH_TYPE=basic

JIRA_PASSWORD

Password (when using basic auth)

When JIRA_AUTH_TYPE=basic

Creating a Personal Access Token (PAT)

  1. Log in to your Jira Server instance

  2. Click your profile picture > Profile

  3. Click Personal Access Tokens in the left sidebar

  4. Click Create token

  5. Give it a name and optionally set an expiry date

  6. Copy the generated token

Claude Desktop Integration

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "jira": {
      "command": "npx",
      "args": ["@bugzy-ai/jira-mcp-server"],
      "env": {
        "JIRA_BASE_URL": "https://jira.yourcompany.com",
        "JIRA_AUTH_TYPE": "pat",
        "JIRA_PAT": "your-personal-access-token"
      }
    }
  }
}

Or if installed locally:

{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": ["/path/to/jira-mcp-server/dist/index.js"],
      "env": {
        "JIRA_BASE_URL": "https://jira.yourcompany.com",
        "JIRA_AUTH_TYPE": "pat",
        "JIRA_PAT": "your-personal-access-token"
      }
    }
  }
}

Usage Examples

Once configured, you can ask Claude to:

  • "Search for open bugs in the TEST project"

  • "Get details about issue TEST-123"

  • "Create a new bug in project TEST with summary 'Login button not working'"

  • "Add a comment to TEST-123 saying the issue has been reproduced"

Tool Reference

jira_search_issues

Search for issues using JQL.

Parameters:

  • jql (required): JQL query string

  • maxResults (optional): Maximum results (1-100, default: 50)

  • fields (optional): Fields to include in response

Example:

jql: "project = TEST AND status = Open ORDER BY created DESC"
maxResults: 20

jira_get_issue

Get detailed information about a specific issue.

Parameters:

  • issueKey (required): Issue key (e.g., "TEST-123")

  • fields (optional): Specific fields to retrieve

  • expand (optional): Additional data to expand (e.g., "changelog", "transitions")

jira_create_issue

Create a new issue.

Parameters:

  • projectKey (required): Project key (e.g., "TEST")

  • summary (required): Issue summary/title

  • issueType (required): Issue type (e.g., "Bug", "Task", "Story")

  • description (optional): Issue description

  • priority (optional): Priority name (e.g., "High", "Medium")

  • assignee (optional): Username to assign to

  • labels (optional): Array of labels

  • components (optional): Array of component names

jira_add_comment

Add a comment to an existing issue.

Parameters:

  • issueKey (required): Issue key (e.g., "TEST-123")

  • body (required): Comment text (supports Jira wiki markup)

  • visibility (optional): Visibility restriction (group or role)

Development

Prerequisites

  • Node.js 20+

  • Docker (for local Jira instance)

  • 6GB+ RAM available for Docker

Quick Start

# Clone the repository
git clone https://github.com/bugzy-ai/jira-mcp-server.git
cd jira-mcp-server

# Install dependencies
npm install

# Build
npm run build

# Setup local Jira (Docker)
npm run setup

Local Jira Setup

The setup script will:

  1. Start a Jira Docker container

  2. Wait for Jira to be ready (~3-5 minutes on first boot)

  3. Guide you through manual setup (license + admin user)

  4. Create a TEST project for development

  5. Generate a .env file with local credentials

First run requires manual steps:

  1. Open http://localhost:8080 in your browser

  2. Complete the setup wizard

  3. Get a free evaluation license or timebomb license

  4. Create admin user (recommended: admin/admin)

  5. Run npm run setup again to create test project

Testing

With MCP Inspector (debug individual tools):

npm run dev
# Opens browser at http://localhost:6274

With Claude Code (test in conversation):

  1. The project includes a .mcp.json that configures the local server

  2. Restart Claude Code to pick up the config

  3. Try: "Search for issues in the TEST project"

Available Scripts

Script

Description

npm run build

Build TypeScript to dist/

npm run build:watch

Build with watch mode

npm run dev

Run MCP Inspector

npm run setup

Setup local Jira Docker

npm start

Run the MCP server

npm run clean

Remove dist/

Docker Commands

# View Jira logs
docker logs jira-mcp-test

# Stop Jira
docker stop jira-mcp-test

# Start Jira
docker start jira-mcp-test

# Remove container (loses data)
docker rm -f jira-mcp-test

License

MIT

Available Tools

4 tools
jira_add_commentB

Add a comment to an existing Jira issue. Supports Jira wiki markup formatting.

Inputs: body (required), issueKey (required), visibility.

jira_create_issueC

Create a new Jira issue in a specified project with the given details.

Inputs: summary (required), issueType (required), projectKey (required), labels, +4 more.

jira_get_issueB

Get detailed information about a specific Jira issue by its key (e.g., PROJ-123).

Inputs: issueKey (required), expand, fields.

jira_search_issuesB

Search for Jira issues using JQL (Jira Query Language). Returns a list of issues matching the query.

Inputs: jql (required), fields, maxResults.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct action and target: search issues, get one issue, create an issue, or comment on an issue. There is no meaningful overlap between the four operations.

    Naming Consistency5/5

    All four tools follow the predictable jira_verb_noun pattern with consistent snake_case. Singular/plural nouns vary naturally based on whether the tool operates on one issue or many.

    Tool Count4/5

    Four tools is a reasonable, minimal surface for core Jira issue interaction. It is slightly thin for a production Jira integration but each included tool earns its place.

    Completeness3/5

    The server covers search, read, create, and comment, but lacks common Jira lifecycle operations such as update, delete, and workflow transitions. These gaps will block many routine issue-management workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI clients to search, read, create, and update Jira Server/Data Center issues, comments, and attachments, and to move issues through workflow transitions using Personal Access Token authentication. It also supports file uploads and downloads from allowlisted local paths, plus paginated search and issue-detail retrieval including links and attachment metadata.
      13
      7 npm
      1
      MIT