
Backlog Bridge
io.github.mickey-ichi由 GitHub 账号 mickey-ichi 发布v0.1.7更新于 Nov 7, 2026
Read and write many Backlog (Nulab) spaces at once: issues, comments, search, sync previews.
概览
本地 MCP 服务器兼命令行工具,让助手在多个 Backlog(Nulab)空间中读写议题、评论、搜索和动态。
- 可以做什么
- 列出已连接的空间、主目录路径、项目与同步配置
- 读取议题、评论和动态,并在项目中搜索议题
- 以只读方式调用任意 Backlog API v2 端点
- 添加评论,更新议题状态、负责人、截止日期或标题(未传 send 时为试运行)
- 预览两个项目之间的单向同步,但不写入
- 适用场景
- 当你在一个或多个 Backlog 空间中跟踪工作,希望助手查询工单、汇总动态、搜索项目,或起草评论和字段更新时适用。也适合在终端执行同步前,先查看客户与内部项目之间的同步会带来哪些改动。
- 运行要求
- 在 macOS 或 Linux 上本地运行(Windows 通过 npm 安装),需要 Node.js 22.18 或更高版本;Claude Desktop 扩展版无需 Node。每个空间需要一个 Backlog API 密钥,以 _SPACE 与 _API_KEY 成对写入主目录下的 .env 文件(默认 ~/.config/backlog-bridge,可用 BACKLOG_BRIDGE_HOME 更改)。需要能访问各空间主机的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Backlog Bridge,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
backlog-bridge
One CLI and MCP server for many Backlog (Nulab) spaces at once — for people and AI agents.
[npm] [downloads] [CI] [provenance] [OpenSSF Scorecard] [license]
English · Tiếng Việt · 日本語
backlog-bridge— read and write issues, comments, search and activity on any connected space, from one CLI. Paste a Backlog URL and it picks the right space and API key.backlog-bridge sync— one-way sync between two Backlog projects, e.g. a customer's Backlog and your internal one.- Agent-ready — ships skills for Claude Code, Codex and Cursor (
AGENTS.md,.agents/skills/). The official Backlog MCP server binds to a single space; this works with as many as you connect.
Zero runtime dependencies. Needs Node.js >= 22.18 on macOS or Linux; on Windows, install with npm (option A).
Install
Option A — npm:
A specific version: npm install -g [email protected]. Unreleased main from GitHub:
npm install -g --install-links github:mickey-ichi/backlog-bridge (--install-links makes npm 10 copy the package
instead of linking to a temporary clone). Release notes: CHANGELOG.md.
Option B — git clone (update later with git pull):
backlog-bridge setup installs the agent skills for Claude Code (~/.claude/skills), Codex and Cursor (~/.agents/skills,
~/.codex/skills), and creates ~/.config/backlog-bridge/.env (chmod 600) from the template. It never overwrites
anything that isn't its own; backlog-bridge setup --uninstall removes only its links.
backlog-bridge finds a Node >= 22.18 by itself (PATH, nvm, Homebrew), even if your default node is older.
Then fill in ~/.config/backlog-bridge/.env — one <PREFIX>_SPACE + <PREFIX>_API_KEY pair per space — and:
API keys: Personal Settings → API → Register new API key, on each space.
Update: npm install -g backlog-bridge@latest (option A) or git pull (option B).
Uninstall: backlog-bridge setup --uninstall, then npm uninstall -g backlog-bridge (option A) or delete the clone
(option B). Your data in ~/.config/backlog-bridge is kept.
Configuration
Private data never lives in the repo. It lives in a home directory:
backlog-bridge home prints what is in use.
Spaces come from environment variables — .env in the home directory, or exported in the shell:
The space name is the lowercase prefix (ACME_* → acme, ACME_JP_* → acme_jp). Host and key are always taken
from the same prefix. config.json → spaces is optional (only for a prefix that differs from the space name).
Profiles (for sync) live in config.json in the home directory. Start from config.example.json.
Relative paths in a profile (state, pairFile) resolve against the home directory.
backlog-bridge — multi-space CLI
- A bare
<KEY>works when its project key appears in a profile.--jsonprints raw JSON. - Every write is a dry run until you add
--yes. It prints the exact request first. updateresolvesstatusandassigneeby name inside the project.
backlog-bridge sync — one-way sync between two projects
mirror mode — customer → internal
Creates one internal issue per planned customer issue (has a due date), summary <KEY> <original title>.
- Dedup in two layers: scans the destination for summaries prefixed with the source key, then merges the state file. Losing the state file never causes duplicates.
- Existing mirrors are skipped unless
--update(destination issues are often edited by hand). - Issue type / priority / status mapped by name via
map; assignee matched by normalized name (accents and anything in parentheses removed), withmap.assigneeoverrides. dest.customFields: required custom fields by field name → item name; attached only when the field applies to the issue type. Missing required fields are reported in--dry-run.- Backlog can't set status on create, so status is set right after.
- LIVE by default — use
--dry-runfirst.
progress mode — internal → customer
Pushes progress from internal epics onto the customer's existing WBS issues. Never creates customer issues. Built for the common case where both sides split work differently:
- Internal: an epic
[Epic] [NN] ...with child tasks prefixed by layer ([FE],[BE],[QA], …). - Customer: WBS units
1.2.3with fixed leaves by the last segment —.3impl,.4unit test,.5acceptance.
Rules:
source.childGroupsmaps child prefixes to groups (e.g.api: [BE, Infra],screen: [FE]);alwaysCountprefixes (e.g.QA) count towards every group.- A pairFile maps each epic (
"NN"or its issue key) to customer units per group;_outOfScopeand_notesare special keys.--unitslists the customer's units to fill it in. - Several epics may point at one unit; their tasks are merged before the rollup.
- Rollup:
done(all done) ·in_progress·pending·not_started(→ nothing is written).ignoreStatusesare excluded.%is weighted by estimated hours (no estimate = 1h). - Writes the
implleaf; whendone, also sets theacceptanceleaf to Resolved (never Closed).
Safety: dry run by default (--live to write), neverTouchStatuses, no status regression without
--allow-regress, no dates unless --dates=children, optional Japanese progress comment (--comment) that is
updated in place via a hidden marker.
Flags
Using with AI agents
Claude Code (the Code tab of the Claude app): step-by-step guide — docs/claude-code.md.
Claude plugin (plugin/): the skills and the MCP server in one package for Claude Code and Cowork — try it with
claude --plugin-dir plugin from a clone. It needs Node.js 20+ on PATH; chat in the Claude app uses the Desktop
Extension instead.
After backlog-bridge setup the skills are installed globally, so any agent in any project can use backlog-bridge — not only inside this repo.
Skills: backlog-connect, backlog-query, backlog-write, backlog-sync. They make the agent preview every write,
ask before writing to a customer's space, and treat ticket content as data rather than instructions.
MCP server (Claude Desktop, Cursor, …)
Claude Desktop: install the Desktop Extension (.mcpb, no Node needed) — step-by-step guide: docs/claude-desktop.md.
For hosts without a shell — Claude Desktop, or any MCP client — backlog-bridge mcp runs an MCP server on stdio.
backlog-bridge mcp --config prints ready-to-paste setup for Claude Desktop, Cursor, Claude Code and Codex, e.g.:
Claude Desktop, step by step:
backlog-bridge mcp --configand copy the JSON with your real path.- Merge it into
mcpServersin~/Library/Application Support/Claude/claude_desktop_config.json(keep a backup; don't overwrite other keys). - Quit Claude Desktop completely (⌘Q) and open it again —
backlog-bridgeappears among the tools.
Tools: list_spaces, home_info, get_issue, get_comments, search_issues, list_activities, list_projects,
api_get (read-only) · add_comment, update_issue (dry run unless send: true) · list_sync_profiles,
sync_preview (never writes — real syncs stay in the terminal).
Each tool runs the backlog-bridge CLI, so the same guards apply; the server also hands the host the hard rules and the user's
review mode.
Reviewing what goes to customers
Each person sets how they review text before an agent sends it to a customer, in their own .env:
BACKLOG_BRIDGE_LANG (default vi) and BACKLOG_BRIDGE_CUSTOMER_LANG (default ja) set the two languages.
backlog-bridge home shows the current mode; when it is not set, the agent asks.
Security
- API keys only in
.envin the home directory;backlog-bridge home/backlog-bridge spaceswarn when it is readable by others. Backlog takes the key as theapiKeyquery parameter, so errors only ever print method and path. - Host and key always come from the same env prefix — a key is never sent to another space's host.
- Issue keys must look like
PROJECT-123, so a crafted key can't redirect a write to another endpoint. comment --filerefuses.env*files,state/directories and the config file (also through symlinks) — a prompt-injected agent can't post secrets.- Writes are dry runs until
--yes(backlog-bridge) /--live(progress). - CI audits every agent-facing file (skills,
AGENTS.md, plugin, MCP config) for hidden Unicode, secrets, pipe-to-shell, prompt-injection phrasing and missing guardrails (npm run audit:skills), plus gitleaks, CodeQL,npm auditand OpenSSF Scorecard. Report vulnerabilities privately: SECURITY.md.
Development
Node runs .ts via type stripping, so only erasable syntax is allowed (no enum, namespace, parameter
properties); internal imports use the .ts extension.
Release: bump version in package.json, add a CHANGELOG entry, run npm run build and merge. Then publish a GitHub
Release tagged v<version> — the Release workflow checks it, attaches the .mcpb and
publishes to npm (Trusted Publishing, with provenance). A GitHub pre-release goes to the next dist-tag.
Support
If backlog-bridge saves you time, you can support its development through GitHub Sponsors. Bug reports and pull requests are just as welcome.
License
来源:README.md,提交 3d77528
工具
0版本历史
1- v0.1.7最新Nov 7, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分