A Model Context Protocol (MCP) server that provides seamless integration with Jira, enabling AI assistants like Claude to interact with your Jira tickets directly.
- Get Issue Details: Retrieve complete information about specific Jira tickets
- Search Issues: Search tickets by project, status, assignee, issue type, priority, and more
- Get My Issues: Quickly fetch all tickets assigned to you
- Smart Filtering: Build complex JQL queries through simple parameters
- Clean Output: Automatically extracts and formats data from Atlassian Document Format (ADF)
- Python 3.7 or higher
- A Jira account with API access
- Jira Personal Access Token (PAT)
- Clone this repository:
git clone <repository-url>
cd JIRA_MCP_PY- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txtJIRA_URL=https://your-instance.atlassian.net
JIRA_PAT=your_personal_access_token- Go to your Jira settings
- Click "Developer Settings"
- Click "Create API token"
- Give it a memorable name
Add this server to your MCP settings file (usually ~/.config/claude/mcp.json):
{
"mcpServers": {
"jira": {
"command": "/path/to/JIRA_MCP_PY/venv/bin/python",
"args": ["/path/to/JIRA_MCP_PY/jira_server.py"],
"env": {
"JIRA_URL": "https://your-instance.atlassian.net",
"JIRA_PAT": "your_personal_access_token"
}
}
}
}Once configured, the MCP server provides three main tools:
Retrieve detailed information about a specific Jira ticket:
Get details for issue KEY-123
Search for tickets using various criteria:
Search for bugs in project PROJ that are in progress
Find all high priority tasks assigned to me
Quick access to your assigned tickets:
Show me my current tickets
What issues am I working on?
- project: Project key (e.g., "PROJ", "DEV")
- status: Issue status (e.g., "To Do", "In Progress", "Done")
- assignee: Email, name, or "currentUser()"
- issue_type: Type of issue (e.g., "Bug", "Task", "Story")
- priority: Priority level (e.g., "P1", "P2", "P3")
- fix_version: Target version (e.g., "25.11", "25.13")
- text: Search in summary and description
- max_results: Limit number of results (default: 20, max: 100)
JIRA_MCP_PY/
├── jira_server.py # Main MCP server implementation
├── requirements.txt # Python dependencies
├── .env.example # Environment variables template
├── .gitignore # Git ignore rules
└── README.md # This file
# Test the server locally
python jira_server.py- Verify your
JIRA_URLdoesn't have a trailing slash - Ensure your PAT is valid and hasn't expired
- Check you have proper permissions in Jira
- Confirm your Jira instance URL is correct
- Check your network connection
- Verify firewall settings aren't blocking the connection
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - feel free to use this project for personal.
For issues and questions:
- Open an issue on GitHub
- Check Jira API documentation: https://developer.atlassian.com/cloud/jira/platform/rest/v2/
Built using the Model Context Protocol by Anthropic.