Skip to main content

pnd-jira-mcp

A standalone Jira MCP (Model Context Protocol) connector for Claude Desktop integration.

Installation

pip install pnd-jira-mcp

Quick Start

  1. Set environment variables:
export JIRA_BASE_URL="https://your-instance.atlassian.net"
export JIRA_EMAIL="your-email@example.com"
export JIRA_API_TOKEN="your-api-token"
  1. Run the MCP server:
pnd-jira-mcp

Or via Python:

python -m pnd_jira_mcp

Claude Desktop Integration

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "jira": {
      "command": "pnd-jira-mcp",
      "env": {
        "JIRA_BASE_URL": "https://your-instance.atlassian.net",
        "JIRA_EMAIL": "your-email@example.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Available Tools

Issue Operations

get_issue

Get details of a Jira issue by key.

{"issue_key": "PROJ-123"}

search_issues

Search for Jira issues using JQL.

{"jql": "project = PROJ AND status = Open", "max_results": 50}

add_comment

Add a comment to a Jira issue (supports markdown).

{"issue_key": "PROJ-123", "body": "This is a **markdown** comment"}

add_label

Add a label to a Jira issue.

{"issue_key": "PROJ-123", "label": "reviewed"}

update_fields

Update fields on a Jira issue.

{"issue_key": "PROJ-123", "fields": {"summary": "New summary"}}

update_ai_fields

Update AI-related custom fields.

{"issue_key": "PROJ-123", "ai_used": true, "agent_name": "Claude"}

Transition Operations

get_transitions

Get available transitions for an issue.

{"issue_key": "PROJ-123"}

transition_issue

Transition an issue to a new status.

{"issue_key": "PROJ-123", "transition_id": "31"}

Sprint Operations

get_boards

Get all Jira boards, optionally filtered by project or type.

{"project_key": "PROJ", "board_type": "scrum"}

get_sprints

Get sprints for a board.

{"board_id": 123, "state": "active"}

get_sprint

Get details of a specific sprint.

{"sprint_id": 456}

get_active_sprint

Get the currently active sprint for a board.

{"board_id": 123}

get_sprint_issues

Get all issues in a sprint.

{"sprint_id": 456, "max_results": 200}

Utility

test_connection

Test the Jira connection and verify credentials.

{}

Environment Variables

Variable Description Required
JIRA_BASE_URL Jira instance URL Yes
JIRA_EMAIL Jira account email Yes
JIRA_API_TOKEN Jira API token Yes
JIRA_FIELD_AI_USED Custom field ID for AI used flag No
JIRA_FIELD_AGENT_NAME Custom field ID for agent name No
JIRA_FIELD_EFFICIENCY_SCORE Custom field ID for efficiency score No
JIRA_FIELD_DURATION Custom field ID for duration No

Getting a Jira API Token

  1. Go to https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click "Create API token"
  3. Give it a descriptive name
  4. Copy the token and store it securely

Example Usage in Claude

Once configured, you can ask Claude to interact with Jira:

  • "Add a comment to PROJ-123 saying the code review is complete"
  • "What's the status of PROJ-456?"
  • "Move PROJ-789 to In Progress"
  • "Find all open bugs in the PROJ project"
  • "Show me the active sprint for board 123"
  • "List all issues in the current sprint"

Programmatic Usage

from pnd_jira_mcp import JiraClient, JiraConfig

config = JiraConfig(
    base_url="https://your-instance.atlassian.net",
    email="your-email@example.com",
    api_token="your-api-token"
)

with JiraClient(config=config) as client:
    issue = client.get_issue("PROJ-123")
    print(f"Issue: {issue.summary}")
    
    # Get active sprint
    boards = client.get_boards(project_key="PROJ")
    if boards:
        sprint = client.get_active_sprint(boards[0]["id"])
        print(f"Active sprint: {sprint['name']}")

License

MIT

Metadata

Release files for pnd-jira-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pnd-jira-mcp 1.0.0
File Size Uploaded Provenance
pnd_jira_mcp-1.0.0.tar.gz 14.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pnd-jira-mcp 1.0.0
File Interpreter ABI Platform
pnd_jira_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.6 kB

Release files / pnd_jira_mcp-1.0.0.tar.gz

Download URL pnd_jira_mcp-1.0.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0b879c529217e2fc31fd37fdde7b5c2f853c88b0da74f0a172fe2f49cd536ada
BLAKE2b-256 checksum
How to use checksums
e3b6813bc9a5a199b9b9cc4f8381758f855ceb733814a35ec5faba92a6f82435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pnd_jira_mcp-1.0.0-py3-none-any.whl

Download URL pnd_jira_mcp-1.0.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a3868e660d69c806cfd022b603aa2cc550d9cabd3a717834d8890d1f1619a57
BLAKE2b-256 checksum
How to use checksums
77e592509c41838d700f5c3b98dafaa59383db461a7677d4a52d51dadbcdd296
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for pnd-jira-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page