CLI Reference
The dcp CLI is shipped by @dcprotocol/vault.
Install
npm install -g @dcprotocol/vaultDCP packages require Node.js 22.
Core Commands
| Command | Use |
|---|---|
dcp init | Create a local vault. |
dcp create-wallet --chain solana | Create a Solana wallet. |
dcp add identity.email | Add a data record. |
dcp read identity.email | Read a data record. |
dcp list | List stored records. |
dcp status | Show vault status. |
dcp update identity.email | Update an existing record. |
dcp remove identity.email | Remove a vault record. |
dcp approve --list | List pending consent requests. |
dcp agents | List paired agents. |
dcp revoke <agent_or_session> | Revoke agent access. |
dcp config show | Show budget and rate-limit config. |
dcp activity | Show audit activity. |
dcp recovery restore | Restore a vault from the recovery phrase. |
Common Setup
dcp init
dcp create-wallet --chain solana
dcp add identity.name
dcp add identity.email
dcp listSending funds, swapping, and signing are done by agents through MCP tools (
vault_transfer, vault_swap, vault_sign_tx), gated by your approval, not by a dcp subcommand. The CLI manages the vault; agents move value.Connecting agents
| Command | Use |
|---|---|
dcp pairing | Create/manage pairing tokens for a local proxy setup. |
dcp cloud-connect | Connect a cloud agent (OpenClaw / Hermes / Claude.ai) via a one-time link. |
dcp trust <service> | Add a trusted service to the vault. |
dcp connect <service> | Connect to a trusted service. |
Recovery
dcp recovery show-phrase # how the recovery phrase works
dcp recovery restore # restore a vault from the recovery phraseRemote / VPS agents
Prefer Desktop's generated invite command (run on the server):
curl -fsSL https://dcpagent.com/install.sh | sudo bash -s -- 'dcp_vps_v1_...'The agent CLI (dcp-agent, from @dcprotocol/agent) also exposes install-service, configure-openclaw, run, status, and list. See Remote Agents.