Model Context Protocol server for Jira integration
Project description
MCP Server for JIRA
A Model Context Protocol (MCP) server that provides seamless integration with Jira. This server enables AI assistants to retrieve issue information, comments, and attachments from any Jira instance.
Features
- 🎫 Get Issue Information: Retrieve detailed issue descriptions and comments
- 📎 Download Attachments: Access and download issue attachments
- 🔒 Secure Authentication: Uses Jira API tokens for secure access
- 🌐 Universal Compatibility: Works with Jira Cloud, Server, and Data Center
Installation
Using uvx (Recommended)
uvx mcp-jira
Using pip
pip install mcp-jira
Prerequisites
- Python 3.10 or higher
- Jira account with API access
- Jira API token (How to create)
Configuration
Environment Variables
The server requires three environment variables:
JIRA_URL: Your Jira instance URL (e.g.,https://your-company.atlassian.net/)JIRA_EMAIL: Your Jira account emailJIRA_TOKEN: Your Jira API token
MCP Client Configuration
Add to your MCP client configuration (e.g., Claude Desktop, Bob):
{
"mcpServers": {
"jira": {
"command": "uvx",
"args": ["mcp-jira"],
"env": {
"JIRA_URL": "https://your-jira-instance.com/",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_TOKEN": "your-api-token"
}
}
}
}
Available Tools
get_jira_ticket_info
Retrieves comprehensive information about a Jira issue.
Parameters:
issue_key(string): The Jira issue key (e.g., "PROJ-123")
Returns:
- Issue description
- All comments with author and timestamp
- Comment bodies
Example:
get_jira_ticket_info("PROJ-123")
get_jira_ticket_attachments
Downloads and retrieves attachments from a Jira issue.
Parameters:
issue_key(string): The Jira issue key (e.g., "PROJ-123")
Returns:
- List of attachments with filenames and content
Example:
get_jira_ticket_attachments("PROJ-456")
Development
Setup
-
Clone the repository
-
Install dependencies:
uv sync -
Create a
.envfile based onenv.template:cp env.template .env # Edit .env with your credentials
Running Locally
uv run server.py
Testing
# Run tests
uv run pytest
# Run with coverage
uv run pytest --cov
Use Cases
- AI-Assisted Development: Let AI assistants fetch and analyze Jira issues
- Automated Workflows: Integrate Jira data into automated processes
- Context-Aware Coding: Provide issue context to AI coding assistants
- Documentation: Auto-generate documentation from Jira issues
Roadmap
- Support for creating and updating issues
- Advanced search capabilities
- Support for Jira workflows and transitions
- Enhanced attachment handling (PDFs, images)
- Bulk operations support
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE file for details.
Support
- Issues: GitHub Issues
- Documentation: Full Documentation
Acknowledgments
Built with:
- FastMCP - Fast MCP server framework
- jira-python - Python Jira library
- Model Context Protocol - MCP specification
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jira_mcp_tools-0.2.1.tar.gz.
File metadata
- Download URL: jira_mcp_tools-0.2.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a7b4f98586b1cf5d640a00b63276b716b38d01012f326370ab26d1720fbcfce
|
|
| MD5 |
ea6f760545162760d99a0a3a23b92c6d
|
|
| BLAKE2b-256 |
bebeda48c65bfc54c8c5fe57fee610cc0ee661a38df9f89ce8d5be600bfe48e4
|
File details
Details for the file jira_mcp_tools-0.2.1-py3-none-any.whl.
File metadata
- Download URL: jira_mcp_tools-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4efd0e61564e0d71ff5bdbb4be8461e20c9ae7fd6ac59c719f5fc5b1201cf36b
|
|
| MD5 |
57e947e09c3f880b2295224d8f4bfc7a
|
|
| BLAKE2b-256 |
c0e4946836227ab88bdb791492f9225e04aabc22f488d0f2eafea8c8022835ae
|