Skip to main content

MCP server exposing Jira Cloud tools via FastMCP

Project description

jira2mcp

MCP server for Jira Cloud — gives AI assistants like Claude the ability to read, create, edit, search, and comment on Jira issues.

This repository also contains jira2cli for local and development CLI usage.

Built with FastMCP and jira2py.

Setup

1. Get your Jira credentials

You need three values from your Jira Cloud instance:

Variable Description
JIRA_URL Your Jira instance URL (e.g. https://yourcompany.atlassian.net)
JIRA_USER Your Jira account email
JIRA_API_TOKEN API token from id.atlassian.com/manage-profile/security/api-tokens

2. Install uv (if not already installed)

uvx is part of uv, a fast Python package manager:

# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

3. Add to Claude Code

claude mcp add jira -- uvx jira2mcp

4. Configure credentials

Option A: Shell environment variables

Export them in your shell profile (~/.bashrc, ~/.zshrc, etc.):

export JIRA_URL="https://yourcompany.atlassian.net"
export JIRA_USER="you@company.com"
export JIRA_API_TOKEN="your-api-token"

The MCP configuration stays minimal:

{
  "mcpServers": {
    "jira": {
      "command": "uvx",
      "args": ["jira2mcp"]
    }
  }
}

Option B: Inline in MCP configuration

If you prefer not to set global environment variables, provide them directly in the env section:

{
  "mcpServers": {
    "jira": {
      "command": "uvx",
      "args": ["jira2mcp"],
      "env": {
        "JIRA_URL": "https://yourcompany.atlassian.net",
        "JIRA_USER": "you@company.com",
        "JIRA_API_TOKEN": "your-api-token"
      }
    }
  }
}

Tools

Tool Description
jira_read Read a Jira issue by key with full details
jira_search Search issues using JQL
jira_create Create a new issue
jira_edit Update an existing issue
jira_comment Add a comment to an issue
jira_comments List comments with pagination
jira_fields Get field metadata for create/edit screens
jira_projects List accessible projects
jira_users Search users by name or email
jira_attachment Download an attachment
jira_add_link Create a link between two issues
jira_delete_link Delete an issue link
jira_worklog_report Build a worklog report for JQL-selected issues within a UTC date range

jira_worklog_report

  • Required parameters: start_date, end_date, and jql.
  • Optional parameters: account_id, max_issues, include_details, and raw.
  • Issue selection is JQL-only. For a single issue, use JQL such as issue = PROJ-123.
  • Dates are interpreted in UTC, and end_date is inclusive.
  • Optional account_id filtering is applied client-side by worklog author accountId.
  • max_issues defaults to 100, must be at least 1, and limits how many JQL-matched issues are scanned; the report notes truncation when more issues match.
  • Output rows use displayName as the friendly user name.
  • Results depend on the configured Jira account's issue/worklog visibility and permissions.

Resources

Resource Description
data://jira/link-types Available issue link types in your Jira instance

Prompts

Prompt Description
jql_syntax JQL syntax reference for building search queries

Key features

  • Markdown in, Markdown out — write descriptions and comments in Markdown; they're auto-converted to Atlassian Document Format (ADF). ADF fields from Jira are converted back to Markdown.
  • Field discovery — use jira_fields to discover required and available fields before creating or editing issues.
  • User lookup — use jira_users to resolve display names to account IDs for assignment.
  • Extra fields — request additional fields on jira_read beyond the standard set; rich-text fields are auto-converted.
  • Link management — read the data://jira/link-types resource to discover available link types, then create or delete links between issues.

Repository layout

This repository is a uv workspace with two packages:

  • packages/jira2mcp — the FastMCP server/adapter package published as jira2mcp.
  • packages/jira2cli — the CLI adapter package for local/dev use.

End-user MCP setup stays the same: use uvx jira2mcp directly or claude mcp add jira -- uvx jira2mcp.

Maintainers

jira2mcp releases are part of a multi-package workspace. Future tags use jira2mcp-vX.Y.Z, not broad v* tags.

See the maintainer release guide for sequencing, stop gates, and Trusted Publishing boundaries:

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jira2mcp-0.1.5.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jira2mcp-0.1.5-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file jira2mcp-0.1.5.tar.gz.

File metadata

  • Download URL: jira2mcp-0.1.5.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jira2mcp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2c7f1594d2ae5fb83d33d97e8b9f524fd25dbbc34819b3d6b106d26c118e4fe1
MD5 3ec3a9d94a3d87e3118000f18893d96d
BLAKE2b-256 c7d9cb91414deaa0b4991065edd49932d678273c1a309a695e0b69eb37ee84b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira2mcp-0.1.5.tar.gz:

Publisher: publish.yml on en-ver/jira2ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jira2mcp-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: jira2mcp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jira2mcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 64108cb01b164864e64565ecce2dd46cba2c34779f0dc240616deffa81cf5102
MD5 95a45b670dda0f0d302904c33dd58327
BLAKE2b-256 dfa6f95ba39d5e101271534dd5cdd626b064f8927fb6153368cfb697e214ff76

See more details on using hashes here.

Provenance

The following attestation bundles were made for jira2mcp-0.1.5-py3-none-any.whl:

Publisher: publish.yml on en-ver/jira2ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page