raj-mehra
MCP Serverraj-mehrapublic

jira mcp

一个基于 MCP 框架的 Jira 集成工具,支持获取工单详情和搜索功能。

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

一个基于 MCP 框架的 Jira 集成工具,支持获取工单详情和搜索功能。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Jira MCP Server

A Jira integration server that provides tools for fetching ticket details and searching tickets using the MCP (Model Control Protocol) framework.

Setup

  1. Install the required dependencies: For local env use:
    ./setup.sh

Alternatively

pip install -r requirements.txt
  1. Create a .env file in the project root with your Jira credentials:
JIRA_URL=https://your-domain.atlassian.net
JIRA_USERNAME=your-email@example.com
JIRA_API_TOKEN=your-api-token

Running the Application

The server can be run in two modes:

  1. Standard I/O Mode (default):
python main.py
  1. SSE Mode for Cursor:
./run.sh --transport sse --port 8000  

OR

python main.py --transport sse --port 8000

Once the server has started Go to Cursor Settings > MCP > Add new Global MCP Server

Paste the following in the JSON

{
  "mcpServers": {
    "jira": {
      "url": "http://localhost:8000/sse",
      "env": {
        "JIRA_URL": "YOUR_JIRA_URL",
        "JIRA_USERNAME": "YOUR_JIRA_USERNAME",
        "JIRA_API_TOKEN": "YOUR_JIRA_API_TOKEN"
      }
    }
  }
}

Available Tools

1. Fetch Ticket Details

Fetches detailed information about a Jira ticket.

Input Schema:

{
    "ticketKey": "string",  // Required: Jira ticket key (e.g., PROJ-123)
    "includeComments": "boolean",  // Optional: Whether to include comments, default true
    "includeAttachments": "boolean"  // Optional: Whether to include attachments, default true
}

Response: Returns a JSON object containing:

  • Basic ticket information (key, summary, description, status, etc.)
  • Custom fields
  • Comments (if requested)
  • Attachments (if requested)

2. Search Tickets

Searches for Jira tickets using JQL (Jira Query Language).

Input Schema:

{
    "jql": "string",  // Required: JQL query string
    "maxResults": "integer"  // Optional: Maximum number of results (default: 50)
}

Response: Returns an array of ticket summaries containing:

  • Ticket key
  • Summary
  • Status
  • Assignee
  • Priority

Features

  • Comprehensive Jira ticket data retrieval
  • Support for custom fields
  • JQL-based ticket searching
  • Optional inclusion of comments and attachments
  • Error handling and validation
  • Multiple transport options (stdio/SSE)

Quick Start

1

Clone the repository

git clone https://github.com/raj-mehra/jira-mcp
2

Install dependencies

cd jira-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerraj-mehra
Repojira-mcp
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation