Examples

Practical examples that match the current MCP tools and package set.

Ask For Stored Identity

Add your email in Desktop, then ask an MCP agent:

What is my email from DCP?

The agent should call vault_read with identity.email. DCP asks for approval before returning it.

Get Solana Address

What is my Solana wallet address?

The agent should call vault_get_address. No private key leaves the vault.

Sign A SOL Transfer

Send 0.00001 SOL to <recipient-address>

The agent builds an unsigned Solana transaction and calls vault_sign_tx. DCP signs only after policy and approval checks.

Sign A 1LY Transfer

Send 1000 1LY to <recipient-address>

Agents should use the 1LY SPL mint:

Aih3sbAbu39Yn7jB2Qf4btZ5eWtDGQJH2gMfC4qdBAGS

Sign An x402 Payment Payload

The agent should call vault_sign_x402 with the exact base64 payload and network: "solana".

{
  "network": "solana",
  "payload": "<base64-x402-payload>",
  "amount": "0.01",
  "currency": "USDC",
  "recipient": "<merchant-or-recipient>",
  "purpose": "Pay for API request"
}

Remote Agent On VPS

  1. Create a remote invite in Desktop.
  2. Run the generated curl command on the VPS.
  3. Approve pairing in Desktop.
  4. Start a fresh OpenClaw session, or run /reload-mcp in Hermes.
  5. Ask: What is my email from DCP?