Shared library for mcprack MCP client config sync utilities
Find a file
CyberVitexus cf85d9b780 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:11 +02:00
debian ci: fix node-local Jenkinsfile for current agents 2026-09-28 23:53:11 +02:00
mcprack_client Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00
tests Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00
.gitignore Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00
LICENSE Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00
pyproject.toml Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00
README.md Initial release of mcprack-client shared sync library. 2026-09-28 20:21:03 +02:00

mcprack-client

Shared Python library for mcprack MCP client configuration sync tools.

Used by:

What it does

  • Loads MCPRACK_URL + MCPRACK_TOKEN from process env, ~/.config/mcprack/client.env, or /etc/mcprack/client.env
  • Fetches /api/v1/me/config/<client> from a mcprack instance
  • Merges the remote server map into an existing local JSON config while preserving unrelated keys and local-only servers
  • Tracks previously managed server names under ~/.local/state/mcprack-sync/

Stdlib only — no third-party Python dependencies.

Settings file

# ~/.config/mcprack/client.env
MCPRACK_URL=https://mcprack.example.com
MCPRACK_TOKEN=mcr_...

Create a personal API token in the mcprack web UI (user menu → API tokens).

Development

python3 -m venv .venv && . .venv/bin/activate
pip install -e '.[dev]' 2>/dev/null || pip install -e .
pip install pytest
pytest

License

MIT