CipherHUBCloudMCP
CipherHUB MCP Server
Production-grade cryptography toolkit exposing 31 cryptographic operations via MCP (Model Context Protocol).
Overview
CipherHUB is a cryptography toolkit that enables AI agents to perform cryptographic operations without implementing algorithms themselves. It covers:
Classical Algorithms: AES, RSA, ECC (SECP256R1/384R1/521R1, X25519, Ed25519)
Chinese National Standards: SM2, SM3, SM4, ZUC
Post-Quantum Cryptography: ML-KEM (FIPS 203), ML-DSA (FIPS 204), X25519+ML-KEM-768 Hybrid KEX
Interoperability: Certified with AWS KMS (64/64) and Tencent Cloud KMS (39/39)
Quick Start
MCP Endpoint
https://tools.cipherhub.cloud/cipherhub/mcpProtocol
Type: Streamable HTTP
Format: JSON-RPC 2.0
Stateless: No session required
Example: Call a Tool
curl -X POST https://tools.cipherhub.cloud/cipherhub/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "hash_sum",
"arguments": {
"plain_in_hex": "48656c6c6f",
"required_hash_modes": ["SHA256"]
}
},
"id": 1
}'Example: List Resources
curl -X POST https://tools.cipherhub.cloud/cipherhub/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"method": "resources/list",
"id": 1
}'Tools
Hash Functions
Tool | Description |
| SHA-1/224/256/384/512, SM3 |
| HMAC with all hash algorithms |
Symmetric Encryption
Tool | Description |
| AES-128/256, SM4 (CBC mode) |
| AES-256-GCM, ChaCha20-Poly1305, SM4-GCM |
| ZUC-128 stream cipher |
Asymmetric Cryptography
Tool | Description |
| Generate RSA key pair (2048/3072/4096 bits) |
| RSA encryption/decryption |
| RSA signatures |
| Generate ECC key pair |
| ECDSA/EdDSA signatures |
| ECDH + HKDF key agreement |
Chinese National Standards
Tool | Description |
| Generate SM2 key pair |
| SM2 encryption |
| SM2 signatures |
Post-Quantum Cryptography
Tool | Description |
| ML-KEM key generation |
| ML-KEM encapsulation/decapsulation |
| ML-DSA key generation |
| ML-DSA signatures |
| X25519+ML-KEM-768 hybrid key exchange |
Utility
Tool | Description |
| Generate secure random bytes |
| PKCS#7 padding |
Resources
URI | Description |
| Complete algorithm catalog |
| Tool categorization |
| AWS KMS interoperability report |
| Tencent Cloud KMS interoperability report |
| SDK channel protocol guide |
Client Configuration
Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"cipherhub": {
"url": "https://tools.cipherhub.cloud/cipherhub/mcp"
}
}
}Cursor IDE
Add to your Cursor settings.
Custom Client
Use any MCP-compatible client with the endpoint URL.
API Documentation
OpenAPI: https://tools.cipherhub.cloud/.well-known/openapi.yaml
llms.txt: https://tools.cipherhub.cloud/llms.txt
Web Interface
Interactive web UI available at: https://tools.cipherhub.cloud
Author
Yang X. CHEN
Blog: https://cipherhub.cloud
GitHub: @bowenerchen
License
MIT License