trackmcp
Back to directory
1595901624

crypto-mcp

View on GitHub

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

9 stars TypeScriptAI & Machine Learning Updated Sep 27, 2025

Documentation

MseeP.ai Security Assessment Badge

๐Ÿ“ Description

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

๐Ÿ“บ Demo

Demo

โœจ Features

  • [x] Support AES encryption and decryption (128 bits)
    • Support mode: ECB, CBC, CFB, OFB, CTR
    • Support padding mode: Pkcs7, Iso97971, AnsiX923, Iso10126, ZeroPadding, NoPadding.
    • Support output format: base64, hex
    • Support input format: base64, hex
  • [x] Support MD5, SHA1, SHA256, SHA384, SHA512, SHA224 algorithm
  • [x] Support DES encryption and decryption (64 bits)
    • Support mode: ECB, CBC, CFB, OFB, CTR
    • Support padding mode: Pkcs7, Iso97971, AnsiX923, Iso10126, ZeroPadding, NoPadding.
  • [x] Support Base64 encode and decode
  • [x] Support Hex encode and decode

๐Ÿ”ฎ Comming Soon

  • [ ] Support more encryption and decryption algorithms

๐Ÿ“ฆ Installation

Installing via Smithery

To install Crypto_MCP for Claude Desktop automatically via Smithery:

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

Manual Installation

1. Clone the Repository

code
git clone https://github.com/1595901624/crypto-mcp.git

2. Install Dependencies

code
pnpm install

3. Build the Project

code
pnpm run build

4. Add to your Claude Desktop MCP settings file

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

๐Ÿ”ง Usage

Available Tools

AES

  • `aes_encrypt`: Encrypt text with AES

parameters:

    • `aes_decrypt`: Decrypt text with AES

    parameters:

      Digest

      • `md5`: Calculate MD5 hash of a string

      parameters:

        • `sha1`: Calculate SHA-1 hash of a string

        parameters:

          • `sha256`: Calculate SHA-256 hash of a string

          parameters:

            • `sha384`: Calculate SHA-384 hash of a string

            parameters:

              • `sha512`: Calculate SHA-512 hash of a string

              parameters:

                • `sha224`: Calculate SHA-224 hash of a string

                parameters:

                  DES

                  • `des_encrypt`: Encrypt text with DES

                  parameters:

                    • `des_decrypt`: Decrypt text with DES

                    parameters:

                      Base64

                      • `base64_encode`: Encode text to base64

                      parameters:

                        • `base64_decode`: Decode base64 to text

                        parameters:

                          Hex

                          • `hex_encode`: Encode text to hex

                          parameters:

                            • `hex_decode`: Decode hex to text

                            parameters:

                              ๐Ÿ“ Development

                              code
                              # Install dependencies
                              npm install
                              
                              # Build the project
                              npm run build
                              
                              # Development with auto-rebuild
                              npm run watch

                              ๐Ÿ“ License

                              This project is licensed under the MIT License. See the LICENSE file for details.

                              Frequently asked questions

                              What is crypto-mcp?

                              crypto-mcp is A Model Context Protocol (MCP) server for encrypting/decrypting/algorithm/hash

                              How do I install crypto-mcp?

                              Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

                              Is crypto-mcp open source?

                              Yes โ€” it is hosted on GitHub at https://github.com/1595901624/crypto-mcp and has 9 stars.

                              Related MCP tools

                              Run your own MCP server? See who uses it and what to fix.

                              Measure it with TrackMCP