Skip to main content
Glama
bowenerchen

CipherHUBCloudMCP

by bowenerchen

CipherHUB MCP 服务器

MCP License Tools

生产级密码学工具包,通过 MCP(模型上下文协议)提供 31 种密码学操作

概述

CipherHUB 是一个密码学工具包,使 AI 代理无需自行实现算法即可执行密码学操作。它涵盖:

  • 经典算法:AES, RSA, ECC (SECP256R1/384R1/521R1, X25519, Ed25519)

  • 中国国家标准:SM2, SM3, SM4, ZUC

  • 后量子密码学:ML-KEM (FIPS 203), ML-DSA (FIPS 204), X25519+ML-KEM-768 混合密钥交换

  • 互操作性:通过 AWS KMS (64/64) 和腾讯云 KMS (39/39) 认证

快速入门

MCP 端点

https://tools.cipherhub.cloud/cipherhub/mcp

协议

  • 类型:流式 HTTP

  • 格式:JSON-RPC 2.0

  • 无状态:无需会话

示例:调用工具

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
  }'

示例:列出资源

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
  }'

工具

哈希函数

工具

描述

hash_sum

SHA-1/224/256/384/512, SM3

hmac_sum

使用所有哈希算法的 HMAC

对称加密

工具

描述

block_cipher_encrypt / block_cipher_decrypt

AES-128/256, SM4 (CBC 模式)

stream_cipher_encrypt / stream_cipher_decrypt

AES-256-GCM, ChaCha20-Poly1305, SM4-GCM

zuc_cipher

ZUC-128 流加密

非对称密码学

工具

描述

rsa_generate_key

生成 RSA 密钥对 (2048/3072/4096 位)

rsa_encrypt / rsa_decrypt

RSA 加密/解密

rsa_sign / rsa_verify

RSA 签名

ecc_generate_key

生成 ECC 密钥对

ecc_sign / ecc_verify

ECDSA/EdDSA 签名

ecc_key_exchange

ECDH + HKDF 密钥协商

中国国家标准

工具

描述

sm2_generate_key

生成 SM2 密钥对

sm2_encrypt / sm2_decrypt

SM2 加密

sm2_sign / sm2_verify

SM2 签名

后量子密码学

工具

描述

ml_kem_keygen

ML-KEM 密钥生成

ml_kem_encapsulate / ml_kem_decapsulate

ML-KEM 封装/解封装

ml_dsa_keygen

ML-DSA 密钥生成

ml_dsa_sign / ml_dsa_verify

ML-DSA 签名

hybrid_kex_keygen

X25519+ML-KEM-768 混合密钥交换

实用工具

工具

描述

generate_random_data

生成安全随机字节

data_padding / data_unpadding

PKCS#7 填充

资源

URI

描述

cipherhub://algorithms

完整算法目录

cipherhub://tool-categories

工具分类

cipherhub://interop/aws-kms

AWS KMS 互操作性报告

cipherhub://interop/tencent-kms

腾讯云 KMS 互操作性报告

cipherhub://channel-implementation

SDK 通道协议指南

客户端配置

Claude Desktop

添加到您的 Claude Desktop 配置中:

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

Cursor IDE

添加到您的 Cursor 设置中。

自定义客户端

使用任何兼容 MCP 的客户端并配置端点 URL。

API 文档

Web 界面

交互式 Web UI 可访问:https://tools.cipherhub.cloud

作者

Yang X. CHEN

许可证

MIT 许可证

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/bowenerchen/CipherHUB-MCP-Server'

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