Skip to main content

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 email
  • JIRA_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

  1. Clone the repository

  2. Install dependencies:

    uv sync
    
  3. Create a .env file based on env.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

Acknowledgments

Built with:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira_mcp_tools-0.2.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jira_mcp_tools-0.2.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file jira_mcp_tools-0.2.0.tar.gz.

File metadata

  • Download URL: jira_mcp_tools-0.2.0.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

Hashes for jira_mcp_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b4510323a5ba30f48f6dd728b04d856e76c12f01372b68f48054f77322304b2
MD5 7d2af7dc51c7c461a6a4ed354295b214
BLAKE2b-256 5f54052fc30b40ea96232b4f1e13486b6d0b83f361b91fadfe6d48d25e41ab12

See more details on using hashes here.

File details

Details for the file jira_mcp_tools-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: jira_mcp_tools-0.2.0-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

Hashes for jira_mcp_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cb181ed8b1d41f30dc61bb4536ef4a3d6b81450d237eeb5666c97f218687cb9
MD5 a5f3ccfdfcb78c83466215072b2c2aa1
BLAKE2b-256 2899b69cb4857995bbc76a6e5260c5cf33f3bc36f16ac5c04e08840f8abb32f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page