Odel
CipherHUB Cryptography Toolkit

CipherHUB Cryptography Toolkit

@bowenerchenDeveloper ToolsDockerfileUpdated 1mo ago

Production-grade cryptography toolkit with 31 MCP tools for classical, PQC, and KMS workflows.

Server endpointStreamable HTTP

This is the third-party server itself — Odel doesn't run it. Hitting this URL directly talks straight to the upstream server with no auth or proxying. Connect through Odel to front it with managed auth.

CipherHUB MCP Server

MCP License Tools

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/mcp

Protocol

  • 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

ToolDescription
hash_sumSHA-1/224/256/384/512, SM3
hmac_sumHMAC with all hash algorithms

Symmetric Encryption

ToolDescription
block_cipher_encrypt / block_cipher_decryptAES-128/256, SM4 (CBC mode)
stream_cipher_encrypt / stream_cipher_decryptAES-256-GCM, ChaCha20-Poly1305, SM4-GCM
zuc_cipherZUC-128 stream cipher

Asymmetric Cryptography

ToolDescription
rsa_generate_keyGenerate RSA key pair (2048/3072/4096 bits)
rsa_encrypt / rsa_decryptRSA encryption/decryption
rsa_sign / rsa_verifyRSA signatures
ecc_generate_keyGenerate ECC key pair
ecc_sign / ecc_verifyECDSA/EdDSA signatures
ecc_key_exchangeECDH + HKDF key agreement

Chinese National Standards

ToolDescription
sm2_generate_keyGenerate SM2 key pair
sm2_encrypt / sm2_decryptSM2 encryption
sm2_sign / sm2_verifySM2 signatures

Post-Quantum Cryptography

ToolDescription
ml_kem_keygenML-KEM key generation
ml_kem_encapsulate / ml_kem_decapsulateML-KEM encapsulation/decapsulation
ml_dsa_keygenML-DSA key generation
ml_dsa_sign / ml_dsa_verifyML-DSA signatures
hybrid_kex_keygenX25519+ML-KEM-768 hybrid key exchange

Utility

ToolDescription
generate_random_dataGenerate secure random bytes
data_padding / data_unpaddingPKCS#7 padding

Resources

URIDescription
cipherhub://algorithmsComplete algorithm catalog
cipherhub://tool-categoriesTool categorization
cipherhub://interop/aws-kmsAWS KMS interoperability report
cipherhub://interop/tencent-kmsTencent Cloud KMS interoperability report
cipherhub://channel-implementationSDK 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

Web Interface

Interactive web UI available at: https://tools.cipherhub.cloud

Author

Yang X. CHEN

License

MIT License