Quick Start
Authentication
Output Formats
-o / --output flag is available on all commands.
Pagination
List commands accept--limit and --cursor flags for pagination:
Configuration
The CLI stores configuration in~/.cnap/config.yaml:
Environment Variables
| Variable | Description | Overrides |
|---|---|---|
CNAP_API_TOKEN | API token (PAT or session token) | auth.token in config |
CNAP_API_URL | API base URL | api_url in config |
CNAP_AUTH_URL | Auth/dashboard URL | auth_url in config |
CNAP_DEBUG | Enable debug logging | — |
Debugging
Enable verbose output with the--debug flag or CNAP_DEBUG=1:
Related
API Reference
REST API conventions, pagination, and error codes
AI & Agents
Manage CNAP through AI agents and MCP servers