mcprack-sync-cline

Set up Cline CLI from mcprack: MCP servers and the LLM

console applicationUtilityDevelopment
Install
apt install mcprack-sync-cline
Description

Fetches the user's MCP server selection from a mcprack catalog and merges it into the Cline CLI configuration, and preconfigures the LLM the mcprack instance recommends as Cline's provider. Optional systemd user timer keeps the config up to date hourly.

๐ŸŒ Homepage๐Ÿ“‹ Package details

mcprack-sync-cline

Set up the Cline CLI (cline, Debian package cline-client) from a mcprack catalog in one step:

  • the MCP servers you selected in mcprack โ†’ ~/.cline/data/settings/cline_mcp_settings.json
  • the LLM mcprack recommends (e.g. a local llama.cpp server) โ†’ Cline's providers.json (+ the model's context window in models.json)

Cline is mcprack's recommended agent. $CLINE_DIR is honoured, like Cline does.

Install and set up

sudo apt install cline-client mcprack-sync-cline
# a personal API token from mcprack (user menu โ†’ API tokens), scopes
# config:read (+ proxy:access when mcprack runs with OAuth)
mcprack-sync-cline configure --url https://mcprack.example.com   # asks for the token
mcprack-sync-cline sync --set-default
cline "which MCP tools do you have?"

Settings live in ~/.config/mcprack/client.env (shared with the other mcprack-sync-* tools). On a trusted private network with plain http:// use configure --allow-insecure.

Sync

mcprack-sync-cline sync                 # servers + LLM
mcprack-sync-cline sync --set-default   # also make the LLM Cline's default provider
mcprack-sync-cline sync --no-llm        # servers only
mcprack-sync-cline sync --dry-run
mcprack-sync-cline status
  • Only the mcpServers entries mcprack manages are touched; your own (local stdio) servers stay. On a managed entry, what you set in Cline - disabled, autoApprove, alwaysAllow, timeout - is kept.
  • The advertised LLM becomes Cline's default provider only with --set-default, or when Cline has no default yet (fresh install). Other providers you configured stay as they are.
  • Trust on first use: once Cline has an address for that provider, a plain (timer) sync never switches it to a different one - it warns instead. Run sync --set-default to accept the new address.
  • Cline does not expand ${VAR} in a server's URL or headers, so the file holds your personal access URL (or, with OAuth on mcprack, your token as an Authorization header). It is written 0600; keep it private.
  • Everything mcprack sends is validated first (mcprack-client): no command/args/env, same origin as MCPRACK_URL, no ${โ€ฆ} references, sane LLM fields; otherwise nothing is written.

Automatic updates

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

License

MIT

Package "mcprack-sync-cline" not found

This package may not be indexed in our database yet. Please try again later or check the package repository directly.

Browse Repository