微型加密 MCP 服务器
使用 Express.js 构建的模型上下文协议服务器,提供加密工具,包括密钥对生成、共享秘密派生和消息加密/解密。
现已开放:http:
由
什么是 MCP?
模型上下文协议 (MCP)是一个开放标准,定义了 AI 模型和工具如何通信。它实现了语言模型与外部功能之间的无缝互操作,使 AI 系统能够更有效地使用工具。MCP 标准化了模型请求信息和操作的方式,使构建包含多个组件的复杂 AI 应用程序变得更加容易。
特征
生成 SJCL P-256 密钥对
导出安全通信的共享秘密
使用 SJCL AES-CCM 加密消息
解密加密消息
用于实时通信的服务器发送事件 (SSE)
安装
环境变量
服务器使用以下环境变量:
PORT
:服务器运行的端口(默认值:3006)
发展
生产
API 端点
GET /sse
:使用服务器发送的事件连接到服务器POST /messages/:id
:向特定连接发送消息
工具
服务器提供以下加密工具:
generateKeyPair :生成新的 SJCL P-256 密钥对(不暴露私钥)
deriveSharedSecret :从私钥和公钥中获取共享秘密,以实现安全通信
加密:使用派生的共享密钥,使用 SJCL AES-CCM 加密对消息进行加密
解密:使用共享密钥的 SJCL AES-CCM 解密消息
连接到此 MCP 服务器的完整 Sonnet 3.7 LLM 线程示例:
系统消息:
消息
执照
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使用 Express.js 构建的模型上下文协议服务器,提供加密工具,包括密钥对生成、共享秘密派生和消息加密/解密。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA TypeScript-based template for developing Model Context Protocol servers with features like dependency injection and service-based architecture, facilitating the creation and integration of custom data processing tools.Last updated -114
- AsecurityAlicenseAqualityA Model Context Protocol server for AES encryption and decryption, supporting various modes, padding, and input/output formats for secure data handling.Last updated -14139MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.Last updated -122MIT License
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -75MIT License