# ZShield MCP

> ZShield MCP is an open-source MCP server. Capped, allow-listed shielded Zcash payments for AI agents. Testnet beta. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/steeve-crypto/zshield-mcp
- **MCP Registry name:** io.github.Steeve-Crypto/zshield-mcp
- **Listing updated:** 2026-11-16

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

```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>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```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>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```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>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

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

---
Source: https://ai-powered.com/mcp/zshield-mcp
