
leeroybrun/mcp-superassistant-proxy
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP (Model Context Protocol) では、複数の MCP サーバーを集約し、包括的なメモリリーク防止と信頼性の高い HTTP/SSE 輸送を実現します.
概要
MCP (Model Context Protocol) では、複数の MCP サーバーを包括的なメモリリーク防止と信頼性の高い HTTP/SSE トランスポートで集約します。 Chrome拡張機能やWebアプリケーションに最適です。 - - - 包括的なメモリリーク防止と自動クリーンアップ - 強力なエラー処理とリソース管理 - - HTTPとSSEサポート - - macOS、Linux、およびWindows上で動作します - メモリにキャッシュされずにデータパス - ブラウザ拡張コミュニケーションの最適化 - --config, -c : JSON 設定ファイルへのパス (以下を参照) - --port : ポート で HTTP サーバを実行 (デフォルト: 3006) - --log レベル : ログレベルを設定 (デフォルト: info) - --timeout : ミリ秒の接続タイムアウト (デフォルト: 30000) 実行すると、プロキシは: - : [http://localhost:]] /mcp - ストリーム可能なHTTPトランスポート(推奨) - : [http://localhost:]]]]) /sse - Server-Sentイベントトランスポート - : [[http://localhost:]] /health - サーバの状態を返します 設定ファイルはJSONファイルです...
概要(AI 翻訳)
MCP (Model Context Protocol) では、複数の MCP サーバーを集約し、包括的なメモリリーク防止と信頼性の高い HTTP/SSE 輸送を実現します。 Chrome拡張機能やWebアプリケーションに最適です。
記述の特徴:
- ️️ Memory-Safe - 包括的なメモリリーク防止と自動クリーンアップ -** ⚡ Bulletproof** - エラー処理とリソース管理の強力なエラー -** バックアップマルチトランスポート** - HTTP および SSE のサポートで最大の互換性 -******** クロスプラットフォーム** - macOS、Linux、Windowsで動作します -データのフロー最適化 - メモリにキャッシュされずにデータが通過
- ** 参照Chromeの延長準備** - ブラウザの延長コミュニケーションのために最大限に活用される
インストールと使用
クイックスタート
推奨セットアップ
##Clip オプション
- [
--config, -c:(必須) JSON 設定ファイルへのパス(以下参照) - [
--port: HTTPサーバをオンに実行するポート (デフォルト: [3006]))) - [
--logLevel: ログレベルを設定 (デフォルト: [info])) - [
--timeout:ミリ秒内の接続タイムアウト (デフォルト:30000))
利用可能なエンドポイント
実行すると、プロキシは次のようにします。
- モダンHTTP:
http://localhost: /mcp- ストリーミング可能なHTTPトランスポート(推奨)
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP SuperAssistant Proxy
A bulletproof proxy server for MCP (Model Context Protocol) that aggregates multiple MCP servers with comprehensive memory leak prevention and reliable HTTP/SSE transport. Perfect for Chrome extensions and web applications.
🚀 Features:
- 🛡️ Memory-Safe - Comprehensive memory leak prevention and automatic cleanup
- ⚡ Bulletproof - Robust error handling and resource management
- 🌐 Multi-Transport - HTTP and SSE support for maximum compatibility
- 🔧 Cross-Platform - Works on macOS, Linux, and Windows
- 📊 Data Flow Optimization - Data passes through without being cached in memory
- 🎯 Chrome Extension Ready - Optimized for browser extension communication
Installation & Usage
Quick Start
# Install globally for easy access
npm install -g @leeroy/mcp-superassistant-proxy
# Or run directly with npx
npx -y @leeroy/mcp-superassistant-proxy@latest --config config.json --port 3006
Recommended Setup
# Create config directory
mkdir -p ~/.mcp-superassistant
# Create your config file
echo '{"mcpServers": {}}' > ~/.mcp-superassistant/config.json
# Run the proxy
mcp-superassistant-proxy --config ~/.mcp-superassistant/config.json --port 3006
CLI Options
--config, -c: (required) Path to a JSON configuration file (see below)--port: Port to run the HTTP server on (default:3006)--logLevel: Set logging level (default:info)--timeout: Connection timeout in milliseconds (default:30000)
Available Endpoints
When running, the proxy exposes:
- Modern HTTP:
http://localhost:/mcp- Streamable HTTP transport (recommended) - Legacy SSE:
http://localhost:/sse- Server-Sent Events transport - Health Check:
http://localhost:/health- Returns server status
Configuration File
The configuration file is a JSON file specifying which MCP servers to connect to. Each server can be either a stdio-based server (run as a subprocess) or a remote HTTP/SSE server.
Example config.json
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
"env": {}
},
"notion": {
"command": "npx",
"args": ["-y", "@suekou/mcp-notion-server"],
"env": {
"NOTION_API_TOKEN": ""
}
},
"remote-server": {
"url": "https://your-remote-mcp-server.com/mcp"
},
"desktop-commander": {
"command": "npx",
"args": ["-y", "@wonderwhy-er/desktop-commander"]
}
}
}
Configuration Options
- For stdio servers: Use
command,args, and optionallyenv - For remote servers: Use
urlpointing to the MCP endpoint - Each key under
mcpServersis a unique name for the server
Memory Safety & Reliability
This proxy is designed to be bulletproof with comprehensive memory leak prevention:
インストール
npx -y @modelcontextprotocol/server-filesystem /tmp設定
# Create config directory
mkdir -p ~/.mcp-superassistant
# Create your config file
echo '{"mcpServers": {}}' > ~/.mcp-superassistant/config.json
# Run the proxy
mcp-superassistant-proxy --config ~/.mcp-superassistant/config.json --port 3006