
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@dcprotocol/cli
Advanced tools
CLI for operating a DCP vault.
This is the main tool for developers, operators, and headless environments.
npm install -g @dcprotocol/cli
libsecret-1-0 for keychain-backed local vault usage.@dcprotocol/proxy and dcp-proxy.wss://relay.dcp.1ly.store; replace it if you run your own relay.dcp init
dcp create-wallet --chain solana
dcp add address.home
dcp add identity.email
npx -y @dcprotocol/server
Open http://127.0.0.1:8420 for the local approval UI.
| Command | Purpose |
|---|---|
dcp init | Initialize a new vault |
dcp recovery restore | Restore from recovery phrase |
dcp create-wallet --chain <chain> | Create a wallet inside the vault |
dcp add <scope> | Add a scope interactively |
dcp update <scope> | Update a stored record |
dcp remove <scope> | Delete a stored record |
dcp read <scope> | Read a stored record |
dcp list | List scopes in the vault |
dcp status | Show summary status |
dcp config | View or update budgets and limits |
dcp activity | Show audit logs |
| Command | Purpose |
|---|---|
dcp approve --list | List pending consent requests |
dcp approve <consent-id> | Approve a request |
dcp approve <consent-id> --session | Approve and create a reusable session |
dcp agents | List active agent sessions |
dcp revoke <session-or-agent> | Revoke a session or agent |
| Command | Purpose |
|---|---|
dcp trust <service> | Add or update a trusted service |
dcp trust <service> --list | List trusted services |
dcp trust <service> --revoke | Revoke a trusted service |
dcp connect <service> | Send vault routing info to a service |
| Command | Purpose |
|---|---|
dcp pairing start <service> | Create a short-lived pairing token |
dcp proxy ... | Run a proxy from the operator CLI (advanced/local compatibility) |
dcp trust 1ly
dcp trust openclaw-prod \
--key ed25519:<base64-public-key> \
--scopes sign:solana,read:credentials.api.* \
--budget 10usdc/day \
--auto-approve-under 1usdc
dcp connect 1ly
For a custom service:
dcp connect openclaw-prod \
--url https://example.com/api/dcp/connect \
--auth-url https://example.com/settings/dcp
dcp pairing start openclaw-vps \
--scopes sign:solana,budget:check \
--budget 10usdc/day \
--auto-approve-under 1usdc
npx -y -p @dcprotocol/proxy dcp-proxy \
--pair "<pairing-token>" \
--service-id "openclaw-vps" \
--vault "<vault-id>" \
--hpke-key "<vault-hpke-public-key>" \
--relay "wss://relay.dcp.1ly.store" \
--port 8420
The proxy stores its identity under ~/.dcp/proxy/<service-id>.json and exposes a local DCP-compatible endpoint for the agent. For published/npm VPS installs, prefer @dcprotocol/proxy and dcp-proxy instead of the heavier human CLI path.
dcp trust--key <ed25519:...>: required for custom services--scopes <a,b,c>: explicit allowed scopes--budget <10usdc/day>: daily budget--auto-approve-under <1usdc>: auto-approval threshold--list: list trusted services--revoke: revoke trust--yes: skip confirmation promptsdcp connect--url <https://...>: custom connect endpoint--auth-url <https://...>: custom auth page--relay-url <wss://...>: override relay URL--no-browser: print the auth URL instead of opening itdcp pairing start--scopes <a,b,c>: required--budget <10usdc/day>: daily budget--auto-approve-under <1usdc>: auto-approval threshold--ttl <seconds>: token lifetime, default 600dcp proxy--vault <vault-id>: target vault--hpke-key <base64>: vault HPKE relay public key--relay <wss://...>: relay endpoint--service-id <id>: service/proxy identity--service-key <base64>: service private key for direct relay mode--pair <token>: pair and generate identity automatically--port <port>: local port, default 8420--agent-name <name>: agent name used by proxied requestsAfter a successful CLI unlock, DCP caches local unlock state for 30 minutes by default.
Environment variables:
DCP_CLI_SESSION_MINUTESDCP_CLI_INSECURE_SESSION=1 for file-based fallback when keychain is unavailable@dcprotocol/client when you are embedding DCP in code.npm rebuild better-sqlite3
npm -w @dcprotocol/cli run build
node packages/dcp-cli/dist/cli.js --help
README.mdpackages/dcp-client/README.mdpackages/dcp-desktop/README.mdFAQs
CLI for DCP Vault - manage wallets, data, and agent access
We found that @dcprotocol/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.