小型暗号化MCPサーバー
Express.js で構築されたモデル コンテキスト プロトコル サーバー。キー ペアの生成、共有秘密の導出、メッセージの暗号化/復号化などの暗号化ツールを提供します。
現在、次のURLから入手可能です: http://104.248.174.57/sse
Stanford Javascript Crypto Library (SJCL)を搭載
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 : 安全な通信のために秘密鍵と公開鍵から共有秘密を導出する
- encrypt : 派生した共有秘密鍵を使用して SJCL AES-CCM 暗号化を使用してメッセージを暗号化します。
- decrypt : 共有秘密鍵を使って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 -114TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server for AES encryption and decryption, supporting various modes, padding, and input/output formats for secure data handling.Last updated -14117TypeScriptMIT 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 -121PythonMIT 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 -74JavaScriptMIT License