@dcprotocol/agent

The agent runtime is the main developer package for beta. It exposes DCP as MCP, HTTP MCP, and a VPS service.

Install

npm install -g @dcprotocol/agent

Or run it directly:

npx -y @dcprotocol/agent --help

Local stdio MCP

dcp-agent run --mode mcp --agent agent_local_dev

MCP 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 8420

Endpoint:

http://127.0.0.1:8420/mcp

Remote 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 tries to configure OpenClaw.

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.

1LY Token Hint

Agents should use this SPL mint for 1LY transfers:

Aih3sbAbu39Yn7jB2Qf4btZ5eWtDGQJH2gMfC4qdBAGS

Useful Commands

dcp-agent status
dcp-agent list
dcp-agent remove <agent_id>
dcp-agent uninstall-service