hc-mcp-jira
MCP server for Jira integration, providing tools to interact with Jira through the Model Context Protocol (MCP).
Overview
This server enables seamless integration with Jira, allowing you to perform common Jira operations through MCP tools. It supports comprehensive issue management, project exploration, and user operations.
Features
The server provides the following Jira integration tools:
get_current_user: Get information about the currently authenticated usercreate_issue: Create a new Jira issue with customizable fieldsupdate_issue: Update an existing issue's fields and statusget_issue: Get complete issue detailssearch_issues: Search for issues in a project using JQLadd_comment: Add a comment to a Jira issuelist_projects: List all accessible Jira projectsdelete_issue: Delete a Jira issuecreate_issue_link: Create a link between two issues
Installation
The package supports multiple installation methods:
Using uvx (Recommended)
uvx hc-mcp-jira
Using pip
pip install hc-mcp-jira
Configuration
Required Environment Variables
JIRA_URL: Your Jira instance URL (e.g., "https://your-domain.atlassian.net")JIRA_USERNAME: Your Jira username/emailJIRA_API_TOKEN: Your Jira API token
Claude Desktop Configuration
There are two options to make the server available in Claude Desktop:
-
Using the CLI:
uvx hc-mcp-jira --add-to-claude
If environment variables are not already set, you can specify them:
uvx hc-mcp-jira --add-to-claude --env JIRA_URL=your-jira-url --env JIRA_USERNAME=your-username --env JIRA_API_TOKEN=your-api-token
Any environment variables not explicitly set in the command will be taken from the current environment.
-
Manual configuration:
- Location:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
{ "mcpServers": { "hc-mcp-jira": { "command": "uvx", "args": ["hc-mcp-jira"], "env": { "JIRA_URL": "your-jira-url", "JIRA_USERNAME": "your-username", "JIRA_API_TOKEN": "your-api-token" } } } }
- Location:
Cline Configuration
There are two options to make the server available in Cline:
-
Using the CLI:
uvx hc-mcp-jira --add-to-cline
If environment variables are not already set, you can specify them:
uvx hc-mcp-jira --add-to-cline --env JIRA_URL=your-jira-url --env JIRA_USERNAME=your-username --env JIRA_API_TOKEN=your-api-token
Any environment variables not explicitly set in the command will be taken from the current environment.
-
Manual configuration:
- Location:
- MacOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Cloud9:
~/.vscode-server/data/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
- MacOS:
{ "mcpServers": { "hc-mcp-jira": { "command": "uvx", "args": ["hc-mcp-jira"], "env": { "JIRA_URL": "your-jira-url", "JIRA_USERNAME": "your-username", "JIRA_API_TOKEN": "your-api-token" } } } }
- Location:
Usage Examples
Here are common usage patterns for the available tools:
Issue Management
1. Create an issue:
"Create a Jira issue in project KEY with title 'Implement feature X' and type 'Task'"
2. Update an issue:
"Update issue KEY-123 to add the comment 'Work in progress'"
3. Search issues:
"Find all open bugs in project KEY assigned to me"
4. Link issues:
"Create a 'blocks' link between KEY-123 and KEY-456"
Project Management
1. List projects:
"Show me all Jira projects I have access to"
2. Search specific project:
"Find all issues in project KEY with label 'urgent'"
Development
Building and Publishing
- Prepare development environment:
make prepare
- Build package:
make build
- Upload to CodeCommit:
make publish
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience:
- Use the MCP Inspector:
npx @modelcontextprotocol/inspector uvx hc-mcp-jira
- Enable debug logging:
export MCP_DEBUG=1
uvx hc-mcp-jira
Error Handling
The server implements comprehensive error handling:
- Authentication errors: Validates credentials before operations
- API errors: Provides detailed error messages from Jira API
- Input validation: Verifies required fields and formats
- Rate limiting: Handles Jira API rate limits gracefully
Troubleshooting
Common issues and solutions:
-
Authentication Failed
- Verify JIRA_URL, JIRA_USERNAME, and JIRA_API_TOKEN are correct
- Ensure API token has required permissions
-
Rate Limiting
- Implement exponential backoff in requests
- Consider batching operations when possible
-
Permission Issues
- Verify user has required project permissions
- Check issue-level security settings
Contributing
- Fork the repository
- Create a feature branch
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for hc-mcp-jira 2025.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hc_mcp_jira-2025.3.9.tar.gz | 33.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hc_mcp_jira-2025.3.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.9 kB
Release files / hc_mcp_jira-2025.3.9.tar.gz
| Download URL | hc_mcp_jira-2025.3.9.tar.gz |
|---|---|
| Size | 33.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0722e5855edf65b4b568f471c68914a95e1a35e286aa9424e4f8d4906394b0a
|
|
BLAKE2b-256 checksum How to use checksums |
ffd895e7575f2408a1ebd4ce584c312b0799ef2f6fedb1b479ae21c0c63af99e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / hc_mcp_jira-2025.3.9-py3-none-any.whl
| Download URL | hc_mcp_jira-2025.3.9-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58e583e972ff14c95bd7261fe9237472bf8f17f6d5981510c36b223f9ddf72ff
|
|
BLAKE2b-256 checksum How to use checksums |
0847c39cc13fee9d2dba9d735856b5b7cc8bc734dc0536e8910af6e68da6b32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|