CLI reference
The agentstack CLI is the fastest way to discover, install, and publish.
Commands
agentstack login --token <t> Store your API token
agentstack whoami Show auth + API target
agentstack search [query] Browse / search the catalog
agentstack info <slug> Show listing details
agentstack add <slug> Install (alias: install)
agentstack remove <slug> Uninstall
agentstack list Installed listings
agentstack update [slug] Update to the latest entitled version
agentstack publish <path> Publish (triggers the security scan) Options
--client claude|cursor— target agent client (default: claude)--global— install at user scope instead of the project--token <token>— (login) personal API token
Configuration
Config lives at ~/.agentstack/config.json. Override with environment variables:
AGENTSTACK_TOKEN, AGENTSTACK_API_URL, AGENTSTACK_GATEWAY_URL.
Hosted vs self-run MCP
Self-run servers install as a local npx command. Hosted servers install as a remote
endpoint pointed at the AgentStack gateway with your license — usage is metered per call.