This MCP server integrates with Jira's REST API, allowing you to interact with Jira using natural language commands through Claude Desktop and other MCP clients. It enables you to manage projects, issues, comments, and workflows through simple, conversational queries.
# Install a Virtual Environment in the MCP server directory
python -m venv .
# Activate the virtual environment
source bin/activate
# Install uv if you don't have it
pip install uv
# Install the Jira MCP server
uv pip install mcp-server-jira
pip install mcp-server-jira
Configure the server using these environment variables:
JIRA_SERVER_URL
: URL of your Jira serverJIRA_AUTH_METHOD
: Authentication method ('basic_auth' or 'token_auth')JIRA_USERNAME
: Username for basic authJIRA_PASSWORD
: Password for basic authJIRA_TOKEN
: API token or Personal Access TokenFor local development, create a .env
file in the root directory:
JIRA_SERVER_URL=https://your-jira-instance.atlassian.net
JIRA_AUTH_METHOD=basic_auth
[email protected]
JIRA_TOKEN=your_api_token
JIRA_SERVER_URL="https://jira.example.com"
JIRA_AUTH_METHOD="basic_auth"
JIRA_USERNAME="your_username"
JIRA_PASSWORD="your_password"
JIRA_SERVER_URL="https://your-domain.atlassian.net"
JIRA_AUTH_METHOD="basic_auth"
JIRA_USERNAME="[email protected]"
JIRA_TOKEN="your_api_token"
JIRA_SERVER_URL="https://jira.example.com"
JIRA_AUTH_METHOD="token_auth"
JIRA_TOKEN="your_personal_access_token"
python -m mcp_server_jira
docker build -t mcp-jira .
docker run --env-file .env -p 8080:8080 mcp-jira
To use with Claude Desktop:
{
"mcpServers": {
"jira": {
"command": "<PATH TO UV>",
"args": [
"--directory",
"<PATH TO JIRA MCP>",
"run",
"mcp-server-jira"
],
"env": {
"JIRA_SERVER_URL": "https://<ORG>.atlassian.net/",
"JIRA_AUTH_METHOD": "token_auth",
"JIRA_USERNAME": "<USERNAME>",
"JIRA_TOKEN": "<TOKEN>"
}
}
}
}
The MCP server provides the following capabilities:
After integration, you can interact with Jira by asking Claude questions like:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "jira" '{"command":"uv","args":["--directory","<PATH TO JIRA MCP>","run","mcp-server-jira"],"env":{"JIRA_SERVER_URL":"https://<ORG>.atlassian.net/","JIRA_AUTH_METHOD":"token_auth","JIRA_USERNAME":"<USERNAME>","JIRA_TOKEN":"<TOKEN>"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"jira": {
"command": "uv",
"args": [
"--directory",
"<PATH TO JIRA MCP>",
"run",
"mcp-server-jira"
],
"env": {
"JIRA_SERVER_URL": "https://<ORG>.atlassian.net/",
"JIRA_AUTH_METHOD": "token_auth",
"JIRA_USERNAME": "<USERNAME>",
"JIRA_TOKEN": "<TOKEN>"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"jira": {
"command": "uv",
"args": [
"--directory",
"<PATH TO JIRA MCP>",
"run",
"mcp-server-jira"
],
"env": {
"JIRA_SERVER_URL": "https://<ORG>.atlassian.net/",
"JIRA_AUTH_METHOD": "token_auth",
"JIRA_USERNAME": "<USERNAME>",
"JIRA_TOKEN": "<TOKEN>"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect