MCP server to provide Jira Tickets information to AI coding agents like Cursor
A Model Context Protocol (MCP) implementation for Jira that allows you to:
To install Jira Context MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @rahulthedevil/Jira-Context-MCP --client claude
Clone this repository:
git clone https://github.com/yourusername/Jira-Context-MCP.git
cd Jira-Context-MCP
Install dependencies:
npm install
# or if you use pnpm
pnpm install
Create a .env
file based on the example:
cp .env.example .env
Edit the .env
file with your Jira details:
JIRA_BASE_URL=https://your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your-api-token-here
HTTP_PORT=3000
Build the project with:
npm run build
# or
pnpm build
Start the HTTP server:
npm start
# or
pnpm start
Or use the CLI mode:
npm run start:cli
# or
pnpm start:cli
http://localhost:3000/sse
)Once connected, you can use the following tools in Cursor:
Fetch detailed information about a specific Jira issue:
/get_issue issueKey:PROJECT-123
Retrieve issues assigned to you in a specific project:
/get_assigned_issues projectKey:PROJECT maxResults:10
Filter issues by type (Bug, Story, Epic, etc.):
/get_issues_by_type issueType:Bug projectKey:PROJECT maxResults:10
List all available projects:
/get_projects
List all available issue types:
/get_issue_types
Retrieve changes made in tickets over a specified period (e.g., the last 7 days) in a project:
/get_recent_changes projectKey:PROJECT maxDays:7
🚀 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!
/get_issue issueKey:PROJECT-123
Fix the bug described in PROJECT-123
/get_assigned_issues projectKey:PROJECT
Help me solve the first issue in my assigned list
/get_issues_by_type issueType:Bug projectKey:PROJECT
Help me fix these bugs one by one
/get_recent_changes projectKey:PROJECT maxDays:7
src/
- Source code
services/
- Jira API servicetypes/
- TypeScript type definitionsutils/
- Utility functionsserver.ts
- MCP server implementationindex.ts
- Application entry pointcli.ts
- CLI entry pointTo add new tools, edit the src/server.ts
file and add new tool definitions in the registerTools
method.
MIT
Rahul Dey - @rahulthedevil