home / mcp / crypto_mcp server

Crypto_MCP Server

A Model Context Protocol (MCP) server for encrypting/decrypting/algorithm/hash

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "1595901624-crypto-mcp": {
      "command": "node",
      "args": [
        "path/to/crypto-mcp/build/index.js"
      ]
    }
  }
}

Crypto_MCP is a Model Context Protocol server that provides encryption, decryption, and hashing capabilities. It enables you to perform AES and DES encryption/decryption with multiple modes and padding schemes, as well as base64 and hex encoding/decoding, and various digest algorithms from a single MCP endpoint.

How to use

You connect to Crypto_MCP with your MCP client and invoke the available tools to encrypt, decrypt, or hash data. Use the AES or DES tools to encrypt or decrypt text with configurable modes, padding, and output formats. Use the Digest tools to generate MD5 or SHA family hashes. Use Base64 and Hex tools to encode or decode data. The server is designed to work with text inputs and return results in your chosen format.

Typical usage patterns include encrypting sensitive data with a chosen algorithm and mode, then sharing the encrypted output in base64 or hex form. You can also hash inputs to verify integrity, or encode/decode between base64 and raw text for transport or storage.

How to install

Prerequisites: you need Node.js and a package manager. You may also use the Smithery installer to pull Crypto_MCP directly.

Install via Smithery (automatic):

npx -y @smithery/cli install @1595901624/crypto-mcp --client claude

Manual installation steps (clone, install, build):

git clone https://github.com/1595901624/crypto-mcp.git
pnpm install
pnpm run build

Add the MCP server to your Claude Desktop MCP settings using the following configuration snippet. This starts Crypto_MCP as a local stdio server that runs the built index.js.

{
  "mcpServers": {
    "crypto-mcp": {
      "command": "node",
      "args": ["path/to/crypto-mcp/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Additional notes

Configuration shown here maps Crypto_MCP to a local stdio server. If you prefer, you can also install and run the server via the Smithery flow described above and point your MCP client to the local binary or a deployed URL if available.

Security considerations: protect your keys and IVs, and use appropriate padding and mode settings for your data. When sharing outputs, ensure that only non-sensitive information is exposed through your MCP client.

Available tools

aes_encrypt

Encrypt text with AES using configurable key, padding, mode, IV, and output format (base64 or hex).

aes_decrypt

Decrypt AES-encrypted text with corresponding key, padding, IV, mode, and input format.

des_encrypt

Encrypt text with DES using configurable key, padding, mode, IV, and output format.

des_decrypt

Decrypt DES-encrypted text with corresponding key, padding, IV, mode, and input format.

base64_encode

Encode text to base64.

base64_decode

Decode base64 to text.

hex_encode

Encode text to hex.

hex_decode

Decode hex to text.

md5

Calculate MD5 hash of a string.

sha1

Calculate SHA-1 hash of a string.

sha256

Calculate SHA-256 hash of a string.

sha384

Calculate SHA-384 hash of a string.

sha512

Calculate SHA-512 hash of a string.

sha224

Calculate SHA-224 hash of a string.