Crypto_MCP
📝 描述
用于加密/解密/算法/哈希的模型上下文协议 (MCP) 服务器。
Related MCP server: Filesystem MCP Server
📺 演示

✨ 特点
[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手动安装
克隆存储库
git clone https://github.com/1595901624/crypto-mcp.git安装依赖项
pnpm install构建项目
pnpm run build添加到您的 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文件。
Available Tools
14 toolsaes_decryptC
decrypt text with aes
Inputs: content (required), key, padding, inputFormat, +2 more.
aes_encryptC
encrypt text with aes
Inputs: content (required), key, padding, outputFormat, +2 more.
base64_decodeC
decode base64 to text
Inputs: content (required).
base64_encodeB
encode text to base64
Inputs: content (required).
des_decryptC
decrypt text with des
Inputs: content (required), key, iv, padding, +2 more.
des_encryptC
encrypt text with des
Inputs: content (required), key, iv, padding, +2 more.
hex_decodeC
decode hex to text
Inputs: content (required).
hex_encodeA
encode text to hex
Inputs: content (required).
md5A
Calculate MD5 hash of a string
Inputs: input (required).
sha1B
Calculate SHA-1 hash of a string
Inputs: input (required).
sha224B
Calculate SHA-224 hash of a string
Inputs: input (required).
sha256B
Calculate SHA-256 hash of a string
Inputs: input (required).
sha384B
Calculate SHA-384 hash of a string
Inputs: input (required).
sha512B
Calculate SHA-512 hash of a string
Inputs: input (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct algorithm or operation, and the encrypt/decrypt and encode/decode pairs are clearly separated. The six hash tools are all described similarly and overlap in purpose, though the algorithm name (md5, sha256, etc.) provides enough distinction.
Encryption/encoding tools follow an algorithm_verb pattern (aes_encrypt, base64_decode, hex_encode), but hash tools are bare algorithm names (sha256, md5, sha384) with no verb, creating inconsistent conventions. The style is readable but not uniformly patterned.
14 tools is within a reasonable range for a cryptography utility server. The count is slightly padded by six SHA/MD5 hash variants that could arguably be one parameterized tool, but it is still a well-scoped collection.
The set covers symmetric encryption, common hashes, and encodings, but misses common crypto operations like HMAC, digital signatures, asymmetric encryption, and key generation. These are notable gaps for a server with the broad name Crypto_MCP, though the included core operations are solid.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
55-tool cryptography MCP server: hashing, encryption, signatures, PQC, X.509, CMS and COSE.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA 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.3-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface.6MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.217-
- FlicenseNot gradedqualityNot gradedmaintenanceA feature-rich Model Context Protocol server built with FastMCP that provides various tools including basic utilities, network services, file operations, encryption tools, and system information functions.1-