Keep Claude Desktop / Claude Code MCP config in sync with mcprack
Find a file
CyberVitexus a54c9a9deb ci: fix node-local Jenkinsfile for current agents
Use unlabelled agents, mount the git mirror into the build container so
worktree checkouts resolve, limit the matrix to debian:trixie, and keep
an empty installOrder.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 23:53:13 +02:00
debian ci: fix node-local Jenkinsfile for current agents 2026-09-28 23:53:13 +02:00
mcprack_sync_claude Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00
systemd Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00
.gitignore Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00
LICENSE Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00
pyproject.toml Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00
README.md Initial release of mcprack-sync-claude. 2026-09-28 20:21:03 +02:00

mcprack-sync-claude

Keep Claude Desktop (and optionally Claude Code) MCP server configuration up to date from a mcprack catalog.

Install

sudo apt install mcprack-sync-claude
# or from source (with mcprack-client on PYTHONPATH / installed):
pip install .

One-time setup

  1. In mcprack, create a personal API token (user menu → API tokens).
  2. Configure the sync tool:
mcprack-sync-claude configure \
  --url https://mcprack.example.com \
  --token mcr_your_token_here

Settings are stored in ~/.config/mcprack/client.env (shared with the Cursor and VS Code sync tools).

Sync

mcprack-sync-claude sync              # Claude Desktop
mcprack-sync-claude sync --dry-run
mcprack-sync-claude sync --claude-code   # merge into ~/.claude.json
mcprack-sync-claude status

Default target (Linux): ~/.config/Claude/claude_desktop_config.json

Only the mcpServers key is updated. Other top-level keys (preferences, etc.) and local-only servers that were never managed by mcprack are preserved.

Automatic updates

Enable the systemd user timer:

systemctl --user enable --now mcprack-sync-claude.timer

License

MIT