Integrations
Supports loading Jira credentials from environment variables using python-dotenv for secure configuration.
Integrates with Atlassian's Jira API, enabling AI models to perform Jira operations like searching for issues and retrieving issue details.
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.
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:Copy
- Install the dependencies:Copy
- Set up your Jira credentials:Copy
Usage
Running the Server
To start the MCP server, run:
Or use the executable directly:
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:
Get Issue
Retrieve details about a specific Jira issue by its ID or key.
Example:
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
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
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.
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables AI models to interact with Jira using a standardized protocol, offering full Jira REST API integration with features like optimal performance through connection pooling, error handling, and request monitoring.Last updated -2TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that enables integration with JIRA, allowing users to interact with JIRA tasks and issues through Claude AI assistant.Last updated -32Python
- -securityAlicense-qualityA 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.Last updated -91TypeScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enables ChatGPT and other AI assistants to directly interact with JIRA issues, currently offering the ability to retrieve issue details.Last updated -TypeScript