@dcprotocol/agent
The agent runtime is the main developer package. It exposes DCP as stdio MCP, streamable HTTP MCP, a VPS service, and helper commands for paired agents.
Install
npm install -g @dcprotocol/agentRequires Node.js 22.
Or run it directly:
npx -y @dcprotocol/agent --helpLocal stdio MCP
dcp-agent run --mode mcp --agent agent_local_devMCP config:
{
"command": "dcp-agent",
"args": ["run", "--mode", "mcp", "--agent", "agent_local_dev"]
}Local HTTP MCP
dcp-agent run --mode http-mcp --agent openclaw_local --host 127.0.0.1 --port 8420Endpoint:
http://127.0.0.1:8420/mcpRemote VPS install
Create a remote invite in Desktop and run the generated command on the VPS:
curl -fsSL https://dcpagent.com/install.sh | sudo bash -s -- 'dcp_vps_v1_...'The installer pairs the VPS service, starts HTTP MCP, and configures OpenClaw or Hermes when detected.
Tools Exposed
vault_get_address- get Solana public address.vault_budget_check- check SOL, USDC, USDT, or 1LY budget policy.vault_scope_guide- return canonical DCP scopes.vault_read- read approved vault data.vault_write- store approved vault data.vault_sign_tx- sign unsigned Solana transactions.vault_sign_message- sign Solana wallet messages.vault_sign_x402- sign Solana x402 payment payloads.
1LY Token Hint
Agents should use this SPL mint for 1LY transfers:
Aih3sbAbu39Yn7jB2Qf4btZ5eWtDGQJH2gMfC4qdBAGSUseful Commands
dcp-agent status
dcp-agent list
dcp-agent smoke --read-scope identity.email
dcp-agent mobile pair --client claude-desktop --wait --configure-mcp
dcp-agent remove <agent_id>
dcp-agent uninstall-service