jira-mcp
Jira MCP lets you read and, with safeguards, modify Jira Cloud issues, sprints, worklogs, comments, links, assignments, transitions, and optional Zephyr Squad test steps via MCP tools.
Read tickets by key/ID in compact form or with raw Jira fields.
Search tickets by project/issue type/additional criteria, or run custom JQL with field selection and pagination.
Create and update issues, including summary, description, labels, custom fields, sprint, parent epic, assignee on creation, and optional linked test tickets.
List and apply workflow transitions, optionally with a comment.
Assign or unassign tickets to an account ID,
me, orunassigned.Link tickets by explicit link type and remove issue links by link ID.
Add, edit, or delete comments.
List sprints for a board and move tickets to active/future sprints.
List worklogs and add worklogs using seconds or Jira duration text.
Read and append Zephyr Squad Cloud test steps when Zephyr credentials are configured.
All write tools require
JIRA_ENABLE_WRITES=trueandconfirm: trueper call; some are destructive.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jira-mcp create a story for adding user authentication"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jira MCP
Jira MCP connects Model Context Protocol clients to Jira Cloud issues, sprints, and worklogs, with optional Zephyr Squad Cloud test steps.
Quick start
Requires Node.js 22.12 or later, a Jira Cloud site, and an Atlassian API token with access to that site. For a first run, configure your credentials and use get-myself to verify connectivity.
npx -y @nayzo/jira-mcpThe command starts an MCP server on stdio. The examples below use placeholders; replace them in your local client settings or use your client's secret management features. Pin @nayzo/jira-mcp@2.0.1 if you want reproducible launches.
Claude Code
Set JIRA_API_TOKEN securely in your shell first. The CLI stores the supplied environment value in your local MCP configuration, so use local scope and keep that configuration private.
claude mcp add --transport stdio --scope local \
--env JIRA_HOST=example.atlassian.net \
--env JIRA_USERNAME=user@example.invalid \
--env JIRA_API_TOKEN="$JIRA_API_TOKEN" \
jira-mcp -- npx -y @nayzo/jira-mcpClaude Desktop and Cursor
Use the same JSON in Claude Desktop's claude_desktop_config.json or Cursor's user-level ~/.cursor/mcp.json. Merge into an existing mcpServers object if needed. On Windows, use npx.cmd if your client cannot launch npx directly.
{
"mcpServers": {
"jira-mcp": {
"command": "npx",
"args": ["-y", "@nayzo/jira-mcp"],
"env": {
"JIRA_HOST": "example.atlassian.net",
"JIRA_USERNAME": "user@example.invalid",
"JIRA_API_TOKEN": "replace-with-your-token"
}
}
}
}A copy is provided in jira-mcp-config-template.json.
OpenCode
Add this entry to your user-level opencode.json. Export JIRA_API_TOKEN before starting OpenCode.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"jira-mcp": {
"type": "local",
"command": ["npx", "-y", "@nayzo/jira-mcp"],
"environment": {
"JIRA_HOST": "example.atlassian.net",
"JIRA_USERNAME": "user@example.invalid",
"JIRA_API_TOKEN": "{env:JIRA_API_TOKEN}"
}
}
}
}Local Streamable HTTP
Set the same Jira environment variables plus a private MCP_HTTP_TOKEN. Generate a token with openssl rand -hex 32, store it in your local configuration, and start the server:
npx -y @nayzo/jira-mcp --httpUse the Streamable HTTP URL http://127.0.0.1:3000/mcp with the Authorization: Bearer <token> header. This endpoint supports stateless MCP POST requests. It binds only to 127.0.0.1, checks the exact Host and any supplied Origin, and requires the bearer token on every request. It is intended for use on one workstation. Do not expose it through a public proxy or port forwarding.
Related MCP server: mcp-zephyr-scale
Tools
Tool | What it does |
| Read an issue by key or numeric ID. Compact by default; |
| Search by project and issue type, optionally with a JQL clause. |
| Run custom JQL, select fields, and continue with |
| Create an issue, optionally with a parent, labels, custom fields, sprint, or linked test ticket. |
| Change summary, description, labels, custom fields, or sprint. |
| List available transitions without a selector, or apply one by name or ID, optionally with a comment. |
| Read the current Jira account ID and display name. |
| Assign to an Atlassian account ID, |
| Link two issue keys using an explicit Jira link type name. |
| Delete a link by numeric ID. |
| Add a comment. |
| Replace a comment by numeric ID. |
| Permanently delete a comment by numeric ID. |
| List sprints by board ID and state. Defaults to active sprints. |
| Move an issue to an active or future sprint by ID. |
| Read a paginated list of worklogs for an issue. |
| Log time using seconds or a Jira duration such as |
| Read Zephyr Squad test steps for an issue. |
| Append an ordered batch of Zephyr Squad test steps. |
Descriptions and comments support a subset of Markdown, including headings, bullets, bold, links, and fenced code blocks. Jira REST API v3 writes use Atlassian Document Format (ADF).
Configuration
Pass environment variables through your client or process launcher. The executable does not automatically open a .env file. For source development, copy .env.dist to an untracked .env, then load it explicitly with node --env-file=.env build/index.js.
Variable | Purpose |
| Jira Cloud hostname, e.g. |
| Alternative Jira HTTPS origin, with no path, credentials, query, or fragment. Plain HTTP is accepted only for |
| Required Atlassian account email and Jira API token. Used for Jira Cloud Basic authentication. |
| Optional default project, with no fallback. Pass |
| Optional default for creation. Defaults to |
|
|
| Optional assignee for newly created issues. Omit to let Jira apply its own rules. |
| Optional board ID for resolving sprint names. Not needed for an explicit |
| Optional custom field ID for reading sprint details in compact ticket responses. Sprint writes use the Agile API. |
| Optional JSON objects defining accepted custom field aliases and creation defaults. See below. |
| Required together if callers should be able to request |
| Optional project for a linked test issue. Otherwise uses the primary issue's project. |
| Set all three to use Zephyr Squad Cloud. Use the corresponding Atlassian account ID and Zephyr API credentials. |
| Optional Zephyr Squad Cloud Connect base URL. Defaults to |
| Port (default |
Custom fields
Map each allowed alias to a verified field ID and type. The following IDs and option values are illustrative; use the actual IDs from your Jira site and verify that the fields and options are available for the relevant project, issue type, and screen.
JIRA_CUSTOM_FIELDS='{"estimate":{"id":"customfield_11111","type":"number"},"notes":{"id":"customfield_22222","type":"adf"},"choice":{"id":"customfield_33333","type":"select"}}'
JIRA_CREATE_FIELD_DEFAULTS='{"choice":"42"}'Supported types are text (string), adf (Markdown string), number, select (numeric ID as a string), and multi_select (array of numeric ID strings). A field ID may appear only once. Callers pass values by alias, for example "custom_fields": {"estimate": 3, "notes": "Verification notes"}. Explicit values override creation defaults. Updates use only supplied aliases. Invalid fields are never silently removed or retried.
Write safeguards and security
Write operations require both
JIRA_ENABLE_WRITES=trueandconfirm: trueon each call. Obtain explicit user approval for the target and proposed changes before settingconfirm: true. This is an application safeguard, not proof of human approval or a substitute for Jira permissions. Transition listing works without confirmation.Use a dedicated account with the least Jira and Zephyr permissions necessary. Keep local tokens out of project files, tool arguments, ticket content, and shared client configuration. The server does not log upstream bodies or credential values, omits upstream error bodies, and filters configured credentials and authorization tokens if they appear in tool results. Jira ticket content, especially
raw: trueand JQL*all, can still contain sensitive data; treat it as untrusted data.The server never follows upstream redirects or automatically retries a write. For multi-step writes, check
done,rejected,uncertain, andnot_attemptedand follow the recovery instructions. If a write times out or returns an ambiguous result, verify Jira or Zephyr before retrying. Resume only the missing action; do not replay a confirmed issue creation or an entire Zephyr batch.Zephyr Squad uses short-lived HS256 JWTs signed for the account, HTTP method, Connect-relative REST path, and canonical query. Zephyr Scale is not supported.
Development
Use a current Node.js 22 or 24 patch release (ESLint 10 requires Node 22.13+ on the 22 line).
npm ci
npm run lint
npm run build
npm test
npm audit --omit=dev
npm pack --dry-runThe node:test suite launches the compiled stdio server and a local Streamable HTTP MCP endpoint with official SDK clients. Jira and Zephyr requests go to local fixture servers; tests need no cloud credentials or database.
Releases
See the changelog for the upgrade notes. The tag must match package.json exactly. CI tests on Node 22 and 24 before publishing a new tag version. Set up npm Trusted Publishing for nayzo/jira-mcp, workflow ci.yml, and GitHub environment npm. Restrict that environment to release tags. A new npm package may require a one-time owner bootstrap before configuring its trusted publisher. The workflow publishes with OIDC and provenance, without a stored npm token.
License
MIT. Written and maintained by Ala Eddine Khefifi.
Available Tools
19 toolsadd-commentCDestructive
Add a comment to a Jira ticket
Inputs: body (required), confirm (required), ticket_key (required).
add-test-stepsCDestructive
Add test steps to a test ticket via Zephyr integration
Inputs: steps (required), confirm (required), ticket_key (required).
add-worklogCDestructive
Log time on a Jira ticket using a duration in seconds or Jira duration text
Inputs: confirm (required), ticket_key (required), comment, started, +2 more.
assign-ticketCDestructive
Assign or unassign a Jira ticket
Inputs: confirm (required), assignee (required), ticket_key (required).
create-ticketCDestructive
Create a Jira ticket
Inputs: confirm (required), summary (required), labels, sprint, +8 more.
delete-commentCDestructive
Delete a comment from a Jira ticket. This cannot be undone
Inputs: confirm (required), comment_id (required), ticket_key (required).
edit-commentCDestructive
Edit an existing comment on a Jira ticket
Inputs: body (required), confirm (required), comment_id (required), ticket_key (required).
get-myselfARead-only
Get the current Jira user's account ID and display name
Inputs: no named parameters.
get-sprintsBRead-only
List sprints for a Jira board
Inputs: board_id (required), state.
get-test-stepsBRead-only
Get test steps from a test ticket via Zephyr integration
Inputs: ticket_key (required).
get-ticketARead-only
Get compact Jira ticket details or the full Jira fields with raw: true
Inputs: ticket_id (required), raw.
link-ticketsCDestructive
Link two Jira tickets
Inputs: confirm (required), link_type (required), inward_issue (required), outward_issue (required).
list-worklogsCRead-only
List one page of worklogs on a Jira ticket
Inputs: ticket_key (required), start_at, max_results.
move-ticket-to-sprintBDestructive
Move a Jira ticket to an active or future sprint
Inputs: confirm (required), sprint_id (required), ticket_key (required).
remove-issue-linkCDestructive
Remove a link between two Jira tickets by link ID
Inputs: confirm (required), link_id (required).
search-ticketsCRead-only
Search for Jira tickets by issue type
Inputs: issue_type (required), max_results, project_key, next_page_token, +1 more.
search-tickets-jqlCRead-only
Search for Jira tickets using custom JQL
Inputs: jql (required), fields, max_results, next_page_token.
transition-ticketCRead-only
List or apply a Jira ticket workflow transition
Inputs: ticket_key (required), comment, confirm, transition_id, +2 more.
update-ticketCDestructive
Update an existing Jira ticket
Inputs: confirm (required), ticket_key (required), labels, sprint, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools map to a distinct resource+action, and descriptions clarify the key overlaps (search-tickets by issue type vs search-tickets-jql). The main soft spots are the two search tools, which an agent could easily pick wrong, and transition-ticket, which is overloaded to both list and apply transitions.
The kebab-case verb-noun pattern is strongly dominant (get-ticket, create-ticket, add-comment, delete-comment, move-ticket-to-sprint). Minor deviations break the pattern: remove-issue-link uses a noun-first form unlike link-tickets, get-myself is vague, and add-worklog/list-worklogs disagree on singular vs plural.
19 tools is slightly heavy but justified for a Jira surface covering tickets, comments, links, sprints, transitions, worklogs, and Zephyr test steps. Each tool earns its place; nothing appears purely redundant, though transition and test-step tools could arguably be split or trimmed.
Core lifecycle is covered: create/get/update/search for tickets, full comment CRUD, link/unlink, assignment, transitions, sprints, and worklogs. Gaps exist — no ticket delete, no worklog edit/delete, no attachment handling, no board listing to feed get-sprints, and no sprint creation — but agents can work around most of these.
Maintenance
Related MCP Connectors
Free test management over MCP: projects, test cases, plans, runs, environments and tasks.
MCP Server for JFrog, providing tools for development and artifact management.
Official MCP server for Qase — manage test cases, runs, suites, defects via AI tools.
Agile project management over MCP: boards, epics, roadmap, retros, whiteboards, wiki, metrics
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for Zephyr Scale test management supporting Jira Cloud and Data Center. It enables creating, reading, and managing test cases and test runs via the Atlassian REST API with official API-compliant schemas.1697 npm7MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for Zephyr Scale test management tool, enabling test case, test plan, test cycle, and test execution management.38 npm2MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for interacting with Jira Cloud instances. Enables issue management, JQL queries, project and sprint management, and batch operations via natural language interfaces.199 npm4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Zephyr Scale test management enabling test case, test run, folder, and assignment operations via natural language.2MIT