LM

leeroybrun/mcp-superassistant-proxy

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

11 stars 5 forks 품질 52 트렌드 8

MCP (Model Context Protocol)에 대한 ** bulletproof 프록시 서버 ** 종합 메모리 누출 방지 및 신뢰할 수있는 HTTP / SSE 운송과 함께 여러 MCP 서버를 구성합니다.

개요

MCP (Model Context Protocol)에 대한 포괄적 인 메모리 누출 방지 및 신뢰할 수있는 HTTP / SSE 운송과 여러 MCP 서버를 구성합니다. Chrome 확장 및 웹 애플리케이션에 적합합니다. - - 포괄적인 메모리 누출 방지 및 자동 정리 - - Robust 오류 처리 및 자원 관리 - - 최대 호환성을위한 HTTP 및 SSE 지원 - macOS, Linux 및 Windows에서 작동 - 메모리에서 캐시되지 않고 데이터 패스 - - 브라우저 확장 통신에 최적화 --config, -c : JSON 구성 파일 경로 (아래 참조) --port : HTTP 서버를 실행하는 포트 (기본값 : 3006) --log 레벨 : 로깅 레벨 설정 (기본값 : 정보) - --timeout : 밀리 초 (기본값 : 30000)의 연결 타임 아웃 실행할 때 프록시 노출: - : http://localhost: /mcp - 스트리밍 HTTP 전송 (권장) - : http://localhost: /sse - Server-Sent Events transport - : http://localhost: /health - 서버 상태를 반환 구성 파일은 JSON 파일입니다 ...

개요(AI 번역)

MCP (Model Context Protocol)에 대한 ** bulletproof 프록시 서버 ** 종합 메모리 누출 방지 및 신뢰할 수있는 HTTP / SSE 운송과 함께 여러 MCP 서버를 구성합니다. Chrome 확장 및 웹 애플리케이션에 적합합니다.

** ♨ 특징:** -** Comprehensive️ Memory-Safe** - 종합 메모리 누출 방지 및 자동 세척

  • ** ** - Robust 오류 처리 및 자원 관리
  • ** 다중 전송 ** - HTTP 및 SSE 지원
  • ** 교차 플랫폼 ** - macOS, Linux 및 Windows에서 작동합니다. -** - Data Flow Optimization** - 메모리에서 캐시되지 않고 데이터 패스 -** - Chrome Extension Ready** - 브라우저 확장 통신 최적화

임명 & 사용법

빠른 시작

추천 설정

CLI 옵션

  • --config, -c : (필수) JSON 설정 파일 경로 (아래 참조)
  • --port : HTTP 서버를 실행하는 포트 (과태: 3006)
  • --logLevel : 로깅 레벨 설정 (기본값: info)
  • --timeout : 밀리세컨트롤(기본값: 30000)

사용 가능한 엔드포인트

실행할 때, 프록시 노출:

  • Modern 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
# 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 optionally env
  • For remote servers: Use url pointing to the MCP endpoint
  • Each key under mcpServers is a unique name for the server

Memory Safety & Reliability

This proxy is designed to be bulletproof with comprehensive memory leak prevention:

GitHub에서 전체 README 보기

설치

npx -y @modelcontextprotocol/server-filesystem /tmp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

# 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