MCP-JIRA-Python Server

MCP JIRA Python πŸš€

A Python implementation of a MCP server for JIRA integration. MCP is a communication protocol designed to provide tools to your AI and keep your data secure (and local if you like). The server runs on the same computer as your AI application and the Claude Desktop is the first application to run MCP Servers (and is considered a client. See the examples folder for a simple python MCP client).

Installation

# Install the server locally git clone https://github.com/kallows/mcp-jira-python.git

Claude Desktop Configuration

This requires you update claude_desktop_config.json. The file's location varies depending on Apple, Windows, or Linux.

Windows

Note: location of claude_desktop_config.json in Windows is:

%AppData%\Claude\claude_desktop_config.json

This will resolve (usually) to: C:\Users\YOURUSERNAME\AppData\Roaming\Claude

Below is the configuration block to add to claude_desktop_config.json. With Windows we always use full paths. You will update "command", set your directory path, and add your JIRA env settings

<pre> "jira-api": { "command": "C:\\Users\\YOURUSERNAME\\.local\\bin\\uv.exe", "args": [ "--directory", "D:\\mcp\\mcp-jira-python", "run", "-m", "mcp_jira_python.server" ], "env": { "JIRA_HOST": "YOURNAME.atlassian.net", "JIRA_EMAIL": "yourname@example.com", "JIRA_API_TOKEN": "YOURJIRATOKEN" } } </pre>

☠️WARNING - you MUST close Claude Desktop AND kill all Claude processes to enable the updated claude_desktop_config.json!😬

Mac and Linux

Update the filepath to mcp-jira-python and fill in your JIRA env values:

<pre> "mcp-jira-python": { "command": "uv", "args": [ "run", "--directory", "/your/filepath/mcp-jira-python", "src/jira-api/server.py" ], "env": { "JIRA_HOST": "your_org.atlassian.net", "JIRA_EMAIL": "you@your_org.com", "JIRA_API_TOKEN": "your_api_token" } } </pre>

Note:

You must restart Claude Desktop after saving changes to claude_desktop_config.json.

Running MCP JIRA Python Tools

These MCP Tools are listed under jira-api server. You can see the listing by clicking on the tiny hammer in the lower right corner of the Claude Desktop text entry box. Please verify that the jira-api tools are available in the list. To 'run' a tool, just ask Claude specifically to do a Jira task. Notably, Claude may not see the tools at first and has to be nudged. In some cases, he will refuse to use tools. Updating the system prompt is recommended.

Running Tests

TODO - add description of running the tests (unittest) TODO - add some code to make it easier for the tests to get the env vars as the integration and system tests require the following environment variables:

export JIRA_HOST="your-domain.atlassian.net" export JIRA_EMAIL="your-email@example.com" export JIRA_API_TOKEN="your-api-token"

TODO - generate a test coverage report:

Project Structure

mcp-jira-python/ β”œβ”€β”€ README.md β”œβ”€β”€ pyproject.toml β”œβ”€β”€ src/ β”‚ └── jira_api/ β”‚ β”œβ”€β”€ __init__.py β”‚ └── server.py └── tests/ β”œβ”€β”€ __init__.py β”œβ”€β”€ test_jira_api.py β”œβ”€β”€ test_jira_integration.py └── test_jira_mcp_system.py
-
security - not tested
A
license - permissive license
-
quality - not tested

A Python-based server allowing seamless integration with JIRA for managing and interacting with projects through custom APIs.

  1. Installation
    1. Claude Desktop Configuration
      1. Windows
        1. ☠️WARNING - you MUST close Claude Desktop AND kill all Claude processes to enable the updated claude_desktop_config.json!😬
        2. Mac and Linux
          1. Note:
        3. Running MCP JIRA Python Tools
          1. Running Tests
            1. Project Structure