Python Jira MCP Server
Integrates with Atlassian's Jira API, enabling AI models to perform Jira operations like searching for issues and retrieving issue details.
Supports loading Jira credentials from environment variables using python-dotenv for secure configuration.
Provides tools for searching Jira issues with JQL queries and retrieving detailed information about specific Jira issues, including fields like summary, description, status, and assignee.
Uses Pydantic for data validation of Jira API requests and responses.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Python Jira MCP Serversearch for issues assigned to me that are in progress"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: Jira MCP Server
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-mcpInstall the dependencies:
pip install -r requirements.txtSet 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.pyOr use the executable directly:
./main.pyThe 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.pyUse 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.pyAdd the tool schema in
src/tool_schemas.pyRegister the tool in
src/server.py
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that provides integration with Jira, allowing Large Language Models to interact with Jira projects, boards, sprints, and issues through natural language.516 npm3MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Jira, allowing for project management tasks such as listing projects, searching issues, creating tickets, and managing sprints through natural language queries.760 npm2TypeScriptMIT
- AlicenseNot gradedqualityDmaintenanceA Simple Model Context Protocol server that enables AI assistants to interact with Jira, allowing operations like fetching tickets, adding comments, and updating ticket status.1Apache 2.0
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Jira Cloud instances, providing capabilities for issue management, project listing, and JQL search.160 npm2MIT