Cover image
Try Now
2025-03-21

用于加密/解密/算法/哈希的模型上下文协议(MCP)服务器

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

Crypto_MCP Logo

Crypto_MCP

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

Version License Smithery Badge

📝 Description

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

📺 Demo

Demo

✨ Features

  • 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
  • Support MD5, SHA1, SHA256, SHA384, SHA512, SHA224 algorithm
  • Support DES encryption and decryption (64 bits)
    • Support mode: ECB, CBC, CFB, OFB, CTR
    • Support padding mode: Pkcs7, Iso97971, AnsiX923, Iso10126, ZeroPadding, NoPadding.
  • Support Base64 encode and decode
  • 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:

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

Manual Installation

  1. Clone the Repository
git clone https://github.com/1595901624/crypto-mcp.git
  1. Install Dependencies
pnpm install
  1. Build the Project
pnpm run build
  1. Add to your Claude Desktop MCP settings file
{
   "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:

    • text: The text to encrypt (Required)
    • key: The key to encrypt the text (optional, default is your-key-0123456)
    • padding: The padding mode (optional, default is Pkcs7)
    • outputFormat: The output format (optional, default is base64)
    • iv: The initialization vector (optional, default is your-iv-01234567)
    • mode: The mode to encrypt the text (optional, default is ECB)
  • aes_decrypt: Decrypt text with AES parameters:

    • text: The text to decrypt (Required)
    • key: The key to decrypt the text (optional, default is your-key-0123456)
    • padding: The padding mode (optional, default is Pkcs7)
    • inputFormat: The input format (optional, default is base64)
    • iv: The initialization vector (optional, default is your-iv-01234567)
    • mode: The mode to decrypt the text (optional, default is ECB)

Digest

  • md5: Calculate MD5 hash of a string parameters:

    • input: The input string to hash (Required)
  • sha1: Calculate SHA-1 hash of a string parameters:

    • input: The input string to hash (Required)
  • sha256: Calculate SHA-256 hash of a string parameters:

    • input: The input string to hash (Required)
  • sha384: Calculate SHA-384 hash of a string parameters:

    • input: The input string to hash (Required)
  • sha512: Calculate SHA-512 hash of a string parameters:

    • input: The input string to hash (Required)
  • sha224: Calculate SHA-224 hash of a string parameters:

    • input: The input string to hash (Required)

DES

  • des_encrypt: Encrypt text with DES parameters:

    • text: The text to encrypt (Required)
    • key: The key to encrypt the text (optional, default is your-key)
    • padding: The padding mode (optional, default is Pkcs7)
    • outputFormat: The output format (optional, default is base64)
    • iv: The initialization vector (optional, default is your-iv-)
    • mode: The mode to encrypt the text (optional, default is ECB)
  • des_decrypt: Decrypt text with DES parameters:

    • text: The text to decrypt (Required)
    • key: The key to decrypt the text (optional, default is your-key)
    • padding: The padding mode (optional, default is Pkcs7)
    • inputFormat: The input format (optional, default is base64)
    • iv: The initialization vector (optional, default is your-iv-)
    • mode: The mode to decrypt the text (optional, default is ECB)

Base64

  • base64_encode: Encode text to base64 parameters:

    • content: The text to encode (Required)
  • base64_decode: Decode base64 to text parameters:

    • content: The base64 text to decode (Required)

Hex

  • hex_encode: Encode text to hex parameters:

    • content: The text to encode (Required)
  • hex_decode: Decode hex to text parameters:

    • content: The hex text to decode (Required)

📝 Development

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

    Reviews

    2 (1)
    Avatar
    user_RPvMeWJJ
    2025-04-16

    Mcp K8s Eye by wenhuwang is a must-have tool for anyone working with Kubernetes. Its user-friendly interface and comprehensive features make monitoring and managing clusters a breeze. The seamless integration and real-time data provide valuable insights, ensuring your Kubernetes environment runs smoothly. Highly recommended! Check it out here: https://mcp.so/server/mcp-k8s-eye/wenhuwang