Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by khanglvm

@khanglvm/jira-mcp

MCP server for legacy Jira Server (v7.x) with Basic Authentication. Works with any MCP-compatible AI tool.

Using Jira Cloud or Data Center 8.14+? Use mcp-atlassian instead for OAuth/PAT support.


Prerequisites

Node.js (v18+) is required.

macOS / Linux:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

Windows (PowerShell):

winget install -e --id OpenJS.NodeJS.LTS

Related MCP server: Jira MCP Server

Quick Install

Install using mcpm (MCP Manager) — a universal installer that works with all AI agents:

npx @khanglvm/mcpm https://github.com/khanglvm/jira-mcp

What this does:

  • Auto-detects your installed AI agents (Claude Desktop, Cursor, VS Code, etc.)

  • Prompts for your Jira credentials securely

  • Transforms config to match each agent's format

  • Safely merges with existing configurations

AI Agents: Do NOT use this method — it requires interactive terminal input. See For AI Agents below.


For AI Agents

MCP Installation

Follow the MCP Server Installation Workflow for automated setup:

  • Automatic agent detection and configuration

  • Secure credential collection

  • Proper config format transformation for your specific agent

Install the companion skill for JQL expertise, gotcha prevention, and response formatting:

# Install globally (available across all projects)
npx skills add https://github.com/khanglvm/skills --skill jira-mcp -g

# Install for a specific agent
npx skills add https://github.com/khanglvm/skills --skill jira-mcp -a claude-code -g

# Headless install (non-interactive, for CI/automation)
npx skills add https://github.com/khanglvm/skills --skill jira-mcp -a claude-code -g -y

The skill provides:

  • Complete JQL reference — operators, fields, functions, and date syntax

  • Critical gotchas — statusCategory ("To Do") vs status vs type (Bug/Task)

  • Common patterns — ready-to-use JQL queries for standup prep, sprint overview, bug triage

  • Workflow guidance — transition-based status changes, self-hosted URL construction

  • Response formatting — clickable ticket links, table layouts, status icons


Available Tools

Tool

Description

jira_get_issue

Get issue details by key

jira_create_issue

Create a new issue

jira_update_issue

Update issue fields

jira_delete_issue

Delete an issue

jira_add_comment

Add comment to issue

jira_get_comments

Get issue comments

jira_search

Search issues using JQL

jira_list_projects

List all accessible projects

jira_get_project

Get project details

jira_get_release_board

Get a complete project release from a Jira version URL or id

jira_get_transitions

Get available transitions

jira_transition_issue

Transition issue to new status

jira_get_current_user

Get authenticated user info

jira_get_user

Get user by username

jira_list_attachments

List attachments on an issue

jira_get_attachment

Download an attachment (image inline, else temp file)

jira_get_release_board accepts links such as https://jira.example.com/projects/PROJ/versions/12345. It returns the version, all directly assigned issues, hydrated Jira subtasks, status counts, and completeness evidence in one call. It preserves tickets outside the caller's scope so product tooling can classify ownership explicitly.


Environment Variables

Variable

Required

Description

JIRA_BASE_URL

yes

Jira instance URL

JIRA_USERNAME

yes

Username

JIRA_PASSWORD

yes

Password

JIRA_API_VERSION

no

API version (default: 2)


Best Practices

JQL Query Tips

  • Use statusCategory for broad filtering ("To Do", "In Progress", "Done") — NOT status or type

  • Always quote values with spaces: project = "My Project"

  • Use ORDER BY to sort results: ORDER BY created DESC

  • Specify fields in jira_search to reduce response size: ["summary", "status", "assignee"]

Workflow Transitions

  • You cannot set status directly — use jira_get_transitions to get valid transition IDs, then jira_transition_issue

  • Always call jira_get_current_user first to verify authentication

Common Gotcha

type = "To Do"  → ERROR: "The value 'To Do' does not exist for the field 'type'"

"To Do" is a status category, not an issue type. Use statusCategory = "To Do" instead.


Attachments

  • jira_list_attachments returns each attachment's id, filename, mimeType, size, created, author, content (download URL) and thumbnail. Metadata is read from the issue's fields.attachment[] via the legacy GET /rest/api/2/issue/{key}?fields=attachment endpoint.

  • jira_get_attachment accepts an attachmentId, or resolves an attachment by issueKey + filename. Images (mimeType starting with image/) are returned as a viewable MCP image content block; other files are written to os.tmpdir()/jira-mcp/<id>-<filename> and returned as a text block with the saved path and metadata (inline base64 is included only when the file is small, under 256KB).

  • The attachment content URL is an absolute URL outside the /rest/api/2 base; bytes are fetched with a raw authenticated request that reuses the Basic auth header and follows redirects. This is a legacy Jira Server v7.x integration — only /rest/api/2 endpoints are used (no Cloud /rest/api/3 or ADF).


Changelog

v1.7.1

  • security: omit issue descriptions from aggregate release-board results so embedded credentials or private payloads do not enter bulk agent output.

v1.7.0

  • feat: add jira_get_release_board with URL validation, paginated release membership, hydrated subtasks, counts, and completeness evidence.

  • fix: report the package version through MCP server metadata and --version.

  • test: run release-board and null-field offline contracts before publishing.

v1.6.1

  • fix: null-guard all issue/search/transition/comment field rendering. jira_get_issue and jira_search no longer throw Cannot read properties of undefined (reading 'name') when a ticket has a null/absent assignee, priority, status, issuetype, project, transition to/statusCategory, or comment author. Missing values now normalize to null.

  • test: add test:null regression test covering null/missing nested fields.

v1.6.0

  • feat: add attachment access tools jira_list_attachments and jira_get_attachment (images returned as inline image content blocks; other files saved to a temp path). Legacy Jira Server v2 API only.

v1.5.0

  • feat: migrate agent skill to khanglvm/skills for global installation via npx skills

  • docs: rewrite README with best practices, updated skill installation guidance

  • chore: remove .agent directory (skill now lives in dedicated skills repo)

v1.4.0

  • feat: add mcp.json for mcpm tool support

  • feat: improve tool descriptions with JQL gotchas and add AI agent skill

  • fix: add .mjs extension for Node.js ESM compatibility in temporary files

  • docs: add mcpm quick install instructions and AI agent skill reference


License

MIT

Available Tools

16 tools
jira_add_commentB

Add a comment to a Jira issue. Use when user wants to:

  • Comment on a ticket

  • Add notes or feedback to an issue

  • Leave a message on a work item

  • Document something on a ticket

Inputs: body (required), issueKey (required).

jira_create_issueA

Create a new issue in Jira. Use when user wants to:

  • Log a bug, task, story, or any work item

  • Report a problem or request a feature

  • Create a ticket for new work

  • Add something to the backlog

Defaults to 'Task' type. Common types: Bug, Task, Story, Epic, Sub-task.

IMPORTANT: issueType is Bug/Task/Story/Epic - NOT "To Do" or "In Progress" (those are statusCategory values, not types).

Inputs: summary (required), projectKey (required), labels, assignee, +3 more.

jira_delete_issueA

Delete a Jira issue permanently. Use when user explicitly asks to:

  • Delete or remove an issue

  • Permanently remove a ticket

WARNING: This permanently deletes the issue. Consider transitioning to Closed instead.

Inputs: issueKey (required), deleteSubtasks.

jira_get_attachmentA

Download a Jira issue attachment. Use when user wants to:

  • View an attached image (returned as a viewable image content block)

  • Fetch/download an attached file by id, or by issue + filename

Provide either attachmentId, OR both issueKey and filename to resolve it. Images are returned inline as an image block; other files are saved to a temp path and returned with metadata (plus inline base64 only when small, <256KB). Note: legacy Jira Server v2 API — bytes are fetched from the absolute content URL.

Inputs: filename, issueKey, attachmentId.

jira_get_commentsB

Get all comments on a Jira issue. Use when user wants to:

  • See comments or discussion on a ticket

  • Review feedback on an issue

  • Check what was said on a work item

Inputs: issueKey (required).

jira_get_current_userA

Get the currently logged-in Jira user's info. Use when user asks:

  • "Who am I logged in as?"

  • "What's my Jira username?"

  • Need to know the current user for searches like "my issues"

Inputs: no named parameters.

jira_get_issueA

Retrieve full details of a specific Jira issue. Use when user:

  • Asks about a specific ticket by key (PROJ-123) or ID

  • Wants to see issue details, description, status, or assignee

  • Needs information about a particular work item

Returns: summary, description, status, priority, assignee, reporter, labels, dates.

Inputs: issueKey (required), fields.

jira_get_projectB

Get details of a specific Jira project. Use when user wants to:

  • Get info about a project by key

  • See project description or lead

  • Check project details

Inputs: projectKey (required).

jira_get_release_boardA

Get a complete Jira release board from a project version URL or numeric version id. Use this when the user gives a /projects//versions/ link or asks which issues belong to a release. Returns release metadata, every directly assigned issue, hydrated Jira subtasks, counts, and completeness evidence. Preserves non-frontend issues so the caller can classify scope without guessing from ticket names.

Inputs: releaseBoard (required).

jira_get_transitionsA

Get available workflow transitions for an issue. Use FIRST when user wants to:

  • Move an issue to a different status

  • Start, complete, close, or reopen a ticket

  • Change workflow state

Returns list of valid transitions with IDs. Required before calling jira_transition_issue.

NOTE: You cannot directly set status. Jira uses workflows with transitions between statuses. Each transition has an ID and leads to a target status (e.g., "Start Progress" → "In Progress"). The response includes toStatusCategory (To Do/In Progress/Done) to help identify the right transition.

Inputs: issueKey (required).

jira_get_userA

Look up a Jira user by username. Use when user wants to:

  • Find info about a specific team member

  • Check if a username exists

  • Get a user's display name or email

Inputs: username (required).

jira_list_attachmentsA

List attachments on a Jira issue. Use when user wants to:

  • See what files/images are attached to a ticket

  • Get attachment ids or download URLs for an issue

  • Check whether an issue has any attachments

Returns: id, filename, mimeType, size, created, author, content (download URL), thumbnail. Note: legacy Jira Server v2 API — reads the issue's fields.attachment[].

Inputs: issueKey (required).

jira_list_projectsA

List all Jira projects accessible to the user. Use when user wants to:

  • See available projects

  • Find a project key

  • Browse what projects exist

  • Get project list for searching issues

Inputs: no named parameters.

jira_transition_issueA

Move a Jira issue to a new workflow status. Use when user wants to:

  • Start working on a ticket (→ In Progress)

  • Complete or close an issue (→ Done)

  • Reopen a closed issue

  • Change issue status

IMPORTANT: Call jira_get_transitions first to get valid transition IDs.

Workflow: 1) Call jira_get_transitions to see available transitions 2) Find the transition matching desired target status 3) Use that transition's ID here. You cannot set status directly - you must use the workflow transition.

Inputs: issueKey (required), transitionId (required), comment.

jira_update_issueB

Update an existing Jira issue. Use when user wants to:

  • Change issue summary, description, or priority

  • Reassign to someone else or unassign

  • Update labels or other fields

  • Modify ticket details

Inputs: issueKey (required), labels, summary, assignee, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 16 tools

    Disambiguation4/5

    Nearly every tool pairs a distinct resource with a distinct action (get_issue vs search vs create_issue, get_transitions vs transition_issue), and the descriptions explicitly frame the get_transitions→transition_issue dependency. Minor overlap exists between jira_search and jira_get_release_board (both return issue sets) and between jira_list_attachments and jira_get_attachment, but the list-vs-fetch split is clearly stated.

    Naming Consistency5/5

    All 16 tools use a uniform jira_ prefix plus a consistent snake_case verb_noun pattern (jira_get_issue, jira_create_issue, jira_list_projects, jira_get_transitions). No camelCase or stylistic deviations anywhere in the set.

    Tool Count4/5

    16 tools sits just above the ideal band but each one maps to a concrete Jira operation; nothing appears redundant or filler. Slightly heavy, though justified by covering issues, comments, users, projects, attachments, and workflows.

    Completeness3/5

    Core issue lifecycle is covered (create/get/update/delete, comment, transition, search), but there are notable gaps: attachments are read-only (no upload/delete), comments have no update/delete, and there are no issue-link, worklog, or Agile board/sprint tools that a real Jira workflow often needs.

    Maintenance

    ActivityStale
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      B
      maintenance
      MCP server that connects AI assistants to your Jira site, supporting PAT or SSO authentication for search, read, create, update, and delete operations on issues.
      17
      110 npm
      -
    • A
      license
      C
      quality
      B
      maintenance
      Enables MCP clients to work with self-hosted Jira Server / Data Center 8.x through entity-based core tools, JSON-declared plugin tools, and bundled Zephyr Scale. It supports issue, comment, worklog, attachment, project, user, link, watcher, agile, and test management operations using Basic Auth or PAT with runtime field discovery.
      97
      29 npm
      MIT