Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables Claude Code CLI to interact with Jira, including fetching issue details, searching issues with JQL, retrieving comments, and getting user info, with support for multiple Jira environments.

README.md

Jira MCP Server

For Claude Code CLI

A Model Context Protocol (MCP) server that provides seamless Jira integration for Claude Code CLI.

Features

  • Get Issue Details - Fetch complete information about any Jira issue
  • Search Issues - Query issues using JQL (Jira Query Language)
  • Get Comments - Retrieve all comments on an issue
  • User Info - Get authenticated user details
  • Multi-Environment Support - Connect to multiple Jira instances simultaneously
  • Project-Specific Configuration - Different Jira environments per project via .mcp.json

Quick Start

1. Install

cd /var/home/mrwilde/mcp/jira-mcp-server
./install.sh

2. Configure (Per-Project)

Create .mcp.json in your project root:

cd /path/to/your/project

cat > .mcp.json <<'EOF'
{
  "mcpServers": {
    "jira": {
      "command": "python",
      "args": ["-m", "jira_mcp.server"],
      "env": {
        "JIRA_HOST": "https://your-company.atlassian.net",
        "JIRA_EMAIL": "your-email@company.com",
        "JIRA_API_TOKEN": "your-api-token",
        "JIRA_DEFAULT_PROJECT": "PROJ"
      }
    }
  }
}
EOF

# Don't commit tokens!
echo ".mcp.json" >> .gitignore

3. Verify

claude mcp list

4. Use

In Claude Code CLI, simply ask:

  • "Get details for issue LXP-449"
  • "Search for all my open tasks"
  • "Show comments on PROJ-123"

Installation & Configuration

See INSTALLATION.md for complete setup instructions including:

  • System-wide installation
  • Per-project configuration (.mcp.json)
  • Global user configuration
  • Multiple Jira environments
  • CLI commands (claude mcp add)
  • Security best practices

Configuration Methods

Method 1: Project .mcp.json File (Recommended)

{
  "mcpServers": {
    "jira": {
      "command": "python",
      "args": ["-m", "jira_mcp.server"],
      "env": {
        "JIRA_HOST": "https://company.atlassian.net",
        "JIRA_EMAIL": "you@company.com",
        "JIRA_API_TOKEN": "your-token"
      }
    }
  }
}

Method 2: Claude Code CLI Command

# Add to current project
cd /path/to/project
claude mcp add --scope project jira \
  --env JIRA_HOST=https://company.atlassian.net \
  --env JIRA_EMAIL=you@company.com \
  --env JIRA_API_TOKEN=your-token \
  -- python -m jira_mcp.server

# Add globally for all projects
claude mcp add --scope user jira \
  --env JIRA_HOST=https://company.atlassian.net \
  --env JIRA_EMAIL=you@company.com \
  --env JIRA_API_TOKEN=your-token \
  -- python -m jira_mcp.server

Development

Testing

# Test connection and authentication
source venv/bin/activate
python tests/test_connection.py

# Test with specific issue
python tests/test_connection.py LXP-449

Project Structure

jira-mcp-server/
├── src/jira_mcp/
│   ├── server.py       # MCP server implementation
│   └── jira_client.py  # Jira API wrapper
├── tests/
│   └── test_connection.py
├── config-examples/    # Configuration templates
│   ├── project-mcp.json
│   └── multi-environment-mcp.json
├── pyproject.toml
├── requirements.txt
├── install.sh          # Quick install script
└── INSTALLATION.md     # Complete setup guide

MCP Tools

get_issue

Fetch detailed information about a Jira issue.

Input: issue_key (string) - e.g., "LXP-449"

Returns: Full issue details including summary, description, status, assignee, priority, dates, and project info.

search_issues

Search for issues using JQL (Jira Query Language).

Input:

  • jql (string) - Query string, e.g., "project = LXP AND status = 'To Do'"
  • max_results (number, optional) - Default: 50

Returns: List of matching issues with key details.

get_issue_comments

Get all comments on a specific issue.

Input: issue_key (string)

Returns: List of comments with author, body, and timestamps.

get_current_user

Get information about the authenticated user.

Input: None

Returns: User details including username, email, and display name.

JQL Query Examples

# All issues in a project
project = LXP

# Your open issues
assignee = currentUser() AND status != Done

# Recent updates
updated >= -7d ORDER BY updated DESC

# Complex query
project = LXP AND status = "In Progress" AND assignee = currentUser()

Multiple Environments Example

{
  "mcpServers": {
    "jira-prod": {
      "command": "python",
      "args": ["-m", "jira_mcp.server"],
      "env": {
        "JIRA_HOST": "https://prod.atlassian.net",
        "JIRA_EMAIL": "you@company.com",
        "JIRA_API_TOKEN": "prod-token",
        "JIRA_DEFAULT_PROJECT": "LXP"
      }
    },
    "jira-staging": {
      "command": "python",
      "args": ["-m", "jira_mcp.server"],
      "env": {
        "JIRA_HOST": "https://staging.atlassian.net",
        "JIRA_EMAIL": "you@company.com",
        "JIRA_API_TOKEN": "staging-token",
        "JIRA_DEFAULT_PROJECT": "LXL"
      }
    }
  }
}

Claude Code CLI Commands

# List MCP servers
claude mcp list

# Get server details
claude mcp get jira

# Remove server
claude mcp remove --scope project jira

# Debug MCP issues
claude --mcp-debug

Getting a Jira API Token

  1. Visit: https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click "Create API token"
  3. Name it (e.g., "MCP Server - Project X")
  4. Copy the token immediately
  5. Add it to your .mcp.json

Security

  • Never commit tokens to version control
  • Add .mcp.json to .gitignore in every project
  • Use project-specific tokens with minimal permissions
  • Rotate tokens regularly (every 90 days)
  • Revoke unused tokens
  • Create .mcp.json.example templates for team onboarding

Requirements

  • Python >= 3.10
  • Claude Code CLI
  • Jira Cloud account with API access
  • API token for authentication

Dependencies

  • mcp >= 1.0.0 - Model Context Protocol SDK
  • jira >= 3.5.0 - Python Jira library
  • python-dotenv >= 1.0.0 - Environment variable management
  • httpx >= 0.27.0 - HTTP client

Troubleshooting

Module Not Found

Use full Python path in .mcp.json:

{
  "mcpServers": {
    "jira": {
      "command": "/var/home/mrwilde/mcp/jira-mcp-server/venv/bin/python",
      "args": ["-m", "jira_mcp.server"],
      ...
    }
  }
}

Check MCP Status

claude mcp list
claude --mcp-debug

See INSTALLATION.md for detailed troubleshooting.

License

MIT

Contributing

Contributions welcome! Please submit issues or pull requests.

Support

Changelog

0.1.0 (2025-10-28)

  • Initial release for Claude Code CLI
  • Core MCP server implementation
  • Four essential Jira tools (get_issue, search_issues, get_issue_comments, get_current_user)
  • Multi-environment support via .mcp.json
  • Project-specific configuration
  • Comprehensive documentation

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.