@offline-protocol/cli
v0.2.6
Published
Offline Protocol developer CLI (offline). Authenticate, scaffold apps, and serve MCP tools.
Readme
@offline-protocol/cli
npm package for the Offline Protocol developer CLI (offline).
The package is a small Node.js launcher. npm installs the native offline
binary for your machine only, from the matching optional dependency
(@offline-protocol/cli-darwin-arm64, -darwin-x64, -linux-x64,
-linux-arm64 or -win32-x64), so an install downloads one binary (about
10 MB unpacked), not all five (about 50 MB). Keep optional dependencies
enabled (do not install with --omit=optional).
npm install -g @offline-protocol/cli
offline --versionSupported platforms: macOS (arm64, x64), Linux (x64, arm64), Windows (x64).
Sign in and API keys
offline login # opens the developer portal in your browser
offline login --email # email code sign-in in the terminal
offline whoamioffline login signs you in to the Offline Protocol developer portal at
https://dev.offlineprotocol.com and stores an application API key on this
machine. offline setup, orgs, apps and keys manage organizations,
applications and API keys and need offline login --email. You can also create,
rotate and revoke API keys in the developer portal at
https://dev.offlineprotocol.com. The local MCP server (offline mcp serve)
needs no login.
What it stores and sends
- Sign-in writes your API key, developer session token, email and account IDs
to
~/.offline/config.jsonas plain JSON (0600 on macOS and Linux).offline logoutdeletes it, and revokes a key the CLI created. offline updateasksregistry.npmjs.orgfor the latest version, only when you run it.- Scaffolding runs
npm install, which contacts your configured registries. - No usage analytics or crash reports.
The privacy policy at https://www.offlineprotocol.com/privacy has the details.
Links
- Documentation: https://www.offlineprotocol.com/docs/tools/overview
- Developer portal: https://dev.offlineprotocol.com
- Help: https://www.offlineprotocol.com/docs/support/faq or [email protected]
- Security reports: [email protected]
The crates.io package (offline-cli) is not published yet; install with npm.
License: Apache-2.0. Signing in and using hosted Offline Protocol services (including the hosted MCP server) are governed by the Developer Terms of Service and the Privacy Policy.
