
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/server
Advanced tools
Local REST API + approval UI for DCP Vault. Binds to 127.0.0.1 only.
Use this when:
npm install @dcprotocol/server
On Debian/Ubuntu, local keychain-backed usage may require libsecret-1-0.
npx -y @dcprotocol/server
Open:
http://127.0.0.1:8420
| Variable | Purpose | Default |
|---|---|---|
VAULT_DIR | Vault storage directory | ~/.dcp |
VAULT_PORT | Server port | 8420 |
DCP_RELAY_URL | Relay URL for remote agent access | unset |
DCP_MCP_SESSION_MINUTES | MCP auto‑unlock window after UI unlock | 30 |
If DCP_RELAY_URL is set, the server will connect the local vault to that relay after startup/unlock.
Use wss://relay.dcp.1ly.store if you want the default public relay run by the DCP maintainers, or set your own relay URL instead.
Unlock the REST process:
curl -X POST http://127.0.0.1:8420/v1/vault/unlock \
-H "Content-Type: application/json" \
-d '{"passphrase":"<your-passphrase>"}'
Lock:
curl -X POST http://127.0.0.1:8420/v1/vault/lock
Unlock MCP via the UI or:
curl -X POST http://127.0.0.1:8420/v1/vault/unlock-mcp \
-H "Content-Type: application/json" \
-d '{"passphrase":"<your-passphrase>"}'
Unlock‑MCP uses the OS keychain; the passphrase is never written to disk.
curl -X POST http://127.0.0.1:8420/v1/vault/read \
-H "Content-Type: application/json" \
-d '{"scope":"identity.email","agent_name":"my-bot"}'
curl -X POST http://127.0.0.1:8420/v1/vault/sign \
-H "Content-Type: application/json" \
-d '{"chain":"solana","unsigned_tx":"<base64>","agent_name":"my-bot"}'
Browser UI
GET / — local approval UI (dark/light toggle, auto‑refresh)Core
GET /healthGET /scopesGET /address/:chainGET /budget/check (requires chain for USDC/USDT)GET /agentsGET /consentPOST /consent/:id/approvePOST /consent/:id/denyPOST /revoke/:agentv1
POST /v1/vault/readPOST /v1/vault/signGET /v1/vault/activity (supports limit, agent, type, since)POST /v1/vault/unlockPOST /v1/vault/lockPOST /v1/vault/agents/:id/revokeGET /v1/vault/mcp-statusOwner / relay
GET /v1/relay/infoPOST /v1/relay/configPOST /v1/pairing/startGET /v1/servicesPOST /v1/servicesPATCH /v1/services/:idDELETE /v1/services/:idThis package is the local vault side of the relay flow:
@dcprotocol/client or the DCP proxyFor the full end-user flow, see the root README and the desktop package README.
Docs: see the root README for the full security model.
FAQs
REST API server for DCP Vault - localhost:8420
We found that @dcprotocol/server 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.