npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dcprotocol/mcp

v0.1.1

Published

MCP Server for DCP Vault - Agent interface for secure wallet signing and data access

Readme

@dcprotocol/mcp

MCP server for DCP Vault. Use this to connect AI agents (Claude, Cursor, OpenClaw, etc.) to a local DCP vault without exposing private keys.

Install

npm install @dcprotocol/mcp

Run

npx @dcprotocol/mcp

Tools

Available tools:

  • vault_list_scopes
  • vault_get_address
  • vault_budget_check
  • vault_read
  • vault_sign_tx
  • vault_unlock
  • vault_lock

Input/Output Highlights

vault_read

  • Input: { scope, fields? }
  • fields (optional) lets the agent request a subset of keys.

vault_sign_tx

  • Input: { chain, unsigned_tx, description?, amount?, currency?, destination?, idempotency_key? }
  • Budget enforcement uses amount + currency if provided.

vault_budget_check

  • Input: { amount, currency, chain? }
    (chain is required for USDC/USDT)
  • Output: { allowed, remaining, limits, requires_approval }

Unlock Flow

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:

  1. Start REST server: npx @dcprotocol/server
  2. Open http://127.0.0.1:8420
  3. Click Unlock MCP (uses OS keychain; no passphrase is written to disk)

Consent Flow

First access requires approval. You can approve via:

  • CLI: dcp approve <consent_id> --session
  • UI: http://127.0.0.1:8420

By 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

Sessions and Limits

  • Session timeout: 30 min idle, 4 hours max
  • Rate limit: 5 operations/minute per session

Environment Variables

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

Claude Desktop Example

{
  "mcpServers": {
    "dcp": {
      "command": "npx",
      "args": ["@dcprotocol/mcp"]
    }
  }
}

Docs: see the root README for full usage and architecture.