Skip to content
MCP server

ZShield MCP

Capped, allow-listed shielded Zcash payments for AI agents. Testnet beta.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0-beta.1
Listing updated
2 days ago

About ZShield MCP

ZShield MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add zshield-mcp --env ALLOWLIST_PATH='<ALLOWLIST_PATH>' --env SPENDING_CAP_ZEC='<SPENDING_CAP_ZEC>' --env VIEW_KEY_FINGERPRINT_SALT='<VIEW_KEY_FINGERPRINT_SALT>' -- npx -y zshield-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "zshield-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zshield-mcp"
      ],
      "env": {
        "ALLOWLIST_PATH": "<ALLOWLIST_PATH>",
        "SPENDING_CAP_ZEC": "<SPENDING_CAP_ZEC>",
        "VIEW_KEY_FINGERPRINT_SALT": "<VIEW_KEY_FINGERPRINT_SALT>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "zshield-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zshield-mcp"
      ],
      "env": {
        "ALLOWLIST_PATH": "<ALLOWLIST_PATH>",
        "SPENDING_CAP_ZEC": "<SPENDING_CAP_ZEC>",
        "VIEW_KEY_FINGERPRINT_SALT": "<VIEW_KEY_FINGERPRINT_SALT>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "zshield-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "zshield-mcp"
      ],
      "env": {
        "ALLOWLIST_PATH": "<ALLOWLIST_PATH>",
        "SPENDING_CAP_ZEC": "<SPENDING_CAP_ZEC>",
        "VIEW_KEY_FINGERPRINT_SALT": "<VIEW_KEY_FINGERPRINT_SALT>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "zshield-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zshield-mcp"
      ],
      "env": {
        "ALLOWLIST_PATH": "<ALLOWLIST_PATH>",
        "SPENDING_CAP_ZEC": "<SPENDING_CAP_ZEC>",
        "VIEW_KEY_FINGERPRINT_SALT": "<VIEW_KEY_FINGERPRINT_SALT>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "zshield-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "zshield-mcp"
      ],
      "env": {
        "ALLOWLIST_PATH": "<ALLOWLIST_PATH>",
        "SPENDING_CAP_ZEC": "<SPENDING_CAP_ZEC>",
        "VIEW_KEY_FINGERPRINT_SALT": "<VIEW_KEY_FINGERPRINT_SALT>"
      }
    }
  }
}

Configuration

  • ALLOWLIST_PATHPath to the recipient allow-list JSONRequired
  • SPENDING_CAP_ZECHard max ZEC per paymentRequired
  • CHAIN_MODEmock (default), testnet, zkool or ironclad
  • AUDIT_DIRDirectory for append-only audit logs
  • VIEW_KEY_FINGERPRINT_SALTUnique salt, required outside mock mode
  • TOTAL_SPENDING_CAP_ZECLifetime principal plus fee allowance

Pricing

Open source

ZShield MCP FAQ

Is ZShield MCP free?

Yes. ZShield MCP is open source, so you can use and self-host it for free.

How do I add ZShield MCP to Claude Code?

Run this command in your terminal: claude mcp add zshield-mcp --env ALLOWLIST_PATH='<ALLOWLIST_PATH>' --env SPENDING_CAP_ZEC='<SPENDING_CAP_ZEC>' --env VIEW_KEY_FINGERPRINT_SALT='<VIEW_KEY_FINGERPRINT_SALT>' -- npx -y zshield-mcp