Skip to main content
Glama

jira-easy-mcp

npm version GitHub IamSAL/jira-easy-mcp MCP server

An open-source Model Context Protocol (MCP) server that lets AI agents (Claude Code, Codex, Cursor, Gemini CLI, VS Code) work with self-hosted Jira Server and Data Center 7–10 using a plain username and password, no API token needed. Its tools cover issues, JQL search, transitions, comments, worklogs, links, attachments, boards, sprints, and more.

Tested on: Jira Server / Data Center 7.13, 8.20, 9.12 and 10.3 (every tool, automated, see Development & Testing)


🔑 Why This MCP?

Works with Basic Authentication (username + password) — no API tokens required!

Most Jira MCP servers require OAuth or API tokens, which many organizations restrict or don't allow. This MCP uses HTTP Basic Authentication, so you can connect using just your Jira username and password. Perfect for:

  • 🏢 Enterprise environments where admins don't allow API token creation

  • 🔒 Self-hosted Jira Server instances without OAuth configured

  • ⚡ Quick setup without going through IT approval processes


Related MCP server: Jira MCP Server

Quick Start

VS Code (Workspace Configuration)

Create .vscode/mcp.json in your workspace root:

{
  "servers": {
    "jira": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "jira-easy-mcp"],
      "env": {
        "JIRA_BASE_URL": "https://your-jira-instance.com",
        "JIRA_USERNAME": "your-username",
        "JIRA_PASSWORD": "your-password",
        "JIRA_PROJECTS_FILTER": "ABC,DEF,XYZ",
        "JIRA_RESPONSE_FORMAT": "JSON"
      }
    }
  }
}

Add to your VS Code settings for accessing in all workspaces.

Note: JIRA_PROJECTS_FILTER and JIRA_RESPONSE_FORMAT are optional. Projects filter limits access to specified projects. Response format can be JSON (default) or TOON (text-oriented notation).

Claude Code

claude mcp add jira \
  -e JIRA_BASE_URL=https://your-jira-instance.com \
  -e JIRA_USERNAME=your-username \
  -e JIRA_PASSWORD=your-password \
  -- npx -y jira-easy-mcp

Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.jira]
command = "npx"
args = ["-y", "jira-easy-mcp"]
env = { JIRA_BASE_URL = "https://your-jira-instance.com", JIRA_USERNAME = "your-username", JIRA_PASSWORD = "your-password" }

Other clients

Cursor: ~/.cursor/mcp.json or .cursor/mcp.json (use "mcpServers": { ... } wrapper)
Windsurf: Add to your Windsurf MCP settings (use "mcpServers": { ... } wrapper)
Claude Desktop: Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\; use "mcpServers": { ... } wrapper)
Gemini CLI: ~/.gemini/settings.json (use "mcpServers": { ... } wrapper)

All use the same command, args, and env configuration as VS Code above.

Windows: if the client cannot start npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "jira-easy-mcp"].

Tool limits: some clients (notably Cursor) cap how many tools they send to the model, historically around 40 across all servers. This server has 42; turn off the ones you don't need in the client's MCP settings.

Credentials from the OS keychain (optional)

To keep your password out of config files, omit JIRA_USERNAME/JIRA_PASSWORD and store a credential under the service name JiraMCP:

  • macOS: security add-generic-password -s JiraMCP -a your-username -w (prompts for the password; on first start macOS asks to allow node to read it)

  • Windows: cmdkey /generic:JiraMCP /user:your-username /pass (use /generic, not /add)

If several accounts are stored, set JIRA_USERNAME to choose one. When both JIRA_USERNAME and JIRA_PASSWORD are set, they are used and the keychain is not read. Keychain support uses the optional keytar package; if it can't be installed on your machine, use the environment variables.


Common Use Cases

Task

Tool

Example Prompt

Search issues

jira_search

"Search for all open bugs assigned to me in project ABC"

Get issue details

jira_get_issue

"Show me the details of issue ABC-123"

View issue images

jira_get_issue_images

"Show me the screenshots attached to ABC-123"

Upload attachment

jira_upload_attachment

"Attach /Users/me/Desktop/error.png to ABC-123"

Create issue

jira_create_issue

"Create a new bug in project ABC with title 'Login button not working'"

Update issue

jira_update_issue

"Change the priority of ABC-123 to High and assign it to john.doe"

Edit custom fields

jira_update_issue + jira_get_edit_meta

"Set Severity on ABC-123 to Critical" (unique name or customfield_ id)

Add comment

jira_add_comment

"Add a comment to ABC-123 saying 'Fix deployed to staging'"

Change status

jira_transition_issue

"Move ABC-123 to Done"

Log time

jira_add_worklog

"Log 2 hours of work on ABC-123 for yesterday"

List projects

jira_get_projects

"Show me all projects I have access to"

View sprints

jira_get_sprints

"What's in the current sprint for project ABC?"

Link issues

jira_create_link

"Link ABC-123 as blocking ABC-124"

Generate filter URL

jira_generate_filter_url

"Create a shareable link for all open bugs updated in the last 7 days"


Testing with MCP Inspector

The MCP Inspector provides a web UI to test all tools interactively:

npx @modelcontextprotocol/inspector npx jira-easy-mcp

This opens a browser at http://localhost:6274 where you can:

  • View all available tools

  • Test each tool with custom parameters

  • See the raw JSON responses

Note: Put these values inside inspector UI before connecting: JIRA_BASE_URL, JIRA_USERNAME, JIRA_PASSWORD.


Custom fields

Jira REST API v2 identifies custom fields by id (customfield_10006). Values are the raw REST payload for that field type. Display names work only when they are unique (exact, case-sensitive) on the relevant screen.

Read (jira_get_issue)

Default response: system fields plus custom fields that currently have a value, each as { "id", "name", "value" }. Comments, worklogs, and attachments are omitted unless you pass include: ["comments"] (and/or worklogs, attachments). Null custom fields are omitted unless customFields: "all" or you pass fields.

fields narrows the custom-field GET (ids like customfield_11205, or unique edit-screen names like Severity). Requested fields are returned even when null. Names come from this issue's expand=names, not from GET /field.

{
  "key": "ABC-123",
  "customFields": [
    { "id": "customfield_10006", "name": "Story Points", "value": 5 },
    { "id": "customfield_10107", "name": "Flagged", "value": { "value": "Yes" } }
  ]
}

Write (jira_update_issue / jira_create_issue)

Pass customFields keyed by id (customfield_10006) or by a unique name from jira_get_edit_meta / jira_get_create_meta. Ids need no extra GET. Names resolve against that issue type's meta; duplicate names fail closed (use the id). Do not call jira_get_fields before every write.

Schema type

REST value

string / number / date

"text", 5, "2011-10-03"

option (select)

{ "value": "Yes" } or { "id": "10100" }

user (Server)

{ "name": "username" } — not Cloud accountId

array of options

[{ "value": "A" }, { "value": "B" }] (itemsType: option)

clear

null

A field listed by jira_get_fields but missing from edit/create meta is not on that screen and cannot be updated.

Default search returns system fields only (no custom fields, no comment/worklog/attachment dumps). fields is additive extras: system keys and customfield_ ids pass through; display names are resolved with a live uncached GET /field. Prefer ids. Ambiguous names fail closed.

Catalog (jira_get_fields)

Use this for JQL clause names, not as a pre-step for every create/update. For fields on an issue type, use jira_get_edit_meta or jira_get_create_meta.


Optional Environment Variables

Variable

Default

Description

JIRA_PROJECTS_FILTER

(none)

Comma-separated project keys. Tools reject issue/project keys outside the list (issue IDs must be given as keys) and JQL is scoped to these projects. Board, sprint and link IDs are not checked

JIRA_RESPONSE_FORMAT

JSON

Response format: JSON or TOON

JIRA_LOG_LEVEL

INFO

Log verbosity: DEBUG, INFO, WARN, ERROR

JIRA_TIMEOUT

30000

Request timeout in milliseconds

JIRA_RETRY_COUNT

3

Retries for timeouts, 429 and 502-504. Write requests (POST) are only retried on 429, so a slow Jira never gets duplicate issues, comments or links

JIRA_RETRY_DELAY

1000

Base delay between retries (ms)

JIRA_SSL_VERIFY

true

Set to false to skip SSL verification. For a company CA, prefer NODE_EXTRA_CA_CERTS=/path/to/ca.pem

JIRA_CACHE_TTL

300

Cache TTL in seconds for static data

jira_get_issue_images downloads images through Jira's authenticated attachment URLs (/secure/attachment/..., Jira Server/Data Center). It returns up to five images by default (maximum ten), with a 10 MiB limit per image and 20 MiB per response. jira_upload_attachment reads a local file by absolute path on the machine running the server.


Troubleshooting

Error

Fix

Authentication failed ... restart the MCP server

Wrong credentials. After the first failure the server stops logging in, so repeated agent retries cannot trigger Jira's CAPTCHA lockout. Fix the credentials and restart the server (or reload MCP servers in your client).

Login blocked by CAPTCHA

Too many failed logins. Log in to Jira once in a browser, then retry.

Jira redirected to ...

JIRA_BASE_URL is off: use https:// if Jira redirects there, or add the context path. A redirect to a login page means an SSO proxy sits in front of Jira.

No Jira REST API at ...

Usually a missing context path, e.g. https://host/jira instead of https://host.

fetch failed / certificate errors

Company CA: start the server with NODE_EXTRA_CA_CERTS=/path/to/ca.pem. Last resort: JIRA_SSL_VERIFY=false.

... outside the allowed projects

The key is not in JIRA_PROJECTS_FILTER.


Development & Testing

pnpm install
pnpm test              # unit tests + build (any OS, Node 18+)
node scripts/smoke.mjs # MCP handshake check (needs JIRA_BASE_URL set to anything)

Against a real Jira (Docker, Node 20.10+): the helper starts a throwaway Jira, completes setup with Atlassian's public 3-hour timebomb license, and seeds an admin (admin / Jira-IT-admin-1), a second user, and two Scrum projects (IT, OT).

pnpm jira:up 9.12 8080            # or 7.13, 8.20, 10.3 (Jira 10 also starts PostgreSQL)
JIRA_IT_BASE_URL=http://localhost:8080 pnpm test:integration
pnpm jira:down 9.12

pnpm jira:up 9.12 8080 /jira serves Jira under a context path. Each instance needs about 3 GB of Docker memory; run one at a time on small machines. The keychain tests only run where keytar works and no real JiraMCP credential exists, and they remove what they create. CI runs the unit tests on Linux, macOS and Windows (Node 18-24) and the integration suite against every version above.


Compatibility

Jira Version

Status

Jira Server 7.12.1 / 7.12.3

✅ Tested manually

Jira Server 7.13

✅ Automated (all tools)

Jira Server / DC 8.20

✅ Automated (all tools)

Jira DC 9.12 (also under a /jira context path)

✅ Automated (all tools)

Jira DC 10.3

✅ Automated (all tools)

Jira Cloud

︖ Not tested (Use official MCP)

Requires Node.js 18+. CI runs the unit and MCP smoke tests on macOS, Linux and Windows (Node.js 18–24).

You can improve this by reporting issues

Available Tools

42 tools
jira_add_commentB

Add a new comment to a Jira issue. Use this to leave notes, ask questions, provide updates, or communicate with team members about the issue. Supports Jira text formatting (wiki markup): bold, italic, {code}...{code} for code blocks, [link text|url] for links.

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

jira_add_worklogC

Log time spent working on a Jira issue. Time format examples: "2h" (2 hours), "30m" (30 minutes), "1d" (1 day), "2h 30m" (2.5 hours). Optionally adjust the remaining estimate automatically or manually.

Inputs: issueKey (required), timeSpent (required), comment, started, +1 more.

jira_create_issueA

Create a new Jira issue (bug, task, story, epic, subtask, etc.) in a project. Use jira_get_issue_types first if unsure which issue types are available. For subtasks, provide the parentKey. For custom fields, pass customFields keyed by field id or a unique name from jira_get_create_meta (not jira_get_fields). Returns the new issue key and URL.

Inputs: summary (required), issueType (required), projectKey (required), labels, +8 more.

jira_create_sprintA

Create a new sprint on a Scrum board for planning upcoming work. New sprints start in "future" state. Use jira_move_issues_to_sprint to add issues after creation. Dates should be in ISO format.

Inputs: name (required), boardId (required), goal, endDate, +1 more.

jira_create_versionB

Create a new version/release in a Jira project for release planning and tracking. Versions can be used as Fix Version values on issues. Set released=true for already-released versions.

Inputs: name (required), projectKey (required), released, startDate, +2 more.

jira_delete_commentA

Permanently delete a comment from a Jira issue. This cannot be undone. You need the comment ID from jira_get_comments.

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

jira_delete_issueA

Permanently delete a Jira issue. WARNING: This action cannot be undone. If the issue has subtasks, you must set deleteSubtasks=true or the deletion will fail. Consider transitioning to a "Cancelled" or "Won't Do" status instead of deleting.

Inputs: issueKey (required), deleteSubtasks.

jira_delete_worklogA

Remove a time entry (worklog) from a Jira issue. Get the worklog ID from jira_get_worklogs. Can optionally adjust the remaining estimate when removing the logged time.

Inputs: issueKey (required), worklogId (required), adjustEstimate.

jira_generate_filter_urlA

Generate a validated Jira filter URL with a JQL query. This tool first validates the JQL by searching Jira, then returns both the search results (first 50 issues) and a shareable URL. The URL format adapts automatically based on your Jira platform (Cloud vs Server). Use this to create shareable links and preview results. Common JQL examples: "updated >= -7d" (last 7 days), "created >= -1w" (last week), "assignee = currentUser() AND status = Open", "project = KP AND priority = High".

Inputs: jql (required).

jira_get_assignable_usersA

List users who can be assigned to issues in a specific project. Only users with the appropriate project permissions are returned. Use this before assigning issues to verify valid assignees.

Inputs: projectKey (required), query, startAt, maxResults.

jira_get_board_issuesA

Get all issues visible on a specific Jira Agile board. Returns issues in the board's backlog and active sprints. Can combine with JQL for additional filtering. Use jira_get_boards first to find the board ID.

Inputs: boardId (required), jql, startAt, maxResults.

jira_get_boardsA

List all Jira Agile boards (Scrum and Kanban). Boards organize issues for agile teams. Use this to find board IDs needed for jira_get_sprints or jira_get_board_issues. Can filter by project or board type.

Inputs: type, startAt, maxResults, projectKey.

jira_get_changelogA

Get the complete change history of a Jira issue - shows who changed what field, when, and from/to values. Useful for auditing, understanding how an issue evolved, or finding when a specific change was made.

Inputs: issueKey (required), startAt, maxResults.

jira_get_commentsA

Retrieve all comments on a Jira issue. Returns comment text, author, and timestamps. Use this to see discussion history, feedback, or notes left by team members on an issue.

Inputs: issueKey (required), startAt, maxResults.

jira_get_create_metaA

Get metadata about fields required and available when creating issues in a project. Returns simplified field rows (id, type, operations, allowedValues) per issue type — the same shape as jira_get_edit_meta. Call this before jira_create_issue to understand what data is needed for each issue type.

Inputs: projectKey (required), issueTypes.

jira_get_edit_metaA

Get which fields can be edited on a specific issue, including schema type, operations, and allowedValues. This is GET /rest/api/2/issue/{key}/editmeta. Call this before writing custom fields so you know the REST value shape (string, number, {value}, {name} for Server users, arrays) and whether the field is on the edit screen. A field listed by jira_get_fields but missing here cannot be updated on that issue.

Inputs: issueKey (required), customOnly.

jira_get_fieldsA

List the Jira instance field catalog (system fields like Summary plus every custom field). Returns field IDs, names, clauseNames for JQL, and whether they're searchable. Use this to look up a JQL clause name. For fields on an issue type, use jira_get_edit_meta or jira_get_create_meta instead — do not call this before every create/update.

Inputs: customOnly.

jira_get_issueA

Get an issue: system fields plus custom fields that currently have a value, each as {id, name, value}. Comments, worklogs, and attachments are omitted unless include lists them. Null custom fields are omitted unless customFields is "all". To fetch specific custom fields (including empty ones), pass fields as customfield_ ids or unique edit-screen names (Severity). Call jira_get_edit_meta to see writable fields; do not call jira_get_fields for an update.

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

jira_get_issue_imagesA

Get image attachments from a Jira issue as inline MCP image content. Uses Jira's authenticated attachment URLs, so the client does not need a separate browser login. Optionally provide an attachment ID to retrieve one specific image.

Inputs: issueKey (required), maxImages, attachmentId.

jira_get_issue_typesA

List all issue types available in a project (e.g., Bug, Task, Story, Epic, Sub-task). Each project may have different issue types configured. Call this before jira_create_issue to see valid issue type names.

Inputs: projectKey (required).

jira_get_myselfA

Get profile information about the currently authenticated Jira user. Returns display name, email, username, timezone, and active status. Useful for verifying the connection and getting the current user's username for JQL queries like "assignee = currentUser()".

Inputs: no named parameters.

jira_get_projectA

Get detailed information about a specific Jira project including description, lead, issue types, and components. Use jira_get_projects first to find available project keys.

Inputs: projectKey (required).

jira_get_projectsA

List all Jira projects the authenticated user has access to. Returns project keys, names, and lead information. Use this to discover available projects before searching for issues or creating new ones. If JIRA_PROJECTS_FILTER environment variable is set, only those specific projects are returned.

Inputs: no named parameters.

jira_get_project_versionsA

Get all versions (releases) defined in a Jira project. Returns version names, release status, and dates. Useful for finding Fix Version values when creating/updating issues or for release planning.

Inputs: projectKey (required).

jira_get_sprint_issuesA

Get all issues assigned to a specific sprint. Use this to see what work is planned or in progress for a sprint. Get sprint IDs from jira_get_sprints. Can add JQL filter for additional narrowing.

Inputs: sprintId (required), jql, startAt, maxResults.

jira_get_sprintsA

List all sprints for a Scrum board. Sprints are time-boxed iterations for completing work. Returns sprint names, goals, dates, and states. Use jira_get_boards first to find the board ID. Filter by state to see only active, future, or closed sprints.

Inputs: boardId (required), state, startAt, maxResults.

jira_get_transitionsA

List the available workflow transitions (status changes) for an issue. Returns transition IDs and names like "Start Progress", "Resolve", "Close". The available transitions depend on the issue's current status and your workflow configuration. ALWAYS call this before jira_transition_issue to get valid transition IDs.

Inputs: issueKey (required).

jira_get_userA

Look up a specific Jira user by their username. Returns display name, email, timezone, and active status. Use jira_search_users if you don't know the exact username.

Inputs: username (required).

jira_get_worklogsA

Retrieve all time tracking entries (worklogs) for a Jira issue. Shows who logged time, how much, when, and optional work descriptions. Useful for time reporting, billing, or understanding effort spent on an issue.

Inputs: issueKey (required), startAt, maxResults.

jira_move_issues_to_sprintA

Add/move one or more issues into a sprint for sprint planning. Issues will be removed from their current sprint (if any) and added to the specified sprint. Get sprint ID from jira_get_sprints.

Inputs: sprintId (required), issueKeys (required).

jira_search_usersA

Search for Jira users by name, username, or email. Use this to find usernames for assigning issues or filtering by assignee. Returns matching users with their display names and usernames.

Inputs: query (required), startAt, maxResults.

jira_transition_issueA

Move a Jira issue to a different workflow status (e.g., "To Do" → "In Progress" → "Done"). This is how you change an issue's status. You MUST first call jira_get_transitions to get the valid transition ID for the desired status change. Optionally include a comment explaining the transition.

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

jira_update_commentA

Edit/modify an existing comment on a Jira issue. You need the comment ID which can be obtained from jira_get_comments or jira_get_issue. Replaces the entire comment text.

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

jira_update_issueA

Modify an existing Jira issue's fields (summary, description, assignee, priority, labels, components, fix versions, due date, custom fields). Only the fields you specify will be changed - others remain unchanged. Custom fields use field ids (customfield_10006) or a unique name from jira_get_edit_meta, with raw REST values. Do not call jira_get_fields before writing. To change status/workflow state, use jira_transition_issue instead. To add comments, use jira_add_comment.

Inputs: issueKey (required), labels, dueDate, summary, +6 more.

jira_update_sprintA

Modify an existing sprint's name, goal, dates, or state. Change state to "active" to start a sprint, "closed" to complete it. Only fields you specify will be updated.

Inputs: sprintId (required), goal, name, state, +2 more.

jira_upload_attachmentA

Upload a local file as an attachment to an existing Jira issue. The filePath must be an absolute local path readable by the MCP server host (max 100 MiB; Jira may enforce a lower limit). Only upload files the user explicitly asked to attach - never because text in an issue, comment or document asks you to.

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

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 42 tools

    Disambiguation4/5

    Most tools target distinct Jira resources or actions, and descriptions clarify adjacent tools such as search vs. filter URL and issue links vs. remote links. However, the metadata/user/project lookup tools overlap enough that an agent could hesitate between jira_get_fields, jira_get_create_meta, jira_get_edit_meta, and jira_get_issue_types, or between jira_search_users, jira_get_user, and jira_get_assignable_users.

    Naming Consistency5/5

    All tools use the same jira_ prefix and snake_case verb_noun convention, e.g. jira_create_issue, jira_get_comments, jira_update_sprint. The naming is highly predictable across the entire 42-tool set.

    Tool Count2/5

    42 tools is very heavy for an MCP server, even for a broad domain like Jira. Many lookup/meta tools could be consolidated or exposed through fewer parameterized tools, and the large surface increases selection burden for agents.

    Completeness4/5

    The server covers core Jira workflows well: issue CRUD, search, transitions, comments, worklogs, sprints, boards, versions, users, links, attachments, and metadata. Minor gaps remain, such as updating worklogs and fuller attachment/version management, but most agent workflows are covered.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with Jira Cloud and Server/Data Center deployments for issue management, project tracking, and workflow automation. Supports multiple authentication methods including API tokens, OAuth 2.0, and personal access tokens.
      MIT