Jira-Context-MCP
Jira Context MCP
<figure> <a href="https://glama.ai/mcp/servers/a8ob8depqc"> <img width="380" height="200" src="https://glama.ai/mcp/servers/a8ob8depqc/badge" /> </a> </figure>A Model Context Protocol (MCP) implementation for Jira that allows you to:
- Input a Jira ticket link to fetch issue details and instruct Cursor to fix it
- Retrieve all tickets assigned to you within a specified Jira project
- Filter Jira issues based on a specific issue type and automatically direct Cursor to resolve them
- Integrate seamlessly with Jira's API for automation and efficiency
Setup
Prerequisites
- Node.js 20.17.0 or higher
- A Jira account with API access
- A Jira API token (can be generated at Atlassian API Tokens)
Installation
Installing via Smithery
To install Jira Context MCP for Claude Desktop automatically via Smithery:
Installing manually
- Clone this repository:Copy
- Install dependencies:Copy
- Create a
.env
file based on the example:Copy - Edit the
.env
file with your Jira details:Copy
Build
Build the project with:
Usage
Starting the Server
Start the HTTP server:
Or use the CLI mode:
Connecting with Cursor
- In Cursor, open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "Connect to MCP Server"
- Select "Connect to MCP Server"
- Enter the server URL (default:
http://localhost:3000/sse
)
Available Tools
Once connected, you can use the following tools in Cursor:
1. Get Jira Issue Details
Fetch detailed information about a specific Jira issue:
2. Get Assigned Issues
Retrieve issues assigned to you in a specific project:
3. Get Issues by Type
Filter issues by type (Bug, Story, Epic, etc.):
4. Get Projects
List all available projects:
5. Get Issue Types
List all available issue types:
6. Get Recent Ticket Changes
Retrieve changes made in tickets over a specified period (e.g., the last 7 days) in a project:
Command Examples
๐ Jira MCP Server + Cursor IDE = Your AI-powered Jira assistant! Hereโs how it makes devs work smarter:
๐ "List all Jira projects I have access to"
โ AI fetches all available projects instantly
No more searching manually!
๐ "List all issues in PROJECT"
โ AI retrieves all open tickets
Stay organized without effort!
๐ "Filter only Bugs or Change Requests and fix them"
โ AI identifies & directs Cursor to resolve them
Fix issues faster with automation!
โ
"Find all tickets assigned to me and fix them"
โ AI pulls your tasks & lets Cursor handle them
Stay on top of your work with zero hassle!
๐ "Get details for Jira issue PROJECT-123"
โ AI fetches full issue info in seconds
No more switching tabs!
๐ "What changed in tickets in the last 7 days in PROJECT?"
โ AI tracks recent updates & highlights key changes
No more manually checking ticket histories!
๐ฅ TL;DR: Your AI now speaks Jira + Cursor! Fetch projects, filter issues, track changes & fix bugsโall inside your IDE.
From backlog to bug fixes, MCP Server makes Jira work for you!
Example Workflows
Fix a Specific Bug
- Connect to the Jira MCP server in Cursor.
- Get the issue details:Copy
- Review the issue details and instruct Cursor to fix it:Copy
Work on Your Assigned Issues
- Connect to the Jira MCP server in Cursor.
- Retrieve your assigned issues:Copy
- Ask Cursor to help with one of the issues:Copy
Fix All Bugs in a Project
- Connect to the Jira MCP server in Cursor.
- Retrieve all bug issues:Copy
- Instruct Cursor:Copy
Review Recent Changes
- Connect to the Jira MCP server in Cursor.
- Retrieve recent ticket updates:Copy
- Review the changes to stay updated on modifications.
Development
Project Structure
src/
- Source codeservices/
- Jira API servicetypes/
- TypeScript type definitionsutils/
- Utility functionsserver.ts
- MCP server implementationindex.ts
- Application entry pointcli.ts
- CLI entry point
Adding New Tools
To add new tools, edit the src/server.ts
file and add new tool definitions in the registerTools
method.
License
MIT
Author
Rahul Dey - @rahulthedevil
This server cannot be installed
MCP server to provide Jira Tickets information to AI coding agents like Cursor