jira-analysis-mcp
A powerful Model Context Protocol (MCP) server for seamless Jira integration with AI assistants like Claude. Features advanced search capabilities, intelligent pod aliases, comprehensive ticket analysis, and full API support.
README
Jira Analysis MCP
A powerful Model Context Protocol (MCP) server for seamless Jira integration with AI assistants like Claude. Features advanced search capabilities, intelligent pod aliases, comprehensive ticket analysis, and full API support.
✨ Features
Core Capabilities
- 🔍 Advanced Search: Full pagination support - automatically fetches ALL results (no 100 issue limit)
- 🎯 Smart Pod Aliases: Use shorthand names (
workflow,growth,platform) instead of full pod names - 📊 Intelligent Ticket Analysis: Comprehensive analysis with automatic filtering of AI-generated comments
- 📝 Issue Management: Create, read, update, and search Jira issues with flexible field filtering
- 💬 Comments: Add, delete, and manage comments with automatic markdown-to-ADF conversion
- 📎 Attachments: Upload, download, and manage issue attachments
- 🎨 Rich Formatting: Automatic conversion of markdown to Atlassian Document Format (ADF)
- Code blocks with syntax highlighting
- Inline code, lists (bullet/numbered)
- Headings, bold, italic, strikethrough
- Links and line breaks
What Makes This Different
- No Pagination Headaches: Automatically handles Jira's pagination - you get all results, not just the first page
- Pod-Aware: Built-in understanding of common pod structures with smart aliasing
- AI-Ready: Filters AI-generated comments from analysis for cleaner insights
- Production-Ready: Handles Jira's latest API endpoints (no deprecated APIs)
🚀 Quick Start
Installation
git clone https://github.com/sheikhaamir/jira-analysis-mcp.git
cd jira-analysis-mcp
npm install
npm run build
Configuration
Create a .env file in the root directory:
JIRA_URL=https://your-domain.atlassian.net
JIRA_EMAIL=your-email@example.com
JIRA_API_TOKEN=your-api-token
Getting a Jira API Token:
- Visit https://id.atlassian.com/manage-profile/security/api-tokens
- Click "Create API token"
- Copy the token and add it to your
.envfile
Usage with Claude Desktop
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/absolute/path/to/jira-analysis-mcp/build/index.js"],
"env": {
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_EMAIL": "your-email@example.com",
"JIRA_API_TOKEN": "your-api-token"
}
}
}
}
Windows
Edit %APPDATA%\Claude\claude_desktop_config.json with the same structure, using Windows paths.
Usage with Cursor
Create or edit ~/.cursor/mcp_settings.json:
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/absolute/path/to/jira-analysis-mcp/build/index.js"],
"env": {
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_EMAIL": "your-email@example.com",
"JIRA_API_TOKEN": "your-api-token"
}
}
}
}
📖 Usage Examples
Smart Pod Aliases
Use simple shorthand names instead of full pod names:
| Alias | Full Pod Name |
|---|---|
workflow, pod1, pod 1 |
Pod 1 Workflow |
growth, pod2, pod 2 |
Pod 2 Growth |
platform |
Platform Pod |
siteops, site ops |
Pod SiteOps |
ai |
AI Pod |
ds, design |
DS Pod |
scale |
Scale Pod |
Example:
Pod = "workflow" AND created >= 2025-12-01
Automatically expands to:
Pod = "Pod 1 Workflow" AND created >= 2025-12-01
Search Issues
// Get all issues (no pagination limit)
search_issues({
jql: 'Pod = "workflow" AND created >= 2025-12-01 AND project = SS2T',
maxResults: 500
})
// Search by status
search_issues({
jql: 'project = MYPROJ AND status = "In Progress"',
maxResults: 100
})
Analyze Tickets
// Get comprehensive ticket analysis
analyze_ticket({ issueKey: 'SS2T-13091' })
// Returns structured data:
// - What customer saw (description, attachments)
// - How it happened (probable cause, root cause, regression status)
// - How it was fixed (resolution type, current status)
// - Timeline and customer context
Create Issues
create_issue({
project: 'MYPROJ',
summary: 'Bug: Login page not loading',
description: 'Users are unable to access the login page',
issueType: 'Bug'
})
Add Comments
add_comment({
issueKey: 'MYPROJ-123',
comment: 'This has been fixed in production'
})
🛠️ Available Tools
Issue Management
get_issue- Get details of a specific issuesearch_issues- Search issues with JQL (supports pod aliases, full pagination)create_issue- Create a new issueupdate_issue- Update an existing issue
Analysis
analyze_ticket- Get comprehensive ticket analysis (filters AI comments)get_comprehensive_issue- Get ALL details including custom fields, comments, attachments
Comments
add_comment- Add a comment (with optional attachments)delete_comment- Delete a comment
Attachments
get_attachments- List all attachments for an issuedownload_attachment- Download an attachment to diskadd_attachment- Upload an attachment to an issue
🎯 Advanced Features
Full Pagination Support
Unlike basic Jira clients, this server automatically handles pagination:
- Fetches ALL results across multiple pages
- No manual token management
- No 100-result limits
Intelligent Ticket Analysis
The analyze_ticket tool provides:
- Automatic filtering of AI-generated comments
- Structured data extraction (probable cause, root cause, regression status)
- Timeline analysis
- Customer context (organization, tier, platform)
Pod-Aware Architecture
Built-in understanding of pod structures:
- Automatic alias expansion
- Support for multiple pod naming conventions
- Easy to extend with new pods
🔧 Development
Build
npm run build
Watch Mode
npm run watch
Project Structure
jira-analysis-mcp/
├── src/
│ ├── index.ts # MCP server implementation
│ └── jira-client.ts # Jira API client with pagination
├── build/ # Compiled JavaScript
├── .env # Your Jira credentials
└── package.json
📝 Requirements
- Node.js 18 or higher
- Jira Cloud account with API access
- Valid Jira API token
🤝 Contributing
Contributions are welcome! Please feel free to submit issues or pull requests.
📄 License
MIT License - see LICENSE file for details
🙏 Acknowledgments
Built with the Model Context Protocol SDK by Anthropic.
📞 Support
For issues, questions, or suggestions, please open an issue on GitHub.
Note: After installation or updates, restart your AI assistant (Claude/Cursor) to load the latest server build.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。