
Research
/Security News
Popular Rust Crates Compromised in Build-Time Supply Chain Attack
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.
@dcprotocol/mcp
Advanced tools
MCP Server for DCP Vault - Agent interface for secure wallet signing and data access
MCP server for DCP Vault. Use this to connect AI agents (Claude, Cursor, OpenClaw, etc.) to a local DCP vault without exposing private keys.
This package is for local MCP usage. If your agent runs on another machine, use the relay flow (@dcprotocol/client or DCP proxy) instead of trying to point a remote agent directly at local MCP.
npm install @dcprotocol/mcp
npx -y @dcprotocol/mcp
The MCP server talks to the local vault. It does not expose a public network service by itself.
Available tools:
vault_list_scopesvault_get_addressvault_budget_checkvault_readvault_sign_txvault_sign_messagevault_sign_typed_datavault_sign_x402vault_writevault_unlockvault_lockvault_read
{ scope, fields? }fields (optional) lets the agent request a subset of keys.vault_sign_tx
{ chain, unsigned_tx, description?, amount?, currency?, destination?, idempotency_key? }amount + currency if provided.vault_sign_message
{ chain, message, encoding?, description? }vault_sign_typed_data
{ chain, typed_data, description? }vault_sign_x402
{ network, payload, amount?, currency?, recipient?, purpose?, typed_data? }vault_write
{ scope, data }vault_budget_check
{ amount, currency, chain? }{ allowed, remaining, limits, requires_approval }MCP is a separate process and must be unlocked before reads/signing:
vault_unlock({ "passphrase": "..." })
To avoid typing your passphrase in chat, use the local UI:
npx -y @dcprotocol/serverhttp://127.0.0.1:8420First access requires approval. You can approve via:
dcp approve <consent_id> --sessionhttp://127.0.0.1:8420By default MCP runs in non‑TTY mode: it creates a pending consent and waits until you approve via UI/CLI.
To enable interactive terminal prompts, set DCP_MCP_ALLOW_TTY=1.
For stable sessions across restarts, set a fixed agent name:
MCP_AGENT_NAME=claude-desktop
| Variable | Purpose | Default |
|---|---|---|
VAULT_DIR | Vault storage directory | ~/.dcp |
DCP_MCP_ALLOW_TTY | Enable terminal consent prompts | 0 |
MCP_AGENT_NAME | Stable agent name for session reuse | MCP Agent |
DCP_MCP_SESSION_MINUTES | Auto‑unlock window after UI unlock | 30 |
{
"mcpServers": {
"dcp": {
"command": "npx",
"args": ["@dcprotocol/mcp"]
}
}
}
Docs: see the root README for full usage and architecture.
FAQs
MCP Server for DCP Vault - Agent interface for secure wallet signing and data access
We found that @dcprotocol/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.