Packages Overview

These are the packages in the current DCP codebase. Older package names were folded into the vault and agent runtimes.

Decision Guide

I want to...Use
Use the product as a user@dcprotocol/desktop
Connect Claude, Cursor, OpenClaw, or remote VPS agents@dcprotocol/agent
Manage the vault from terminal@dcprotocol/vault
Understand storage, wallet, budgets, and crypto internals@dcprotocol/core
Build lower-level custom integrations@dcprotocol/client
Self-host the remote transport relay@dcprotocol/relay
Work on relay transport internals@dcprotocol/relay-client

Current Architecture

Desktop App
  runs local vault runtime
  stores encrypted user data
  shows approvals

@dcprotocol/agent
  stdio MCP for local agents
  HTTP MCP for remote/local HTTP clients
  install-service for VPS agents

Remote VPS
  dcp-agent service exposes private HTTP MCP
  OpenClaw or another agent calls that endpoint
  relay carries encrypted requests to Desktop

@dcprotocol/relay
  routes encrypted envelopes only
  does not hold wallet keys or raw vault data

@dcprotocol/relay-client
  transport client used by runtime packages
  not the normal app-facing SDK

Retired Names

Some early docs used separate package names for CLI, server, MCP, and proxy roles. Those are not current install targets. Use @dcprotocol/vault for vault CLI work and @dcprotocol/agent for MCP or remote-agent work.

Published Package Versions

PackageVersionNotes
@dcprotocol/agent2.0.10Primary integration package for MCP and remote agents.
@dcprotocol/vault2.0.2CLI and local vault runtime.
@dcprotocol/client2.0.1Low-level runtime client.
@dcprotocol/core2.0.1Core internals.
@dcprotocol/relay2.0.1Relay server.
@dcprotocol/relay-client2.0.1Relay transport client.
@dcprotocol/desktop2.0.4Desktop app; distributed from GitHub releases.