Snap Protocol

Created By
agentzeny2 days ago
Overview

SNAP Protocol MCP Server

Private agent-to-agent payments on Solana mainnet using zero-knowledge proofs.

Tools

  • snap_list_pools — List available shielded pools (0.1 SOL, 1 USDC, 10 USDC)
  • snap_deposit — Deposit into a shielded pool (returns a secret note)
  • snap_withdraw — Withdraw with ZK proof (direct or via relayer)
  • snap_estimate_fee — Estimate withdrawal fees (0.25% protocol fee)

How It Works

  1. Agent A deposits SOL/USDC + cryptographic commitment into a shielded pool
  2. Agent A sends a secret note to Agent B off-chain
  3. Agent B generates a Groth16 zero-knowledge proof
  4. Agent B withdraws — observers cannot link the withdrawal to the deposit

Quick Start

npm install snap-solana-sdk

Network

  • Solana mainnet-beta
  • Protocol fee: 0.25%

Server Config

{
  "mcpServers": {
    "snap": {
      "command": "npx",
      "args": [
        "tsx",
        "snap-mcp-server.ts"
      ],
      "env": {
        "SNAP_RPC_URL": "https://api.mainnet-beta.solana.com",
        "SNAP_POOL_ADDRESS": "B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf"
      }
    }
  }
}
Project Info
Created At
2 days ago
Updated At
2 days ago
Author Name
agentzeny
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Ecommerce Mcp

15 hours ago