Agent skill

sync-mcp

Sync MCP servers from .mcp.json (source of truth) into Codex user config (~/.codex/config.toml). Claude Code picks up .mcp.json natively so no action needed there.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sync-mcp

SKILL.md

Sync MCP Servers

Run the sync script to install MCP servers from .mcp.json into the Codex user config:

python3 .claude/skills/sync-mcp/sync.py

After running, report which servers were synced and confirm both targets are up to date:

  • .mcp.json — Claude Code (project-level, already the source file)
  • ~/.codex/config.toml — Codex (user-level, merged by the script)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results