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.
README
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
-
Clone this repository:
git clone https://github.com/yourusername/jira-cli-mcp.git cd jira-cli-mcp -
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 fileJIRA_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 issuesjira://issue/{issue_key}- View issue detailsjira://epics- List epicsjira://sprints- List sprintsjira://projects- List projectsjira://boards- List boardsjira://search/{jql}- Search issues with JQL
Available Tools
create_issue- Create a new Jira issueedit_issue- Edit an existing Jira issueassign_issue- Assign issue to a usermove_issue- Move/transition issue to new statusadd_comment- Add comment to issuesearch_issues_tool- Search issues with flexible criteriaclone_issue- Clone an existing issuelink_issues- Link two issuescreate_epic- Create a new epicadd_to_sprint- Add issues to sprint
Available Prompts
create_bug_report- Template for creating a bug reportcreate_feature_request- Template for creating a feature requestdaily_standup_search- Search for issues relevant to daily standupissue_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
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.