This MCP server implementation provides cryptographic tools for secure communication, including key pair generation, shared secret derivation, and message encryption/decryption using SJCL P-256 and AES-CCM. Built with Express.js and TypeScript, it offers real-time communication via server-sent events (SSE). The server is designed for applications requiring end-to-end encryption and secure data exchange between AI models and external tools.
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación
Generate a new SJCL P-256 key pair (without exposing the private key)
Derive a shared secret from private and public keys for secure communication. Parameters: userPublicKey (string), myPrivateKey (string)
Encrypt messages using SJCL AES-CCM encryption with the derived shared secret. Parameters: sharedSecret (string), plaintext (string)
Decrypt messages using SJCL AES-CCM with the shared secret. Parameters: sharedSecret (string), iv (string), ct (string)