# WebCrypt MCP Server

> WebCrypt MCP Server is an open-source MCP server for security. MCP server giving AI coding agents encryption, key management, hashing and signing tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Linux, macOS, Windows, vscode, self-hosted
- **Website:** https://putervision.github.io/webcrypt/
- **Repository:** https://github.com/putervision/webcrypt
- **MCP Registry name:** io.github.putervision/webcrypt
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-18

## About

The README describes WebCrypt as a zero-dependency package built on the browser-standard Web Crypto API, offering AES-256-GCM symmetric encryption, RSA-4096 hybrid encryption, ECDH key agreement, ECDSA and HMAC signatures, and post-quantum Kyber and Dilithium primitives. It can be used as a JavaScript library, a command-line tool, or an MCP server that exposes six tools to AI coding clients.

For agents, the MCP server lets a model encrypt secrets or working state before writing them to disk, sign release artifacts and test evidence, and exchange ephemeral JWK keys with other agents. The README says the project ships an init command that writes MCP configuration for several IDEs and assistants, including Cursor, Claude Desktop, VS Code with Copilot, Windsurf, Cline and Zed.

According to the README, all operations run locally through crypto.subtle with no external API calls or telemetry. It is aimed at developers building JavaScript or TypeScript applications and at teams who want their coding agents to handle sensitive material safely.

## Features

- **Symmetric AES-256-GCM encryption:** Encrypts text, JSON and files with a password-derived key using PBKDF2 with 600k iterations.
- **RSA-4096 hybrid encryption:** Generates key pairs and encrypts payloads for a public key, with ECDH key agreement also supported.
- **Digital signatures and hashing:** Signs and verifies messages and release hashes with ECDSA or HMAC, and computes SHA-2 and SHA-3 digests.
- **Post-quantum primitives:** Provides Kyber KEM encapsulation and Dilithium signatures alongside hybrid modes.
- **Six MCP tools:** Exposes encrypt, decrypt, key management, hashing, signing and post-quantum operations to MCP clients.
- **Zero runtime dependencies:** Relies only on the native Web Crypto API across Node.js 18+, Bun, browsers and edge runtimes.

## Good for

- Encrypting API keys or agent state before an assistant writes them to disk
- Signing release binaries or test evidence so changes can be verified later
- Generating ephemeral key pairs for private messaging between agents
- Adding encryption helpers to a JavaScript or TypeScript project
- Generating high-entropy passwords from an agent workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add webcrypt -- npx -y webcrypt
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "webcrypt": {
      "command": "npx",
      "args": [
        "-y",
        "webcrypt"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "webcrypt": {
      "command": "npx",
      "args": [
        "-y",
        "webcrypt"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "webcrypt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "webcrypt"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "webcrypt": {
      "command": "npx",
      "args": [
        "-y",
        "webcrypt"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "webcrypt": {
      "command": "npx",
      "args": [
        "-y",
        "webcrypt"
      ]
    }
  }
}
```

## Tools

- `encrypt_payload`: Encrypt text, JSON objects, or files with AES-256-GCM or RSA-4096.
- `decrypt_payload`: Decrypt ciphertext back to plaintext or structured JSON.
- `manage_keys`: Generate JWK keypairs or high-entropy passwords.
- `crypto_hash`: Compute SHA-256, SHA-512 or SHA-3 digests in hex or base64.
- `sign_verify`: Sign and verify messages, release hashes and evidence packs.
- `pqc_kem_sign`: Post-quantum Kyber KEM encapsulation and Dilithium signatures.

## FAQ

### How is it installed as an MCP server?

The registry entry lists an npm package named webcrypt, version 1.0.1, run over stdio. The README also describes an npx webcrypt init command that sets up MCP configuration.

### Does it send data over the network?

The README states that all cryptographic operations run locally through crypto.subtle, with no external API calls, telemetry or network transmission.

### What license is it released under?

The README says it is released under the MIT License.

### Which MCP tools does it provide?

The README lists encrypt_payload, decrypt_payload, manage_keys, crypto_hash, sign_verify and pqc_kem_sign.

### Is WebCrypt MCP Server free?

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

### How do I add WebCrypt MCP Server to Claude Code?

Run this command in your terminal: claude mcp add webcrypt -- npx -y webcrypt

### What are the best alternatives to WebCrypt MCP Server?

The closest alternatives to WebCrypt MCP Server are REA, AiSOC, redamon, x64dbg-mcp-server and Agent Roast.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Cisa Kev](https://ai-powered.com/mcp/cisa-kev): Cisa Kev is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/webcrypt-mcp-server
