Skip to main content
Glama

jira-mcp

A local stdio MCP server for Jira Server / Data Center. Connect MCP clients (Claude, Codex, Cursor, VS Code, opencode, …) to your Jira instance through the REST API v2 — search, create, update, comment, transition, log work, and more, all through natural language.

Verified against Jira Server 8.13.5. Jira Cloud is only partially compatible (API token authentication, no session fallback).

中文说明

Features

  • 41 tools — 22 read-only, 16 write, 3 delete (see Tools)

  • Read-only by default — set JIRA_ALLOW_WRITE=true for writes and JIRA_ALLOW_DELETE=true for deletes

  • Safe by design — the server never bypasses Jira permissions; 401/403/404 are mapped to explicit error codes with suggestions

  • Basic auth with session fallback — automatically falls back to session-cookie auth when Basic auth is rejected

  • Field discovery helpers — jira_get_create_meta / jira_get_edit_meta list the fields available on your project screens

  • Structured results — every tool returns structuredContent plus a text summary

  • No credential leakage — credentials come from env vars or CLI args only; never logged, never echoed in errors

  • Built on the official MCP TypeScript SDK (v2)

Related MCP server: jiradatacenter-mcp

Requirements

  • Node.js >= 20

  • A reachable Jira Server / Data Center instance (REST API v2)

Quick start

Standard configuration (works in most clients):

{
  "mcpServers": {
    "jira": {
      "command": "npx",
      "args": ["-y", "--package=github:kevinclouds/jira-mcp#v0.1.0", "jira-mcp"],
      "env": {
        "JIRA_URL": "https://jira.example.com",
        "JIRA_USERNAME": "your-username",
        "JIRA_PASSWORD": "your-password",
        "JIRA_ALLOW_WRITE": "true",
        "JIRA_ALLOW_DELETE": "true"
      }
    }
  }
}

Pin a reviewed tag or commit SHA in production — avoid mutable branches.

claude mcp add jira \
  -e JIRA_URL=https://jira.example.com \
  -e JIRA_USERNAME=your-username \
  -e JIRA_PASSWORD=your-password \
  -- npx -y --package=github:kevinclouds/jira-mcp#v0.1.0 jira-mcp

Add to ~/.codex/config.toml:

[mcp_servers.jira]
command = "npx"
args = ["-y", "--package=github:kevinclouds/jira-mcp#v0.1.0", "jira-mcp"]

[mcp_servers.jira.env]
JIRA_URL = "https://jira.example.com"
JIRA_USERNAME = "your-username"
JIRA_PASSWORD = "your-password"
JIRA_ALLOW_WRITE = "true"
JIRA_ALLOW_DELETE = "true"

Add to .vscode/mcp.json:

{
  "servers": {
    "jira": {
      "command": "npx",
      "args": ["-y", "--package=github:kevinclouds/jira-mcp#v0.1.0", "jira-mcp"],
      "env": {
        "JIRA_URL": "https://jira.example.com",
        "JIRA_USERNAME": "your-username",
        "JIRA_PASSWORD": "your-password",
        "JIRA_ALLOW_WRITE": "true",
        "JIRA_ALLOW_DELETE": "true"
      }
    }
  }
}

Add to ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "jira": {
      "type": "local",
      "command": ["npx", "-y", "--package=github:kevinclouds/jira-mcp#v0.1.0", "jira-mcp"],
      "environment": {
        "JIRA_URL": "https://jira.example.com",
        "JIRA_USERNAME": "your-username",
        "JIRA_PASSWORD": "your-password",
        "JIRA_ALLOW_WRITE": "true",
        "JIRA_ALLOW_DELETE": "true"
      }
    }
  }
}
git clone https://github.com/kevinclouds/jira-mcp.git
cd jira-mcp
npm install        # installs the MCP SDK and builds dist via prepare
{
  "mcpServers": {
    "jira": {
      "command": "node",
      "args": ["/absolute/path/jira-mcp/dist/index.mjs"],
      "env": {
        "JIRA_URL": "https://jira.example.com",
        "JIRA_USERNAME": "your-username",
        "JIRA_PASSWORD": "your-password",
        "JIRA_ALLOW_WRITE": "true",
        "JIRA_ALLOW_DELETE": "true"
      }
    }
  }
}

Configuration

Variable

Description

JIRA_URL

Jira base URL

JIRA_USERNAME

Account username

JIRA_PASSWORD

Account password (API token on Jira Cloud)

JIRA_ALLOW_WRITE

Set to true to register the 16 write tools

JIRA_ALLOW_DELETE

Set to true to register the 3 delete tools (write tools must also be enabled)

CLI arguments

Argument

Description

--url / --username / --password

Same as the env vars above

--no-session-fallback

Disable session-cookie fallback on 401

Write and delete permissions are controlled only through the environment variables above. CLI permission flags are not supported.

Tools

Full JSON schemas are discoverable via tools/list. Read-only tools are registered by default; set JIRA_ALLOW_WRITE=true for write tools and JIRA_ALLOW_DELETE=true for delete tools.

  • jira_search_issues — Search Jira issues with JQL

  • jira_get_issue — Get one Jira issue by key

  • jira_get_issue_history — Get the changelog of an issue

  • jira_get_issue_comments — List issue comments

  • jira_get_issue_transitions — List available transitions for an issue

  • jira_get_worklogs — List worklogs of an issue

  • jira_list_projects — List visible Jira projects

  • jira_get_project — Get a Jira project

  • jira_list_issue_types — List all issue types

  • jira_list_priorities — List all priorities

  • jira_list_statuses — List all statuses

  • jira_list_users — Search users

  • jira_list_versions — List project versions

  • jira_list_components — List project components

  • jira_get_myself — Get the current Jira account

  • jira_get_server_info — Get Jira server version and deployment information

  • jira_list_fields — List all Jira fields, including custom fields

  • jira_get_create_meta — Get create-issue field metadata for a project and issue type

  • jira_get_edit_meta — Get the editable fields of an issue

  • jira_get_issue_link_types — List issue link types

  • jira_download_attachment — Download attachment content as base64

  • jira_get_capabilities — Show the MCP write flags for this session

  • jira_create_issue — Create an issue (full field set, incl. custom fields)

  • jira_update_issue — Update issue fields

  • jira_clone_issue — Clone an issue into another project

  • jira_update_issue_assignee — Change the assignee

  • jira_update_issue_labels — Replace labels

  • jira_update_issue_priority — Change priority

  • jira_update_issue_components — Replace components

  • jira_add_comment — Add a comment

  • jira_edit_comment — Edit a comment

  • jira_upload_attachment — Upload an attachment (base64)

  • jira_add_worklog — Add a worklog entry

  • jira_link_issues — Link two issues

  • jira_create_issue_link — Create a remote issue link

  • jira_transition_issue — Transition an issue

  • jira_bulk_update_issues — Update up to 50 issues with the same fields

  • jira_bulk_transition_issues — Transition up to 50 issues

  • jira_delete_issue — Delete an issue

  • jira_delete_comment — Delete a comment

  • jira_delete_attachment — Delete an attachment

Security

  • Credentials are read from environment variables or CLI arguments only — they are never written to disk by this server, logged, or included in error messages

  • The server never bypasses Jira permissions; every operation is subject to the authenticated account's actual permissions

  • Errors are mapped to explicit codes: JIRA_AUTHENTICATION_FAILED, JIRA_PERMISSION_DENIED, JIRA_RESOURCE_NOT_FOUND, JIRA_INVALID_REQUEST, JIRA_SERVER_ERROR, JIRA_NETWORK_ERROR

  • Attachment downloads are restricted to URLs on the configured Jira host

  • No telemetry, no third-party services — the server only talks to the Jira URL you configure

Known constraints

  • Suppressing notifications (notifyUsers=false) requires Jira administrator or project administrator permission; regular accounts receive a 403

  • Optional fields must be enabled on the project's create/edit screens; check with jira_get_create_meta / jira_get_edit_meta before setting them

  • Deleting issues, creating projects and similar operations depend on the account's permissions

  • On Jira Server 8.13, the issue changelog is fetched via expand=changelog (no standalone changelog endpoint)

Development

npm install        # installs dependencies and builds dist (prepare)
npm run build      # rebuild dist
npm run release-check  # secret-pattern scan + npm audit

Project layout:

src/
  index.mjs        # stdio entry point
  server.mjs       # McpServer assembly and tool registration
  lib/             # config, guard, Jira REST client, result helpers
  tools/           # tool definitions by domain: read / write / delete
scripts/           # build and release checks

License

MIT — see the LICENSE file.

Available Tools

22 tools
jira_download_attachmentDownload AttachmentA
Read-only

Download attachment content as base64. Only attachments hosted on the configured Jira instance are allowed.

Inputs: attachmentId (required).

jira_get_capabilitiesGet MCP CapabilitiesB
Read-only

Show visible Jira capabilities and MCP write flags.

Inputs: no named parameters.

jira_get_create_metaGet Create MetadataA
Read-only

Get create-issue field metadata for projects and issue types. Use before jira_create_issue to check available and required fields.

Inputs: expand, projectIds, projectKeys, issuetypeIds, +1 more.

jira_get_edit_metaGet Edit MetadataA
Read-only

Get editable fields for an issue. Use before jira_update_issue to check which fields can be set.

Inputs: issueKey (required).

jira_get_issueGet IssueC
Read-onlyIdempotent

Get one Jira issue by key.

Inputs: issueKey (required), expand, fields, properties, +1 more.

jira_get_issue_commentsGet Issue CommentsC
Read-only

List issue comments.

Inputs: issueKey (required), expand, orderBy, startAt, +1 more.

jira_get_issue_historyGet Issue HistoryC
Read-only

Get the changelog of an issue.

Inputs: issueKey (required).

jira_get_issue_transitionsGet Issue TransitionsA
Read-only

List available transitions for an issue. Use expand=transitions.fields to see the fields each transition screen requires.

Inputs: issueKey (required), expand, transitionId.

jira_get_myselfGet Current AccountB
Read-only

Get the current Jira account.

Inputs: no named parameters.

jira_get_projectGet ProjectC
Read-onlyIdempotent

Get a Jira project.

Inputs: projectKey (required), expand.

jira_get_server_infoGet Server InfoB
Read-only

Get Jira server version and deployment information.

Inputs: doHealthCheck.

jira_get_worklogsGet Issue WorklogsC
Read-only

List worklogs of an issue.

Inputs: issueKey (required).

jira_list_componentsList Project ComponentsC
Read-only

List project components.

Inputs: projectKey (required).

jira_list_fieldsList FieldsB
Read-only

List all Jira fields, including custom fields.

Inputs: no named parameters.

jira_list_issue_typesList Issue TypesB
Read-only

List all issue types.

Inputs: no named parameters.

jira_list_prioritiesList PrioritiesB
Read-only

List all priorities.

Inputs: no named parameters.

jira_list_projectsList ProjectsA
Read-only

List visible Jira projects. Pagination (startAt/maxResults) is applied locally — the Jira endpoint itself returns all projects.

Inputs: expand, recent, startAt, maxResults, +2 more.

jira_list_statusesList StatusesC
Read-only

List all statuses.

Inputs: no named parameters.

jira_list_usersSearch UsersA
Read-only

Search users — use this to find usernames for assignee fields.

Inputs: startAt, username, maxResults, includeActive, +1 more.

jira_list_versionsList Project VersionsC
Read-only

List project versions.

Inputs: projectKey (required), expand.

jira_search_issuesSearch IssuesA
Read-onlyIdempotent

Search Jira issues with JQL, e.g. "project = KEY AND assignee = currentUser()". Omit fields to return all fields (can be large; pass fields to limit). expand takes an array.

Inputs: jql (required), expand, fields, startAt, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools target distinct Jira resources and actions: issue reads, searches, comments, transitions, worklogs, projects, users, and metadata lookups are fairly separable. Some overlap exists among metadata-oriented tools such as list_fields, get_create_meta, get_edit_meta, and list_issue_types, but descriptions provide enough guidance to choose correctly.

    Naming Consistency5/5

    All tools use a consistent jira_ prefix followed by snake_case verb_noun or verb_resource naming. Patterns such as jira_list_*, jira_get_*, and jira_search_issues are predictable and readable throughout.

    Tool Count3/5

    At 22 tools, the set is heavy for what is largely a read-only Jira inspection surface. Many metadata list/get tools are individually useful, but the count feels inflated given that core write operations referenced by the descriptions are absent.

    Completeness2/5

    The surface is missing major Jira lifecycle operations such as creating or updating issues, executing transitions, adding comments, uploading attachments, and managing worklogs. It is especially problematic that jira_get_create_meta and jira_get_edit_meta explicitly reference jira_create_issue and jira_update_issue, which are not present in the tool set.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for interacting with Jira Cloud instances. Enables issue management, JQL queries, project and sprint management, and batch operations via natural language interfaces.
      102 npm
      4
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      MCP server that connects to Jira Data Center, enabling issue search, retrieval, creation, comments, workflow transitions, project listing, arbitrary JQL, and turning meeting notes into structured Jira stories, tasks, and bugs.
      13
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A lightweight MCP server for self-hosted Jira Server, exposing REST API v2 tools for search, issue creation/update, transitions, comments, and more to AI clients via MCP protocol.
      MIT