jira-mcp
An MCP server for Jira Server / Data Center, authenticating with a Personal Access Token (Bearer auth, REST API v2).
Built for research and analysis, not just ticket filing: read history, discover the custom fields an org actually uses, trace tickets to code, and aggregate across many issues to see how a workflow really behaves.
Targets Jira Server / Data Center, not Jira Cloud. Server/DC uses Bearer <PAT> auth and usernames; Cloud uses Basic auth with an API token and accountId.
Runs with zero dependencies. No npm install required — clone and run. Useful on locked-down machines where the npm registry is unreachable, and a much smaller audit surface if your security team has to approve it.
Tools
Core — read and write
| Tool | What it does |
|---|
jira_myself | Verify auth — returns the PAT owner's profile |
jira_search | JQL search; extraFields pulls specific custom fields |
jira_get_issue | Full issue detail, comments, links, attachments; includeAllFields for every populated field |
jira_create_issue | Create an issue |
jira_update_issue | Update summary/description/assignee/labels/priority |
jira_add_comment | Comment on an issue |
jira_get_transitions | List available workflow transitions |
jira_transition_issue | Move an issue (by transition id or name) |
jira_list_projects | List visible projects |
Schema discovery — what fields and rules exist
| Tool | What it does |
|---|
jira_list_fields | All fields including custom ones. Org-specific qualifiers live here — start here to find field ids |
jira_get_create_meta | Required fields and allowed values per project/issue type — the checks enforced at creation |
jira_get_project_workflow | Every issue type in a project and the statuses its workflow can reach |
History and traversal
| Tool | What it does |
|---|
jira_get_changelog | Every field change on an issue, who made it, when, plus time spent in each status |
jira_related_issues | Parent, subtasks, linked issues, and epic children in one hop |
jira_trace_graph | Multi-hop dependency graph (links + subtasks + parents, breadth-first) — the blast radius of a change |
jira_get_dev_info | Linked branches, commits, and pull requests — the bridge from ticket to code |
jira_get_remote_links | External links (Confluence, runbooks, dashboards) |
Aggregate analysis
| Tool | What it does |
|---|
jira_analyze_workflow | Across a JQL set: real transition frequencies, median/avg time per status, rework loops, cycle time |
jira_analyze_fields | Across a JQL set: which fields are populated and their value distributions |
jira_compare_issue_sets | Diff two JQL sets field-by-field — surfaces what separates shipped work from stalled work |
jira_search_text | Regex/keyword mining across summaries, descriptions, and comment threads with context snippets — finds where a qualifier or config flag is actually discussed |
Install as a plugin (recommended)
This repo is also a plugin: the 21 MCP tools plus two skills that teach Claude how to use them.
If your client accepts a plugin file (Claude Cowork and the desktop app do — they will tell you only packaged plugins are allowed), download jira-mcp.plugin from Releases and open it. It appears as a preview you can browse and accept. Build it yourself with:
npm run package:plugin # -> dist/jira-mcp.plugin
If your client supports git marketplaces (Claude Code CLI):
/plugin marketplace add wyckit/jira-mcp
/plugin install jira-mcp@wyckit
Set your credentials as environment variables first — the plugin reads them from the environment, so no token is ever written into a config file or shared repo:
setx JIRA_BASE_URL "https://your-jira-host"
setx JIRA_PAT "your-personal-access-token"
setx only affects new processes, so restart your terminal and Claude Code afterward.
Or use a config file instead, if environment variables are awkward. Create .jira-mcp.json in your home folder:
{ "baseUrl": "https://your-jira-host", "pat": "your-personal-access-token" }
Searched in order — first hit wins, and environment variables always take precedence:
| Order | Location |
|---|
| 1 | JIRA_BASE_URL / JIRA_PAT environment variables |
| 2 | the path in JIRA_MCP_CONFIG |
| 3 | .jira-mcp.json in your home folder |
| 4 | jira-mcp.config.json beside server.js or the executable |
The startup banner reports which source was used (never the value):
jira-mcp v2 connected — https://your-jira-host (runtime: lite, credentials: C:\Users\you\.jira-mcp.json)