Jira Easy Mcp

io.github.IamSAL由 GitHub 帳號 IamSAL 發布v2.0.1更新於 Oct 24, 2026

Self-hosted Jira Server/Data Center 7-10 for AI agents with username + password. 42 tools.

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,用使用者名稱和密碼把 AI 助理連接到自架的 Jira Server/Data Center,提供約 42 個工具處理議題、看板、衝刺等。

可以做什麼
搜尋和讀取議題,包括詳細資料、自訂欄位和附件圖片,並列出專案、看板和衝刺。建立和更新議題、編輯自訂欄位、透過狀態轉換修改狀態、建立議題連結。新增留言並登記工時。依絕對路徑上傳本機檔案作為附件,並產生可分享的篩選器連結。檢視欄位及編輯/建立中繼資料,以解析自訂欄位的 id 和名稱。
適用情境
適用於組織執行自架 Jira Server 或 Data Center、不允許建立 API 權杖或 OAuth,只能使用使用者名稱加密碼基本驗證的情境。適合需要讀取、建立、更新和留言 Jira 議題並追蹤衝刺的助理。
執行需求
透過 npx 在本機執行,需要 Node.js 18 或更新版本。需要 JIRA_BASE_URL(含內容路徑)以及 JIRA_USERNAME 和 JIRA_PASSWORD,或在作業系統鑰匙圈中以 JiraMCP 名稱儲存的憑證。需要能存取 Jira 執行個體的網路;選用變數包括 JIRA_PROJECTS_FILTER、JIRA_SSL_VERIFY 和 JIRA_RESPONSE_FORMAT。
安裝前請注意
伺服器使用 Jira 使用者名稱和密碼驗證,應把 JIRA_PASSWORD 存入作業系統鑰匙圈或受保護的設定,而非明文。工具可建立和更新議題、新增留言、登記工時、依絕對路徑上傳本機檔案並修改狀態,寫入會影響真實 Jira 資料。將 JIRA_SSL_VERIFY 設為 false 會關閉 TLS 驗證。JIRA_PROJECTS_FILTER 只限制議題和專案存取,不檢查看板、衝刺或連結 ID。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Jira Easy Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

jira-easy-mcp

[npm version] [GitHub]

Another Model Context Protocol (MCP) server for Jira, without Auth token. Provides tools for complete Jira automation including issues, projects, boards, sprints, comments, worklogs, 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

Quick Start

VS Code (Workspace Configuration)

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

json
{  "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

bash
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:

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 41; 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

TaskToolExample Prompt
Search issuesjira_search"Search for all open bugs assigned to me in project ABC"
Get issue detailsjira_get_issue"Show me the details of issue ABC-123"
View issue imagesjira_get_issue_images"Show me the screenshots attached to ABC-123"
Upload attachmentjira_upload_attachment"Attach /Users/me/Desktop/error.png to ABC-123"
Create issuejira_create_issue"Create a new bug in project ABC with title 'Login button not working'"
Update issuejira_update_issue"Change the priority of ABC-123 to High and assign it to john.doe"
Edit custom fieldsjira_update_issue + jira_get_edit_meta"Set Severity on ABC-123 to Critical" (unique name or customfield_ id)
Add commentjira_add_comment"Add a comment to ABC-123 saying 'Fix deployed to staging'"
Change statusjira_transition_issue"Move ABC-123 to Done"
Log timejira_add_worklog"Log 2 hours of work on ABC-123 for yesterday"
List projectsjira_get_projects"Show me all projects I have access to"
View sprintsjira_get_sprints"What's in the current sprint for project ABC?"
Link issuesjira_create_link"Link ABC-123 as blocking ABC-124"
Generate filter URLjira_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:

bash
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.

json
{  "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 typeREST 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)
clearnull

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

Search (jira_search)

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

VariableDefaultDescription
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_FORMATJSONResponse format: JSON or TOON
JIRA_LOG_LEVELINFOLog verbosity: DEBUG, INFO, WARN, ERROR
JIRA_TIMEOUT30000Request timeout in milliseconds
JIRA_RETRY_COUNT3Retries 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_DELAY1000Base delay between retries (ms)
JIRA_SSL_VERIFYtrueSet to false to skip SSL verification. For a company CA, prefer NODE_EXTRA_CA_CERTS=/path/to/ca.pem
JIRA_CACHE_TTL300Cache 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

ErrorFix
Authentication failed ... restart the MCP serverWrong 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 CAPTCHAToo 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 errorsCompany CA: start the server with NODE_EXTRA_CA_CERTS=/path/to/ca.pem. Last resort: JIRA_SSL_VERIFY=false.
... outside the allowed projectsThe key is not in JIRA_PROJECTS_FILTER.

Development & Testing

bash
pnpm installpnpm 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).

bash
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:integrationpnpm 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 VersionStatus
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

來源:README.md,提交 6f1aab0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v2.0.1最新Oct 14, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分