MCP Integration
DCP exposes agent tools through @dcprotocol/agent.
Local stdio MCP
Use this for Claude Desktop, Cursor, VS Code, and stdio MCP clients.
{
"mcpServers": {
"dcp": {
"command": "npx",
"args": ["-y", "@dcprotocol/agent", "run", "--mode", "mcp", "--agent", "agent_local_dev"]
}
}
}OpenClaw Local
openclaw mcp set dcp '{"command":"npx","args":["-y","@dcprotocol/agent","run","--mode","mcp","--agent","agent_openclaw_local"]}'HTTP MCP
Use this when a client expects a streamable HTTP MCP endpoint.
dcp-agent run --mode http-mcp --agent openclaw_local --host 127.0.0.1 --port 8420http://127.0.0.1:8420/mcpTools
| Tool | Use |
|---|---|
vault_get_address | Get the user's Solana public address. |
vault_budget_check | Check amount against DCP budget policy. |
vault_scope_guide | Return canonical data scopes. |
vault_read | Read approved vault data. |
vault_write | Store approved vault data. |
vault_sign_tx | Sign an unsigned Solana transaction. |
vault_sign_message | Sign a Solana wallet message. |
Canonical Scopes
- Name:
identity.name - Email:
identity.email - Phone:
identity.phone - Home address:
address.home - OpenAI key:
credentials.api.openai - Anthropic key:
credentials.api.anthropic - GitHub token:
credentials.api.github
Test Prompts
What is my email from DCP?
What is my Solana wallet address?
Send 0.00001 SOL to <address>
Send 1000 1LY to <address>