@boolink-dev/cli
v0.5.1
Published
Local-first command-line interface for BooLink integrations.
Readme
@boolink-dev/cli
Pre-1.0 local-first CLI for discovering, inspecting, installing, configuring, and diagnosing BooLink integrations.
Commands
boo search [query]
boo info <integration>
boo add <integration> [--client claude-code|codex|custom-json] [--output <path>] [--yes]
boo remove <integration> [--yes]
boo repair <integration> [--yes]
boo upgrade <integration> [--yes]
boo list
boo doctorRun boo with no arguments in an interactive terminal to open the integration shop. Use the arrow
keys to browse, / to search, and Enter to inspect an integration. The install flow shows tools,
capabilities, credential presence, affected files, and client choice before accepting Y as final
approval. It never displays credential values.
Launch the shop without a global install:
npx @boolink-dev/cliTo build and run it from this repository instead:
pnpm --filter @boolink-dev/cli build
node packages/cli/dist/bin.js search github
node packages/cli/dist/bin.js search cloudflareSafe installation flow
boo add, boo remove, boo repair, and boo upgrade preview their complete write plan by
default. They change files only when --yes is present.
node packages/cli/dist/bin.js add github --client codex
node packages/cli/dist/bin.js add github --client codex --yes
node packages/cli/dist/bin.js add cloudflare --client codex
node packages/cli/dist/bin.js add github --client claude-codeCodex configuration defaults to ~/.codex/config.toml. Use --output to target a project-scoped
configuration instead:
node packages/cli/dist/bin.js add github --client codex --output .codex/config.toml --yesClaude Code configuration defaults to the private user-scope file ~/.claude.json. BooLink merges
a boolink_<integration> stdio entry into its top-level mcpServers object and uses Claude Code's
${VARIABLE} expansion syntax so the provider credential remains in the environment:
node packages/cli/dist/bin.js add github --client claude-code --yesFor another MCP client, generate a neutral JSON document at a new path:
node packages/cli/dist/bin.js add github --client custom-json --output ./boolink-github.json --yesThe CLI downloads the exact catalog version with npm lifecycle scripts disabled, verifies its
published ./server export, and stores it beneath
~/.boolink/integrations/<integration>/<version>. Client configuration points to a stable local
launcher instead of npm's temporary npx cache.
Installation metadata lives in ~/.boolink/installations.json. It records credential variable
names such as GITHUB_TOKEN and CLOUDFLARE_API_TOKEN, never credential values. Provider credentials are removed from the
environment inherited by the npm subprocess. Set the variable in the environment that launches
the MCP client. Set BOOLINK_HOME to use a different installation-state directory, including for
isolated tests.
boo doctor
boo repair github
boo repair github --yes
boo upgrade github --yes
boo remove github --yesRemoval deletes only an exact BooLink-managed configuration block. If the block was manually edited, BooLink stops and asks you to reconcile it instead of guessing. State and client files are written atomically, with rollback around installation and configuration failures.
Current limitations
- The CLI is pre-1.0 and its public API may change before 1.0.
- GitHub and Cloudflare are the two official catalog entries and server packages.
- Codex and Claude Code are supported client adapters. Neutral JSON remains available for manual configuration of other stdio MCP clients.
doctorperforms local diagnostics only. It does not call providers or send telemetry.upgradefollows the version in the bundled registry; refresh the CLI to receive a newer catalog.- The CLI references credential variable names but does not create provider tokens or store their values; provider-side token setup remains explicit.
- Packaged integration discovery is verified over stdio;
doctorintentionally performs no live provider call.
