Skip to main content
Glama

Crypto_MCP

📝 描述

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

📺 演示

演示

✨ 特点

  • [x] 支持AES加密解密(128位)
    • 支持模式:ECB、CBC、CFB、OFB、CTR
    • 支持填充模式:Pkcs7、Iso97971、AnsiX923、Iso10126、ZeroPadding、NoPadding。
    • 支持输出格式:base64、hex
    • 支持输入格式:base64、hex
  • [x] 支持MD5、SHA1、SHA256、SHA384、SHA512、SHA224算法
  • [x] 支持DES加密解密(64位)
    • 支持模式:ECB、CBC、CFB、OFB、CTR
    • 支持填充模式:Pkcs7、Iso97971、AnsiX923、Iso10126、ZeroPadding、NoPadding。
    • 支持输出格式:base64、hex
    • 支持输入格式:base64、hex

🔮即将推出

  • [ ] 支持更多加密解密算法

📦安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Crypto_MCP:

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

手动安装

  1. 克隆存储库
git clone https://github.com/1595901624/crypto-mcp.git
  1. 安装依赖项
pnpm install
  1. 构建项目
pnpm run build
  1. 添加到您的 Claude Desktop MCP 设置文件
{ "mcpServers": { "crypto-mcp": { "command": "node", "args": ["path/to/crypto-mcp/build/index.js"], "disabled": false, "autoApprove": [] } } }

🔧 使用方法

可用工具

高级加密标准 (AES)
  • aes_encrypt :使用 AES 参数加密文本:
    • text :要加密的文本(必需
    • key :加密文本的密钥(可选,默认为 your-key-0123456)
    • padding :填充模式(可选,默认为 Pkcs7)
    • outputFormat :输出格式(可选,默认为 base64)
    • iv :初始化向量(可选,默认为 your-iv-01234567)
    • mode :加密文本的模式(可选,默认为 ECB)
  • aes_decrypt :使用 AES 参数解密文本:
    • text :要解密的文本(必需
    • key :解密文本的密钥(可选,默认为 your-key-0123456)
    • padding :填充模式(可选,默认为 Pkcs7)
    • inputFormat :输入格式(可选,默认为 base64)
    • iv :初始化向量(可选,默认为 your-iv-01234567)
    • mode :解密文本的模式(可选,默认为 ECB)
消化
  • md5 :计算字符串的 MD5 哈希值参数:
    • input :要哈希的输入字符串(必需
  • sha1 :计算字符串的 SHA-1 哈希值参数:
    • input :要哈希的输入字符串(必需
  • sha256 :计算字符串的 SHA-256 哈希值参数:
    • input :要哈希的输入字符串(必需
  • sha384 :计算字符串的 SHA-384 哈希值参数:
    • input :要哈希的输入字符串(必需
  • sha512 :计算字符串的 SHA-512 哈希值参数:
    • input :要哈希的输入字符串(必需
  • sha224 :计算字符串的 SHA-224 哈希值参数:
    • input :要哈希的输入字符串(必需
数据加密标准 (DES)
  • des_encrypt :使用 DES 参数加密文本:
    • text :要加密的文本(必需
    • key :加密文本的密钥(可选,默认为 your-key)
    • padding :填充模式(可选,默认为 Pkcs7)
    • outputFormat :输出格式(可选,默认为 base64)
    • iv :初始化向量(可选,默认为 your-iv-)
    • mode :加密文本的模式(可选,默认为 ECB)
  • des_decrypt :使用 DES 参数解密文本:
    • text :要解密的文本(必需
    • key :解密文本的密钥(可选,默认为 your-key)
    • padding :填充模式(可选,默认为 Pkcs7)
    • inputFormat :输入格式(可选,默认为 base64)
    • iv :初始化向量(可选,默认为 your-iv-)
    • mode :解密文本的模式(可选,默认为 ECB)

📝 开发

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

📝 许可证

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

用于 AES 加密和解密的模型上下文协议服务器,支持各种模式、填充和输入/输出格式,以实现安全的数据处理。

  1. 📺 演示
    1. ✨ 特点
      1. 🔮即将推出
        1. 📦安装
          1. 通过 Smithery 安装
          2. 手动安装
        2. 🔧 使用方法
          1. 可用工具
        3. 📝 开发
          1. 📝 许可证

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A secure Model Context Protocol server that manages time-based operations using timing attack protection and timelock encryption, allowing for timed interval management and secure data storage.
              Last updated -
              2
              TypeScript
            • -
              security
              F
              license
              -
              quality
              This server enables running a Model Context Protocol in a web browser with functionalities including arithmetic operations and session-based key-value storage.
              Last updated -
              2
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.
              Last updated -
              160
              JavaScript
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
              Last updated -
              2
              Python
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/1595901624/crypto-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server