MCP Jira Integration
A Jira integration that allows LLMs to act as project managers and personal assistants for teams.
MCP Jira Integration
A simple Model Context Protocol (MCP) server for Jira that allows LLMs to act as project managers and personal assistants for teams using Jira. Built on the Jira REST API v3.
Features
Core MCP Tools
- create_issue - Create new Jira issues with proper formatting and ADF descriptions
- search_issues - Search issues using JQL with smart formatting and pagination
- get_sprint_status - Get comprehensive sprint progress reports with metrics
- get_team_workload - Analyze team member workloads and capacity
- generate_standup_report - Generate daily standup reports automatically
Project Management Capabilities
- Multi-Project Support: Work with multiple projects by specifying project keys dynamically
- Sprint progress tracking with visual indicators
- Team workload analysis and capacity planning
- Automated daily standup report generation
- Issue creation with proper prioritization
- Smart search and filtering of issues
Reliability
- Automatic retry with exponential backoff on rate limits (429) and transient errors (503)
- Pagination for large result sets
- Timezone-aware date handling
- Graceful handling of custom Jira statuses and issue types
Requirements
- Python 3.8 or higher
- Jira Cloud account with API token
- MCP-compatible client (like Claude Desktop)
Quick Setup
- Clone and install:
git clone https://github.com/your-org/mcp-jira.git
cd mcp-jira
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
- Configure Jira credentials:
cp .env.example .env
# Edit .env with your values
JIRA_URL=https://your-domain.atlassian.net
[email protected]
JIRA_API_TOKEN=your_api_token
PROJECT_KEY=PROJ
DEFAULT_BOARD_ID=123
- Test the server:
.venv/bin/python -m mcp_jira
You should see Initializing MCP Jira server... in the output. Press Ctrl+C to stop.
Usage Examples
Creating Issues
"Create a high priority bug for the login system not working properly"
- Auto-assigns proper issue type, priority, and formatting
Sprint Management
"What's our current sprint status?"
- Gets comprehensive progress report with metrics and visual indicators
Team Management
"Show me the team workload for john.doe, jane.smith, mike.wilson"
- Analyzes capacity and provides workload distribution
Daily Standups
"Generate today's standup report"
- Creates formatted report with completed, in-progress, and blocked items
MCP Integration
With Claude Desktop
The config file is located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following entry, replacing /path/to/mcp-jira with the absolute path where you cloned the repo:
{
"mcpServers": {
"mcp-jira": {
"command": "/path/to/mcp-jira/.venv/bin/python",
"args": ["-m", "mcp_jira"]
}
}
}
Note: Use the Python binary from inside the
.venvfolder — this ensures all dependencies are available. Thecwdfield is not required; the server resolves its configuration using absolute paths internally.
To find the correct path, run this from inside the project directory:
echo "$(pwd)/.venv/bin/python"
Restart Claude Desktop after saving the config.
With Other MCP Clients
The server follows the standard MCP protocol and works with any MCP-compatible client.
Configuration
Required Environment Variables
JIRA_URL- Your Jira instance URLJIRA_USERNAME- Your Jira username/emailJIRA_API_TOKEN- Your Jira API tokenPROJECT_KEY- Default project key for operations (can be overridden per request)
Optional Settings
DEFAULT_BOARD_ID- Default board for sprint operations (can be overridden per request)STORY_POINTS_FIELD- Custom field ID for Story Points (default: customfield_10026)DEBUG_MODE- Enable debug logging (default: false)LOG_LEVEL- Logging level (default: INFO)
Getting Jira API Token
- Go to Atlassian Account Settings
- Click "Create API token"
- Give it a name and copy the token
- Use your email as username and the token as password
Architecture
This implementation prioritizes simplicity and reliability:
- Single MCP server file - All tools in one place
- Standard MCP protocol - Uses official MCP SDK
- Jira REST API v3 - Uses Atlassian Document Format (ADF) for descriptions
- Rich formatting - Provides beautiful, readable reports
- Retry with backoff - Handles rate limits and transient Jira API errors automatically
- Pagination - Fetches all results for large issue sets
- Error handling - Graceful handling of Jira API issues and custom statuses
- Async support - Fast and responsive operations
Troubleshooting
Common Issues
-
"No active sprint found"
- Make sure your board has an active sprint
- Check that
DEFAULT_BOARD_IDis set correctly
-
Authentication errors
- Verify your API token is correct
- Check that your username is your email address
-
Permission errors
- Ensure your Jira user has appropriate project permissions
- Check that the project key exists and you have access
Debug Mode
Set DEBUG_MODE=true in your .env file for detailed logging.
Development
- Fork the repository
- Set up a dev environment:
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
- Run tests:
python -m pytest tests/ -v
- Submit a pull request
License
MIT License - see LICENSE file
相關伺服器
Kone.vc
贊助Monetize your AI agent with contextual product recommendations
Miro
Access the Miro REST API v2 for managing boards, creating content, and collaborating.
TfL
MCP server for Transport for London — lines, journeys, stop points, arrivals, bike points, occupancy, road disruptions and more over stdio
MCP Sync
A CLI tool to synchronize MCP (Model Context Protocol) settings across multiple AI coding tools.
Outlook Calendar
Access and manage your local Microsoft Outlook calendar on Windows.
ChatExcel
A powerful server for Excel file processing, data analysis, and visualization, leveraging Python and Go for high performance.
Garmin Workouts MCP
Create Garmin Connect workouts using natural language.
Nuclei Server
A simple notes system with resources, tools, and prompts.
Atlassian Trello MCP
Comprehensive Trello integration: 46 tools covering boards, cards, lists, labels, checklists, attachments, members, custom fields, and search. Read-only mode, image attachment auto-download. Active fork of kocakli/Trello-Desktop-MCP integrating contributions from across the Trello MCP fork ecosystem
Esa MCP Server
A MCP server for the document sharing service esa.io.
MCBU Campus Assistant
A chatbot for Manisa Celal Bayar University student affairs, featuring a web scraper, student database, and API integration tools for automation.