briefcaseMCP3 SDK & Developer Guide

The MCP3 SDK provides utilities to generate, sign, verify, and consume Machine Context Objects (MCOs), enabling seamless integration of contextual identity into AI agents and Web3 applications.


πŸ“¦ Installation

Node.js / TypeScript:

npm install @mcp3/sdk

or

yarn add @mcp3/sdk

Works in browser and server environments.


πŸ“ Architecture: SDK Module Overview

graph TD;
    UserWallet -->|signs| MCOBuilder;
    MCOBuilder --> MCO;
    MCO -->|sent to| AIClient;
    AIClient -->|formats prompt| LLM;
    Verifier -->|validates| MCO;
    Agent -->|context-aware| Interaction;

    subgraph SDK
        MCOBuilder
        AIClient
        Verifier
    end

πŸ—οΈ 1. Constructing an MCO (Client Side)


βœ… 2. Verifying an MCO (Server Side)


🧠 3. Integrating with LLM Agents


πŸ§ͺ 4. Handling ZK Proofs


βš™οΈ 5. Using Delegated Signing Keys


πŸ“‘ 6. Uploading to IPFS


🧩 7. Prompt Engineering Helpers


πŸ“˜ Example: Full Flow


πŸ“Š Developer Dashboard (Planned)

Coming soon:

  • πŸ” MCO Explorer (decode/view signed objects)

  • πŸ” Delegation UI

  • πŸ§ͺ Proof Playground

  • βš™οΈ Prompt Builder with context injection


πŸ“š SDK Reference

Module
Description

@mcp3/sdk/client

Build & sign context objects

@mcp3/sdk/server

Verify and decode MCOs

@mcp3/sdk/zk

Generate ZK proofs

@mcp3/sdk/llm

Format LLM-compatible prompts

@mcp3/sdk/crypto

Signer tools and delegation

@mcp3/sdk/storage

Upload MCO to IPFS or Arweave

Last updated