Getting Started

The recommended path is Desktop first, then MCP. By the end, your agent can read an approved vault record and request your Solana wallet address without seeing a private key.

DCP packages require Node.js 22. Use the Desktop app for the vault experience unless you specifically need the CLI.

1. Install DCP Desktop

Download the current desktop build from the release page:

https://github.com/1lystore/dcp/releases/tag/v2.0.4

macOS note

The current macOS app is unsigned. After installing, run:

xattr -cr /Applications/DCP.app

Then right-click the app and choose Open.

2. Create and unlock your vault

  1. Open DCP Desktop.
  2. Create a vault.
  3. Save the recovery phrase.
  4. Create a Solana wallet.
  5. Add a vault record such as identity.email.

3. CLI setup

The CLI is shipped by @dcprotocol/vault. Use it for scripting, automation, and terminal workflows.

npm install -g @dcprotocol/vault

dcp init
dcp create-wallet --chain solana
dcp add identity.email
dcp list

4. Connect a local MCP agent

Install the agent runtime, or use npx directly in your MCP config.

npm install -g @dcprotocol/agent

For Claude Desktop, Cursor, VS Code, or another stdio MCP client:

{
  "mcpServers": {
    "dcp": {
      "command": "npx",
      "args": ["-y", "@dcprotocol/agent", "run", "--mode", "mcp", "--agent", "agent_local_dev"]
    }
  }
}

If you installed the package globally, the shorter command is also valid:

{
  "command": "dcp-agent",
  "args": ["run", "--mode", "mcp", "--agent", "agent_local_dev"]
}

For OpenClaw local setup:

openclaw mcp set dcp '{"command":"npx","args":["-y","@dcprotocol/agent","run","--mode","mcp","--agent","agent_openclaw_local"]}'

5. Agent prompts

What is my email from DCP?
What is my Solana wallet address?
Send 0.00001 SOL to <address>
Send 1000 1LY to <address>

6. Remote VPS agents

For OpenClaw, Hermes, or another agent on a VPS, use Desktop to create a remote invite and run the generated command:

curl -fsSL https://dcpagent.com/install.sh | sudo bash -s -- 'dcp_vps_v1_...'

Use the remote agent guide if the agent does not see the DCP tools immediately.