Command line
Install the CLI
The agentcentral CLI is published on npm as @agentcentral/cli. Installing it gives you a local agentcentral command for scripts, cron jobs, diagnostics, and local MCP bridge setup.
Requirements
- Node.js 20 or newer (this includes npm)
- An API key from the dashboard Keys tab (starts with
ac_live_)
1. Install with npm
Install the package globally so you can call agentcentral from any directory:
npm install -g @agentcentral/cli agentcentral --version
What gets installed locally
Your machine gets the CLI command and, if you choose stored login, a local profile entry or keychain item. Amazon connection tokens and seller data remain in agentcentral. Each command uses your API key to request only what that key is allowed to access.
2. Or run it without installing
You can run the CLI straight from npm with npx, without a global install. This is handy for one-off commands and for cron or CI jobs that should always use the latest published version:
npx @agentcentral/cli --version npx @agentcentral/cli tools list --format table
3. Verify the connection
Set your key and run doctor. It checks the CLI runtime, authentication, service reachability, and the account the key resolves to.
export AGENT_CENTRAL_API_KEY="ac_live_..." agentcentral doctor
Next, set up auth and profiles or wire up the local MCP bridge.