Agent Config Bridge

io.github.onehumanbeing由 GitHub 账号 onehumanbeing 发布v0.1.0更新于 Oct 27, 2026

Convert CLAUDE.md, AGENTS.md, Cursor rules, GEMINI.md and MCP configs between coding agents.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,可在 Claude Code、Codex CLI、Cursor 和 Gemini CLI 之间转换编码助手的指令文件与 MCP 配置。

可以做什么
  • 在 CLAUDE.md、AGENTS.md、Cursor 规则和 GEMINI.md 之间转换指令文本,并可通过符号链接或导入共享
  • 在 Claude/Cursor 的 JSON、Codex 的 TOML 与 Gemini 的 settings JSON 之间转换 MCP 服务器配置
  • 以只读方式扫描项目中的助手配置文件和 skills 目录,列出尚未配置的工具
  • 根据已有配置生成缺失的配置,默认仅试运行,除非指定覆盖否则跳过已有文件
  • 查询各工具读取配置的位置,附官方文档链接和核验日期,文档未说明的返回 unknown
适用场景
适合在切换或混用多个编码助手时,把一个项目的规则和 MCP 服务器配置迁移到另一个工具;也适合在修改配置前确认某个助手从哪里读取配置。
运行要求
作为本地进程通过 stdio 运行,需要 Node.js 18 或更高版本以及 npm 10 或更高版本。该包未发布到 npm,需通过 npx 从 GitHub 运行,或使用 MCPB 安装包或克隆仓库安装。未声明账号、密钥或环境变量。
安装前请注意
调用 migrate_project 并设置 write: true 时会写入文件;默认仅试运行,除非设置 overwrite 否则跳过已有文件,并会合并 Gemini 的设置文件。启用写入前请先查看试运行结果,因为它会改动项目中的助手配置文件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Config Bridge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

agent-config-bridge

An MCP server that moves your coding-agent setup between Claude Code, Codex CLI, Cursor and Gemini CLI: instruction files (CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, .cursorrules, GEMINI.md) and MCP server configs (mcpServers JSON ⇄ Codex config.toml ⇄ Gemini settings.json).

Runs locally over stdio. No network calls, no telemetry. It writes files only when you call migrate_project with write: true.

Prefer a web UI? Use the same converter in your browser at getaicodingagent.com.

Tools

ToolWhat it does
convert_rulesInstruction text from one tool → files and paths for the others. Can also share one AGENTS.md through a symlink or an @AGENTS.md import
convert_mcp_configMCP servers: Claude Code / Claude Desktop / Cursor JSON ⇄ Codex [mcp_servers.*] TOML ⇄ Gemini httpUrl/url
detect_agent_configsScans a project read-only for every agent config file and skills folder, and lists which tools have no config yet
migrate_projectGenerates the missing configs from the existing ones. Dry run by default. Existing files are skipped unless overwrite: true; .gemini/settings.json is merged
compat_matrixWhere each tool reads its config, with official doc links and a verified date. Anything the official docs don't state is returned as unknown

Install

You need Node.js 18 or later and npm 10 or later (npm 9.2 fails to run GitHub packages through npx). The package is not on npm. Run it straight from GitHub (dist/ is committed, so there's no build step):

bash
npx -y github:onehumanbeing/agent-config-bridge

Claude Code

bash
claude mcp add agent-config-bridge -- npx -y github:onehumanbeing/agent-config-bridge

Codex CLI

bash
codex mcp add agent-config-bridge -- npx -y github:onehumanbeing/agent-config-bridge

or add this to ~/.codex/config.toml:

toml
[mcp_servers.agent-config-bridge]command = "npx"args = ["-y", "github:onehumanbeing/agent-config-bridge"]

Cursor: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global). Gemini CLI: .gemini/settings.json or ~/.gemini/settings.json:

json
{ "mcpServers": { "agent-config-bridge": { "command": "npx", "args": ["-y", "github:onehumanbeing/agent-config-bridge"] } } }

MCPB bundle: download agent-config-bridge-0.1.0.mcpb from the v0.1.0 release and open it in an MCPB-compatible client (for example, double-click it to install in Claude Desktop). Dependencies are bundled.

From a clone

bash
git clone https://github.com/onehumanbeing/agent-config-bridge && cd agent-config-bridgeclaude mcp add agent-config-bridge -- node "$PWD/dist/index.js"

MCP Registry name: io.github.onehumanbeing/agent-config-bridge

Example prompts

  • "Detect the agent configs in this repo and migrate them to Codex and Cursor (dry run first)."
  • "Convert this Claude Desktop config to Codex TOML."
  • "Where does Gemini CLI read its MCP config? Use compat_matrix."

Links

Develop

bash
npm install && npm test   # builds, then runs unit tests plus an MCP client smoke test

MIT © onehumanbeing

来源:README.md,提交 a4b3bc8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 14, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分