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

@dcp-ai/anthropic-mcp

v2.0.0

Published

DCP-AI bridge for Anthropic Model Context Protocol (MCP)

Downloads

154

Readme

DCP-AI ↔ Anthropic MCP Bridge

Provides DCP tools and resources for Anthropic Model Context Protocol (MCP) servers, enabling Claude and other MCP-compatible models to interact with DCP-certified agents.

Overview

This bridge exposes DCP operations as MCP tools and resources, allowing any MCP-compatible AI model to:

  • Verify DCP bundles — validate Citizenship Bundles including identity, signatures, and audit trail integrity.
  • Create DCP identities — provision new Responsible Principal Records and Agent Passports.
  • Declare intents — submit intents for policy evaluation with automatic risk tier computation.
  • Check agent status — verify an agent's DCP citizenship validity.
  • Lifecycle management (DCP-05) — commission, report vitality, and decommission agents.
  • Succession (DCP-06) — create digital testaments with successor preferences.
  • Disputes (DCP-07) — file disputes between agents with evidence hashes.
  • Rights (DCP-08) — declare agent rights within a jurisdiction.
  • Delegation (DCP-09) — create human→agent delegation mandates.

Supported DCP Specifications

DCP-01 through DCP-09.

MCP Tools

| Tool | Description | |---|---| | dcp_verify_bundle | Verify a DCP Citizenship Bundle | | dcp_create_identity | Create a new DCP digital identity (RPR + Passport) | | dcp_declare_intent | Declare an intent for policy evaluation | | dcp_check_agent | Check if an agent has valid DCP citizenship | | dcp_commission_agent | Commission an agent (DCP-05) | | dcp_report_vitality | Report agent vitality metrics (DCP-05) | | dcp_decommission_agent | Decommission an agent (DCP-05) | | dcp_create_testament | Create a digital testament (DCP-06) | | dcp_file_dispute | File a dispute between agents (DCP-07) | | dcp_declare_rights | Declare agent rights (DCP-08) | | dcp_create_mandate | Create a delegation mandate (DCP-09) |

MCP Resources

| URI | Description | |---|---| | dcp://protocol/version | Current DCP protocol version and capabilities | | dcp://protocol/algorithms | Supported cryptographic algorithms | | dcp://protocol/tiers | Security tier definitions and requirements | | dcp://protocol/lifecycle-states | Agent lifecycle state definitions (DCP-05) |

Usage

Registering with an MCP Server

import { DCP_MCP_TOOLS, DCP_MCP_RESOURCES, handleDcpToolCall } from './index.js';

// Register DCP tools with your MCP server
for (const tool of DCP_MCP_TOOLS) {
  mcpServer.registerTool(tool);
}

// Register DCP resources
for (const resource of DCP_MCP_RESOURCES) {
  mcpServer.registerResource(resource);
}

// Handle tool calls
mcpServer.onToolCall(async (name, args) => {
  return await handleDcpToolCall(name, args);
});

Tool Call Examples

import { handleDcpToolCall } from './index.js';

// Verify a bundle
const result = await handleDcpToolCall('dcp_verify_bundle', {
  bundle_json: JSON.stringify(myBundle),
  security_tier: 'standard',
});

// Declare an intent
const intent = await handleDcpToolCall('dcp_declare_intent', {
  agent_id: 'agent:my-agent',
  action_type: 'api_call',
  description: 'Fetch weather data from external API',
  risk_score: 150,
});

Notes

  • dcp_verify_bundle performs structural validation; full cryptographic verification requires the DCP core library.
  • dcp_create_identity returns identifiers only — key generation and signing are separate steps.
  • Risk tier is computed automatically from the risk score: routine (<200), standard (200-499), elevated (500-799), maximum (800+).