{
  "markdown": "# CipherHUB MCP Server\n\n[![MCP](https://img.shields.io/badge/MCP-Server-blue)](https://tools.cipherhub.cloud/cipherhub/mcp)\n[![License](https://img.shields.io/badge/License-MIT-green)](LICENSE)\n[![Tools](https://img.shields.io/badge/Tools-31-orange)](#tools)\n\nProduction-grade cryptography toolkit exposing **31 cryptographic operations** via MCP (Model Context Protocol). \n\n## Overview\n\nCipherHUB is a cryptography toolkit that enables AI agents to perform cryptographic operations without implementing algorithms themselves. It covers:\n\n- **Classical Algorithms**: AES, RSA, ECC (SECP256R1/384R1/521R1, X25519, Ed25519)\n- **Chinese National Standards**: SM2, SM3, SM4, ZUC\n- **Post-Quantum Cryptography**: ML-KEM (FIPS 203), ML-DSA (FIPS 204), X25519+ML-KEM-768 Hybrid KEX\n- **Interoperability**: Certified with AWS KMS (64/64) and Tencent Cloud KMS (39/39)\n\n## Quick Start\n\n### MCP Endpoint\n\n```\nhttps://tools.cipherhub.cloud/cipherhub/mcp\n```\n\n### Protocol\n\n- **Type**: Streamable HTTP\n- **Format**: JSON-RPC 2.0\n- **Stateless**: No session required\n\n### Example: Call a Tool\n\n```bash\ncurl -X POST https://tools.cipherhub.cloud/cipherhub/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: application/json, text/event-stream\" \\\n  -d '{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"tools/call\",\n    \"params\": {\n      \"name\": \"hash_sum\",\n      \"arguments\": {\n        \"plain_in_hex\": \"48656c6c6f\",\n        \"required_hash_modes\": [\"SHA256\"]\n      }\n    },\n    \"id\": 1\n  }'\n```\n\n### Example: List Resources\n\n```bash\ncurl -X POST https://tools.cipherhub.cloud/cipherhub/mcp \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Accept: application/json, text/event-stream\" \\\n  -d '{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"resources/list\",\n    \"id\": 1\n  }'\n```\n\n## Tools\n\n### Hash Functions\n\n| Tool | Description |\n|------|-------------|\n| `hash_sum` | SHA-1/224/256/384/512, SM3 |\n| `hmac_sum` | HMAC with all hash algorithms |\n\n### Symmetric Encryption\n\n| Tool | Description |\n|------|-------------|\n| `block_cipher_encrypt` / `block_cipher_decrypt` | AES-128/256, SM4 (CBC mode) |\n| `stream_cipher_encrypt` / `stream_cipher_decrypt` | AES-256-GCM, ChaCha20-Poly1305, SM4-GCM |\n| `zuc_cipher` | ZUC-128 stream cipher |\n\n### Asymmetric Cryptography\n\n| Tool | Description |\n|------|-------------|\n| `rsa_generate_key` | Generate RSA key pair (2048/3072/4096 bits) |\n| `rsa_encrypt` / `rsa_decrypt` | RSA encryption/decryption |\n| `rsa_sign` / `rsa_verify` | RSA signatures |\n| `ecc_generate_key` | Generate ECC key pair |\n| `ecc_sign` / `ecc_verify` | ECDSA/EdDSA signatures |\n| `ecc_key_exchange` | ECDH + HKDF key agreement |\n\n### Chinese National Standards\n\n| Tool | Description |\n|------|-------------|\n| `sm2_generate_key` | Generate SM2 key pair |\n| `sm2_encrypt` / `sm2_decrypt` | SM2 encryption |\n| `sm2_sign` / `sm2_verify` | SM2 signatures |\n\n### Post-Quantum Cryptography\n\n| Tool | Description |\n|------|-------------|\n| `ml_kem_keygen` | ML-KEM key generation |\n| `ml_kem_encapsulate` / `ml_kem_decapsulate` | ML-KEM encapsulation/decapsulation |\n| `ml_dsa_keygen` | ML-DSA key generation |\n| `ml_dsa_sign` / `ml_dsa_verify` | ML-DSA signatures |\n| `hybrid_kex_keygen` | X25519+ML-KEM-768 hybrid key exchange |\n\n### Utility\n\n| Tool | Description |\n|------|-------------|\n| `generate_random_data` | Generate secure random bytes |\n| `data_padding` / `data_unpadding` | PKCS#7 padding |\n\n## Resources\n\n| URI | Description |\n|-----|-------------|\n| `cipherhub://algorithms` | Complete algorithm catalog |\n| `cipherhub://tool-categories` | Tool categorization |\n| `cipherhub://interop/aws-kms` | AWS KMS interoperability report |\n| `cipherhub://interop/tencent-kms` | Tencent Cloud KMS interoperability report |\n| `cipherhub://channel-implementation` | SDK channel protocol guide |\n\n## Client Configuration\n\n### Claude Desktop\n\nAdd to your Claude Desktop config:\n\n```json\n{\n  \"mcpServers\": {\n    \"cipherhub\": {\n      \"url\": \"https://tools.cipherhub.cloud/cipherhub/mcp\"\n    }\n  }\n}\n```\n\n### Cursor IDE\n\nAdd to your Cursor settings.\n\n### Custom Client\n\nUse any MCP-compatible client with the endpoint URL.\n\n## API Documentation\n\n- **OpenAPI**: https://tools.cipherhub.cloud/.well-known/openapi.yaml\n- **llms.txt**: https://tools.cipherhub.cloud/llms.txt\n\n## Web Interface\n\nInteractive web UI available at: https://tools.cipherhub.cloud\n\n## Author\n\n**Yang X. CHEN**\n\n- Blog: https://cipherhub.cloud\n- GitHub: [@bowenerchen](https://github.com/bowenerchen)\n\n## License\n\nMIT License\n",
  "bytes": 4476,
  "sha": "c620d08dcf8cb928cc80b87b1d6ee875d1e87fc2cf1d0bf6ed73a289f269c908",
  "repo_slug": "bowenerchen/cipherhub-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_bowenerchen_cipherhub_db1e146f/readme"
}