@junjan/jira-server-mcp weekly downloads statistics
By junjan · npm · MCP servers
A Jira Server MCP package for querying and updating Jira issues over stdio.
@junjan/jira-server-mcp has 15,913 recorded weekly downloads on npm, an increase of 1600% over the past 30 days, ranking #1118 of 3,247 tracked listings.
About @junjan/jira-server-mcp
@junjan/jira-server-mcp
一个独立运行的 Jira Server MCP 服务,通过 stdio 与 MCP 客户端通信,也可以使用 npx 直接启动。
本项目面向支持 /rest/api/2 REST API 的自托管 Jira Server / Jira Data Center 部署。
写操作安全策略
写操作默认关闭。只有显式配置以下任一方式后,MCP 服务才会注册写工具:
--enable-write
或:
JIRA_ENABLE_WRITE=true
可用的写工具包括:
jira_create_issue:创建 Issuejira_update_issue:修改 Issuejira_add_comment:添加评论jira_transition_issue:执行状态流转
MCP Server 无法读取用户发给 Agent 的原始消息,因此无法自行判断用户是否明确要求写操作。是否调用写工具,应由 Agent / MCP Client 根据用户原始指令判断;MCP Server 只负责根据配置开放或关闭写能力。
未启用写操作时,上述工具不会注册到 MCP Server,Agent 也不会在工具列表中看到它们。
项目边界
本仓库只负责 jira-server-mcp 项目本身,主要用于连接 Jira、获取和分析 Jira 数据,包括:
- Issue 字段和元数据
- 评论
- 工作流和状态信息
- 附件
- 图片附件及其中可见的内容
本仓库不是 Jira 工单中所提到的业务系统源码仓库。如果工单描述了某个 UI 或应用缺陷,本项目可以帮助读取和分析工单及其附件,但不应据此推断或实现外部业务系统的源码修复,除非相关应用源码确实存在于本仓库中。
MCP 工具
查询工具
jira_get_current_user:获取当前使用的 Jira 账号jira_get_issue:根据 Issue Key 获取 Issuejira_search_issues:使用 JQL 搜索 Issuejira_get_comments:获取 Issue 评论jira_list_transitions:获取 Issue 可用的工作流状态流转jira_get_attachment:获取附件元数据并下载图片附件jira_analyze_issue:获取并分析 Issue 的完整内容
写工具
以下工具只有在启用写操作后才会注册:
jira_create_issuejira_update_issuejira_add_commentjira_transition_issue
Issue 分析
对于一次性分析工单,推荐调用 jira_analyze_issue。它会获取:
- Issue 描述和元数据
- 评论
- 附件元数据
- 图片附件,并以 MCP
image内容返回
这样 MCP 客户端或模型就可以同时分析 Jira 工单文本和截图。
默认情况下,jira_analyze_issue 最多返回 10 个图片附件。下载过程受到以下限制:
- 单个附件大小限制:默认
10485760字节 - 单次分析内联图片总大小限制:默认
26214400字节 - 请求超时时间:默认
30000毫秒
可以通过 CLI 参数或环境变量调整这些限制。
读取图片附件
jira_get_issue 在请求 attachment 字段时会返回附件元数据,格式化后的文本中也会列出附件 ID。
对于图片附件,可以调用 jira_get_attachment,传入附件 ID。服务会使用 MCP Server 配置的 Jira 凭据下载文件,并以 MCP image 内容返回,供 MCP 客户端或模型直接查看截图。
推荐流程:
- 优先调用
jira_analyze_issue,传入issueKey - 或调用
jira_get_issue,请求字段summary、description、attachment - 从结果中获取附件
id - 调用
jira_get_attachment,传入attachmentId
安装和运行
可以使用 npx 直接运行:
npx -y @junjan/jira-server-mcp@latest \
--base-url http://your-jira-host:8080 \
--username your-name \
--password your-password
也可以通过环境变量提供凭据:
JIRA_BASE_URL=http://your-jira-host:8080
JIRA_USERNAME=your-name
JIRA_PASSWORD=your-password
npx -y @junjan/jira-server-mcp@latest
也支持 Bearer Token 认证:
npx -y @junjan/jira-server-mcp@latest \
--base-url http://your-jira-host:8080 \
--token your-token
启用写操作
命令行方式:
npx -y @junjan/jira-server-mcp@latest \
--base-url http://your-jira-host:8080 \
--token your-token \
--enable-write
环境变量方式:
JIRA_BASE_URL=http://your-jira-host:8080 \
JIRA_TOKEN=your-token \
JIRA_ENABLE_WRITE=true \
npx -y @junjan/jira-server-mcp@latest
MCP 客户端配置示例
{
"mcpServers": {
"jira-server-mcp": {
"command": "npx",
"args": [
"-y",
"@junjan/jira-server-mcp@latest",
"--base-url",
"http://your-jira-host:8080",
"--username",
"your-name",
"--password",
"your-password"
]
}
}
}
以上配置默认不开启写操作。如需启用写操作,在 args 中增加:
"--enable-write"
也可以通过 env 配置:
{
"mcpServers": {
"jira-server-mcp": {
"command": "npx",
"args": ["-y", "@junjan/jira-server-mcp@latest"],
"env": {
"JIRA_BASE_URL": "http://your-jira-host:8080",
"JIRA_USERNAME": "your-name",
"JIRA_PASSWORD": "your-password",
"JIRA_ENABLE_WRITE": "true"
}
}
}
}
Trae MCP 配置示例
在 Trae 中打开 MCP 设置,手动添加服务;也可以创建项目级 .trae/mcp.json:
{
"mcpServers": {
"jira-server-mcp": {
"command": "npx",
"args": ["-y", "@junjan/jira-server-mcp@latest"],
"env": {
"JIRA_BASE_URL": "http://your-jira-host:8080",
"JIRA_USERNAME": "your-name",
"JIRA_PASSWORD": "your-password"
}
}
}
}
如需启用写操作,在 env 中增加:
"JIRA_ENABLE_WRITE": "true"
CLI 参数
--base-url <url>:Jira 基础地址,例如http://your-jira-host:8080--username <name>:Jira 用户名--password <value>:Jira 密码--token <value>:Jira Bearer Token--enable-write:启用 Jira 写工具,默认关闭--request-timeout-ms <value>:请求超时时间,默认30000--max-attachment-bytes <n>:单个附件下载大小限制,默认10485760--max-total-image-bytes <n>:单次jira_analyze_issue调用中内联图片总大小限制,默认26214400--help:显示帮助信息
环境变量
JIRA_BASE_URLJIRA_USERNAMEJIRA_PASSWORDJIRA_TOKENJIRA_ENABLE_WRITE=true:启用 Jira 写工具,默认关闭JIRA_REQUEST_TIMEOUT_MSJIRA_MAX_ATTACHMENT_BYTESJIRA_MAX_TOTAL_IMAGE_BYTES
命令行参数优先级高于同名环境变量。
开发
npm install
npm run build
npm run check
npm run smoke:help
如果配置了真实 Jira 环境,也可以运行 MCP 协议级 smoke test:
npm run build
node scripts/mcp-smoke-test.mjs
发布说明
项目使用带 scope 的 npm 包名 @junjan/jira-server-mcp,避免使用未加 scope 的 jira-server-mcp 名称。
如果需要发布到其他 npm scope,请先修改 package.json 中的 name 字段。
Description from the npm listing.
- jira
- jira-server-mcp
- mcp
- model-context-protocol
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (121)Similar npm MCP servers plugins
All 20 @junjan/jira-server-mcp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@junjan/jira-server-mcp. First seen Dec 2, 2026; last successful collection Dec 2, 2026. See the methodology.