Architecture

DCP keeps the vault local and lets agents request controlled actions.

Local Agent

Claude / Cursor / OpenClaw
        |
        | stdio MCP
        v
@dcprotocol/agent
        |
        | local vault API
        v
DCP Desktop / Vault runtime
        |
        v
Encrypted local vault + Solana wallet

Remote Agent

VPS OpenClaw or agent
        |
        | HTTP MCP on private host/bridge address
        v
DCP agent service on VPS
        |
        | encrypted relay envelopes
        v
relay.dcp.1ly.store
        |
        | encrypted relay envelopes
        v
DCP Desktop on user's machine
        |
        v
Approval + local vault signing

Important Boundaries

  • The relay routes encrypted envelopes. It does not need raw vault data or wallet keys.
  • The VPS agent service stores its own service key, not the user's wallet private key.
  • The desktop vault decides whether a request is trusted, in scope, under budget, or needs approval.
  • Telegram is an approval surface. It does not become the vault.

Solana Focus

The beta public surface is Solana-only. MCP tools require chain: "solana" and expose Solana signing and message signing.

Data Scopes

Agents should use exact scopes. Common examples:

  • identity.name
  • identity.email
  • identity.phone
  • address.home
  • credentials.api.openai
  • credentials.api.anthropic
  • credentials.api.github