CipherHUB Cryptography Toolkit

io.github.bowenerchenv1.9.4更新於 Oct 8, 2026

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

已驗證Streamable HTTP可網頁執行Developer ToolsSecurity & Monitoring

概覽

AI 產生的概覽

一個遠端密碼學工具包,讓助理執行雜湊、加密、簽章、金鑰產生與後量子密碼學操作。

功能
CipherHUB 透過無狀態的 streamable HTTP MCP 端點提供 31 項密碼學操作。工具涵蓋雜湊與 HMAC、AES 與 SM4 對稱加密、RSA 與 ECC 金鑰產生、加密、簽章和金鑰交換、中國國家標準(SM2、SM3、SM4、ZUC),以及 ML-KEM、ML-DSA 和 X25519+ML-KEM-768 混合交換等後量子演算法。此外也提供安全隨機位元組產生、PKCS#7 填充工具,以及描述演算法目錄和 KMS 互通性報告的資源。
適用情境
當助理需要在不自行實作演算法的情況下執行密碼學操作時適用,例如計算雜湊或 HMAC、加密或解密資料、產生金鑰對、產生或驗證簽章,或測試後量子與中國標準演算法。也適合用來檢查與 AWS KMS 或騰訊雲 KMS 的互通性。
執行需求
需要遠端 MCP 端點 金鑰或環境變數。用戶端需支援 streamable HTTP 與 JSON-RPC 2.0,並需要能存取該端點的網路。
安裝前請注意
密碼學輸入與輸出(包括明文、金鑰和簽章)會傳送到第三方遠端服務,除非可以接受,否則不要用於生產金鑰或敏感資料。金鑰產生與簽章工具會產生並處理私鑰材料,傳回的金鑰應視為敏感資訊。未宣告任何身分驗證,任何知道端點網址的人都能呼叫這些工具。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CipherHUB Cryptography Toolkit,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "cipherhub": {
      "type": "http",
      "url": "https://tools.cipherhub.cloud/cipherhub/mcp"
    }
  }
}

README

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

bash
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

bash
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:

json
{  "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

來源:README.md,提交 7937ed4

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.9.4最新Sep 16, 2026