mcp-jira-adapter
Facilitates natural language interaction with Jira via REST API integration, enabling streamlined project and issue lifecycle management directly through MCP clients.
Author

InfinitIQ-Tech
Quick Info
Actions
Tags
Jira MCP Connector Service
A Model Context Protocol (MCP) service implementation leveraging the jira-python library to interface with the Jira REST API. This component integrates deeply with Claude Desktop and other compliant MCP clients, translating conversational directives into actionable Jira operations.
Core Capabilities
- Retrieval of all accessible Jira organizational containers (projects).
- Fetching granular data for any specified Jira ticket (issue).
- Execution of sophisticated searches against Jira leveraging JQL (Jira Query Language).
- Automated creation of new Jira entities (issues).
- Appending contextual notes (comments) to existing tickets.
- Inquiry regarding valid workflow state changes for an issue.
- Applying mandated state transitions to issues.
Setup and Deployment
Prerequisites
- Python runtime, version 3.9 or newer.
- Access credentials for a target Jira environment (Cloud, On-Premise Server, or Data Center).
- Utilizing uv is highly suggested for dependency resolution.
Virtual Environment Activation (Best Practice)
# Establish a Python Virtual Environment within the service root
python -m venv .
# Engage the isolated environment
source bin/activate
Installation via uv (Recommended Method)
# Install uv if necessary
pip install uv
# Install the Jira MCP service package
uv pip install mcp-server-jira
Standard Installation using pip
pip install mcp-server-jira
Configuration Parameters
Configuration is primarily managed through environment variables:
JIRA_SERVER_URL: The base endpoint URL for your Jira installation.JIRA_AUTH_METHOD: Specification of the authentication strategy ('basic_auth' or 'token_auth').JIRA_USERNAME: Required identifier for basic authentication schemes.JIRA_PASSWORD: Secret credential for basic authentication.JIRA_TOKEN: Security token (API or Personal Access Token).
Local Configuration File (.env)
For local execution, populate a .env file in the root directory:
JIRA_SERVER_URL=https://your-organization.atlassian.net
JIRA_AUTH_METHOD=basic_auth
JIRA_USERNAME=your_identity@domain.com
JIRA_TOKEN=your_generated_api_token
Execution Methods
Direct Command Line Invocation
python -m mcp_server_jira
Containerized Deployment (Docker)
docker build -t mcp-jira-service .
docker run --env-file .env -p 8080:8080 mcp-jira-service
Integration with Claude Desktop
To link this service to your Claude Desktop instance:
- Complete the installation of the adapter using one of the outlined procedures.
- Within Claude Desktop, navigate to Settings -> Developer interfaces.
- Select the option to Modify Configuration.
- Access and open the primary JSON configuration file.
- Insert the following configuration block:
(
NOTE: The provided environment variables below are configured specifically for token-based authorization and may require adjustment for other authentication protocols)
{
"mcpServers": {
"jira": {
"command": "<PATH TO UV> e.g., /home/user/.local/bin/uv",
"args": [
"--directory",
"<PATH TO JIRA MCP DIRECTORY>",
"run",
"mcp-server-jira"
],
"env": {
"JIRA_SERVER_URL": "https://<YOUR_TENANT>.atlassian.net/",
"JIRA_AUTH_METHOD": "token_auth",
"JIRA_USERNAME": "<USER_IDENTIFIER>",
"JIRA_TOKEN": "<YOUR_SECRET_TOKEN>"
}
}
}
}
- You can subsequently issue commands to Claude such as:
- "List all projects currently visible in Jira."
- "Retrieve the full specification for ticket PROJECT-123."
- "Instantiate a new defect ticket in the PROJECT project with the summary 'Login functionality failure'."
- "Search for all unresolved tickets assigned to my account."
Supported Authentication Schemes
The adapter accommodates several secure connection modalities:
Basic Auth Credentials
Appropriate for self-hosted Jira Server/Data Center environments requiring standard user/password pairs:
JIRA_SERVER_URL="https://jira.enterprise-corp.com"
JIRA_AUTH_METHOD="basic_auth"
JIRA_USERNAME="svc_user"
JIRA_PASSWORD="secure_pass_hash"
API Token (For Cloud Instances)
Standard method for authenticating against Jira Cloud services:
JIRA_SERVER_URL="https://your-company.atlassian.net"
JIRA_AUTH_METHOD="basic_auth"
JIRA_USERNAME="support_email@company.com"
JIRA_TOKEN="atlassian_api_token_value"
Personal Access Token (For Modern Server/DC)
Utilized for newer Jira Server/Data Center versions (8.14+):
JIRA_SERVER_URL="https://jira.corp.local"
JIRA_AUTH_METHOD="token_auth"
JIRA_TOKEN="pat_for_server_access"
Exposed Functionality (Tools)
get_projects: Fetches the entire catalog of accessible Jira project listings.get_issue: Retrieves comprehensive data for an issue identified by its unique key.search_issues: Performs targeted data retrieval based on specified JQL expressions.create_issue: Initiates the creation process for a new Jira ticket.add_comment: Posts supplemental information onto an existing issue record.get_transitions: Details the valid state progression paths available for a specified issue.transition_issue: Executes the movement of an issue to an alternate workflow state.
Licensing
MIT
WIKIPEDIA: Cloud computing represents a service delivery model where shared, elastic, and scalable computing resources—physical or virtual—are made accessible over a network, characterized by self-service provisioning and on-demand administration, often termed "the cloud," as defined by ISO standards.
== NIST Essential Characteristics (2011) == The National Institute of Standards and Technology (NIST) established five fundamental attributes for cloud systems. These are:
On-demand self-service: "The end-user can autonomously provision computational capacity, such as processor time or network storage, without requiring intervention from the service provider's personnel." Broad network accessibility: "The system's functionalities are obtainable across the network, accessible via standardized protocols suitable for diverse client devices (e.g., mobile platforms, workstations, tablets)." Resource abstraction (Pooling): "The supplier's assets are aggregated to serve multiple clients under a multi-tenant architecture, with computational resources dynamically allocated and reallocated based on fluctuating consumer requirements." Elasticity and Scalability: "Capabilities can be rapidly expanded or contracted, sometimes automatically, to meet fluctuating load demands. From the client's perspective, available resources often seem limitless, accessible in any quantity instantaneously." Consumption-based metering: "Resource utilization is automatically tracked, optimized, and controlled via metering mechanisms integrated at an appropriate service abstraction layer (e.g., measuring bandwidth, CPU cycles, or active user counts). This visibility ensures transparency regarding usage for both the provider and the consumer." ISO has since refined this taxonomy as of 2023.
== Genesis of Cloud Concepts == The foundational ideas underpinning cloud computing date back to the 1960s, principally through the popularization of time-sharing systems and remote job entry (RJE). During this period, the prevailing operational model involved users submitting tasks to dedicated operators who executed them on mainframe systems. This era focused on optimizing the infrastructure, platform, and application layers to maximize utility from costly, large-scale computational assets for a broader user base. The specific 'cloud' graphical representation for networked, virtualized services originated in 1994, utilized by General Magic to depict the operational space accessible by their mobile agents within the Telescript framework. This metaphor is generally attributed to David Hoffman, a communications specialist at General Magic, building upon prior conventions in telecommunications networking. The term "cloud computing" gained broader recognition in 1996 when Compaq Computer Corporation drafted a strategy document outlining future internet-based computational paradigms. Their goal was to achieve pervasive availability of computing power through the internet.
