Python Jira MCP Server
A server implementation that allows AI models to interact with Jira through the Model Context Protocol, enabling tasks like JQL searches and retrieving issue details.
Chase-Bullock
README
Python Jira MCP Server
A Model Context Protocol (MCP) server implementation in Python that integrates with Jira API. This allows AI models to interact with Jira through a standardized protocol.
Overview
This MCP server exposes Jira API operations as tools that can be used by AI models supporting the Model Context Protocol. The server implements the stdio transport mechanism to communicate with clients like Cursor.
Features
- JQL Search Tool: Search for Jira issues using JQL queries
- Get Issue Tool: Retrieve detailed information about a specific Jira issue
- MCP SDK Integration: Compatible with the official MCP Python SDK
- Fallback Mode: Minimal implementation when the SDK is not available
- Environment Configuration: Load Jira credentials from environment variables
Requirements
- Python 3.8+
- Jira API access (API token, email, and domain)
- Required Python packages:
mcp
(Model Context Protocol Python SDK)aiohttp
(for HTTP requests)pydantic
(for validation)python-dotenv
(for environment variables)
Installation
-
Clone this repository:
git clone https://github.com/yourusername/python-jira-mcp.git cd python-jira-mcp
-
Install the dependencies:
pip install -r requirements.txt
-
Set up your Jira credentials:
cp .env.example .env # Edit .env with your Jira credentials
Usage
Running the Server
To start the MCP server, run:
python main.py
Or use the executable directly:
./main.py
The server will start and listen for MCP messages on standard input (stdin) and respond on standard output (stdout).
Integrating with Cursor
To use this MCP server with Cursor:
- Start the server (as above)
- In Cursor, configure the MCP server path to point to
main.py
- Use Jira tools directly within Cursor
Available Tools
JQL Search
Search for Jira issues using JQL (Jira Query Language).
Example:
{
"type": "tool_call",
"id": "123",
"name": "jql_search",
"parameters": {
"jql": "project = XYZ AND status = 'In Progress'",
"max_results": 10,
"fields": ["summary", "description", "status"]
}
}
Get Issue
Retrieve details about a specific Jira issue by its ID or key.
Example:
{
"type": "tool_call",
"id": "456",
"name": "get_issue",
"parameters": {
"issue_id_or_key": "XYZ-123",
"fields": ["summary", "description", "status", "assignee"],
"expand": "changelog"
}
}
Development
Project Structure
main.py
: Entry point for the MCP serversrc/server.py
: Main MCP server implementationsrc/tools/jira_tools.py
: Jira API tool implementationssrc/tool_schemas.py
: Tool schemas definition
Adding New Tools
To add a new Jira-related tool:
- Implement the tool function in
src/tools/jira_tools.py
- Add the tool schema in
src/tool_schemas.py
- Register the tool in
src/server.py
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
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.
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.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Apple MCP Server
Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
YouTube Transcript MCP Server
This server retrieves transcripts for given YouTube video URLs, enabling integration with Goose CLI or Goose Desktop for transcript extraction and processing.