0bridge

中文文档
0.2.45发布于 2026/10/28FSL-1.1-ALv2ES Module零依赖构建来源已验证

One bridge for all your AI agent tooling — MCP servers, skills, and AGENTS.md synced across Claude Code, Codex, Cursor, and more.

原始使用文档
文档目录3 节
  1. Get started
  2. Layout
  3. Development

0bridge

One bridge for your AI tools.

Sign in to Linear, Notion, Sentry and the rest once. Claude Code, Codex, Cursor, Claude and ChatGPT all use them through one MCP endpoint, https://0bridge.dev/mcp. The 0b CLI also keeps your MCP servers, skills and AGENTS.md in sync across the AI tools on each machine.

The point is that your context isn't locked into one vendor: the same services, instructions, memory and session history in every tool, so you can continue a session in a different tool (0b resume 0b:k3f9x2), steer your coding agents from your phone (off until you turn it on) and switch tools without starting over. Which AI products work, and how well, is dated in Supported clients.

Also: one board of what every coding session is doing (0b sessions, which one needs you), Drive folders of files and instructions every AI app works in, synced to a folder on your computer (0b drive), webhooks that run a command on your machine, forward to your server or wake an agent instead of a polling timer (0b webhook), and token counts with an estimated cost (0b usage). Details and limits: docs.

Status: early development. The gateway runs at https://0bridge.dev.

Get started

Let your agent do it. Copy the setup prompt from https://0bridge.dev and paste it into Claude Code, Codex or Cursor. The agent installs the CLI and runs the steps below; you only approve sign-ins in the browser.

Or run it yourself:

npm install -g 0bridge@latest
0b setup               # sign in (browser, one-time code) and add 0bridge to every AI tool here
0b connect linear      # opens Linear's sign-in; every tool now has linear__* tools
0b connect linear --label acme   # a second Linear workspace: linear__acme__*
0b tree                # everything at a glance

0b setup --yes never prompts (for agents and scripts). Run 0b on its own to bring your existing MCP servers and skills under 0bridge and keep every tool in sync.

  • Claude / ChatGPT: add a custom connector with https://0bridge.dev/mcp.
  • Dashboard: https://0bridge.dev/app — connections, device tokens, manual setup.
  • Manifest ~/.0bridge/0bridge.json is the single source of truth for local sync.
  • Secrets found in MCP env/headers move to the OS's secret store (macOS Keychain, Windows DPAPI, Linux Secret Service, else a file only you can read) and are referenced as ${secret:name}.
  • Safe by default: 0bridge only removes what it wrote itself, never overwrites entries it doesn't manage, and backs up every file before writing (0b backups, 0b restore <id>).
  • Tool-bound servers (e.g. binaries inside the Codex app) are pinned to their tool.

Layout

  • packages/core — manifest, per-tool adapters, import/plan/apply engine
  • apps/cli — the 0b CLI (published to npm as 0bridge)

Development

bun install
bun test
bun run typecheck
bun run build        # apps/cli/dist/0b.js (runs on Node >= 20.12)

版本与发布记录

0bridge 共发布 47 个版本,首次发布于 2026/09/25;过去 12 个月发布了 47 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.2.45latest2026/10/286 天前
0.2.442026/10/286 天前
0.2.432026/10/1717 天前
0.2.422026/10/1420 天前
0.2.412026/10/1420 天前
0.2.402026/10/1420 天前

关于 0bridge 的常见问题

0bridge 是什么?

一个桥为您所有的AI代理工具- MCP服务器,技能,和代理。md在Claude Code, Codex, Cursor等之间同步。

如何安装 0bridge?

在项目目录运行 npm install 0bridge,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 0b、0bridge,可以用 npx 0b 直接运行。

0bridge 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/0bridge 是否存在。

0bridge 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

0bridge 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.12。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

0bridge 可以商用吗?

0bridge 使用 FSL-1.1-ALv2 许可。声明的许可为 FSL-1.1-ALv2,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

0bridge 还在维护吗?

最新版本 0.2.45 发布于 2026/10/28(6 天前);至今共发布 47 个版本,其中过去 12 个月发布了 47 个;首次发布于 2026/09/25。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。