CLI Guide
The Daspire CLI calls the same Control API used by the MCP Gateway.
daspire auth login
daspire workspaces list --json
daspire connectors list --json
daspire connectors spec <connector_id> --json
daspire pipelines prepare --file pipeline.json
daspire pipelines apply --file pipeline.json
daspire approvals list --json
daspire approvals approve <approval_id>
daspire sessions list --json
daspire sessions revoke <session_id>
Set a custom API base URL for local or staging environments:
export DASPIRE_API_BASE_URL=http://localhost:8888/daspire/api/control/v1
export DASPIRE_APP_URL=http://localhost:3000
All agent-friendly commands support --json.
Approval Flow
Write commands create approval proposals. Review the proposal in Daspire or approve it from the CLI:
daspire approvals approve appr_123