Skip to main content

Jira CLI MCP

A Model Context Protocol (MCP) server that wraps the Jira CLI tool, exposing Jira commands through MCP resources, tools, and prompts for AI assistant integration.

Features

  • MCP Resources: Access Jira data through standardized URL endpoints
  • MCP Tools: Execute Jira commands (create issues, edit, assign, etc.)
  • MCP Prompts: Use templates for common Jira workflows
  • Authentication: Uses existing Jira CLI authentication
  • Project Configuration: Customize default project and config

Prerequisites

  • Python 3.11+
  • Jira CLI installed and configured
  • Access to a Jira instance

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/jira-cli-mcp.git
    cd jira-cli-mcp
    
  2. Install dependencies with uv:

    uv sync
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    

Configuration

The server can be configured via environment variables:

  • JIRA_CONFIG_FILE: Path to a custom Jira CLI config file
  • JIRA_PROJECT: Default Jira project to use

Example:

export JIRA_PROJECT="PROJ"
export JIRA_CONFIG_FILE="/path/to/config.yml"

Usage

Starting the Server

python main.py

By default, the server will start on port 8080.

Available Resources

  • jira://issues - List recent issues
  • jira://issue/{issue_key} - View issue details
  • jira://epics - List epics
  • jira://sprints - List sprints
  • jira://projects - List projects
  • jira://boards - List boards
  • jira://search/{jql} - Search issues with JQL

Available Tools

  • create_issue - Create a new Jira issue
  • edit_issue - Edit an existing Jira issue
  • assign_issue - Assign issue to a user
  • move_issue - Move/transition issue to new status
  • add_comment - Add comment to issue
  • search_issues_tool - Search issues with flexible criteria
  • clone_issue - Clone an existing issue
  • link_issues - Link two issues
  • create_epic - Create a new epic
  • add_to_sprint - Add issues to sprint

Available Prompts

  • create_bug_report - Template for creating a bug report
  • create_feature_request - Template for creating a feature request
  • daily_standup_search - Search for issues relevant to daily standup
  • issue_triage_workflow - Workflow for triaging new issues

Integrating with AI Assistants

This MCP server can be integrated with AI assistants that support the Model Context Protocol. Example integration:

from mcp.client import MCPClient

# Connect to the MCP server
client = MCPClient("http://localhost:8080")

# Use resources
issues = client.fetch_resource("jira://issues")

# Execute tools
result = client.execute_tool("create_issue", {
    "summary": "Fix login bug",
    "issue_type": "Bug",
    "priority": "High"
})

# Get prompts
template = client.get_prompt("create_bug_report", {
    "component": "Authentication", 
    "severity": "High"
})

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for jira-cli-mcp 0.1.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 jira-cli-mcp 0.1.0
File Size Uploaded Provenance Actions
jira_cli_mcp-0.1.0.tar.gz 22.1 kB With provenance Details for jira_cli_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jira-cli-mcp 0.1.0
File Interpreter ABI Platform Actions
jira_cli_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for jira_cli_mcp-0.1.0-py3-none-any.whl

Total release size: 28.9 kB

Release files / jira_cli_mcp-0.1.0.tar.gz

Download URL jira_cli_mcp-0.1.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e97f5090a9c54c687c5c8931c7824a84b83807f2b2e09e311369f5af1f2b331
BLAKE2b-256 checksum
How to use checksums
6dfa3499e6a0bbf85803f39fcb0eb356aa108c2587c7ca59ecdb3564abe51071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2025.

Transparency log

Release files / jira_cli_mcp-0.1.0-py3-none-any.whl

Download URL jira_cli_mcp-0.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1368833d80ccef7d78f8f2f78dd752f65770ddbb5b34be829b49d5e0f725324a
BLAKE2b-256 checksum
How to use checksums
4ad9d29669b3f94e02d4d87560114bfdfa00892116749c620185a093d0de3ac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2025.

Transparency log

Security for jira-cli-mcp 0.1.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jira_cli_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 13, 2025.

Transparency log

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

0.1.0 This release

2 release files Full 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