🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@srbhptl39/mcp-superassistant-proxy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@srbhptl39/mcp-superassistant-proxy

Run MCP SuperAssistant over SSE or visa versa

0.0.6
latest
npm
Version published
Weekly downloads
1.2K
168.27%
Maintainers
1
Weekly downloads
 
Created
Source

MCP SuperAssistant Proxy

MCP SuperAssistant Proxy lets you run multiple MCP stdio-based and SSE-based servers and expose them through a single SSE endpoint. This allows MCP SuperAssistant and other tools to connect to multiple remote MCP servers and tools via a unified proxy.

Installation & Usage

Run MCP SuperAssistant Proxy via npx:

npx -y @srbhptl39/mcp-superassistant-proxy@latest --config path/to/config.json

CLI Options

  • --config, -c <path>: (required) Path to a JSON configuration file (see below)
  • --port <number>: Port to run the proxy server on (default: 3006)
  • --baseUrl <url>: Base URL for SSE clients (default: http://localhost:<port>)
  • --ssePath <path>: Path for SSE subscriptions (default: /sse)
  • --messagePath <path>: Path for SSE messages (default: /message)
  • --logLevel <info|none>: Set logging level (default: info)
  • --cors: Enable CORS (default: true)
  • --healthEndpoint <path>: One or more endpoints returning "ok" (can be used multiple times)
  • --timeout <ms>: Connection timeout in milliseconds (default: 30000)

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 an SSE-based server (remote URL).

Example config.json

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@suekou/mcp-notion-server"],
      "env": {
        "NOTION_API_TOKEN": "<your_notion_token_here>"
      }
    },
    "gmail": {
      "url": "https://mcp.composio.dev/gmail/xxxx"
    },
    "youtube-subtitle-downloader": {
      "command": "bun",
      "args": [
        "run",
        "/path/to/mcp-youtube/src/index.ts"
      ]
    },
    "desktop-commander": {
      "command": "npx",
      "args": ["-y", "@wonderwhy-er/desktop-commander"]
    },
    "iterm-mcp": {
      "command": "npx",
      "args": ["-y", "iterm-mcp"]
    }
  }
}
  • Each key under mcpServers is a unique name for the server.
  • For stdio-based servers, specify command, args, and optionally env.
  • For SSE-based servers, specify url.

Endpoints

Once started, the proxy exposes:

  • SSE endpoint: GET http://localhost:<port>/sse
  • POST messages: POST http://localhost:<port>/message

(You can customize the paths with --ssePath and --messagePath.)

Example

  • Create a config file (e.g., config.json) as shown above.
  • Run MCP SuperAssistant Proxy:
    npx -y @srbhptl39/mcp-superassistant-proxy@latest --config config.json --port 3006
    

Why MCP?

Model Context Protocol standardizes how AI tools exchange data. If your MCP server only speaks stdio, MCP SuperAssistant Proxy exposes an SSE-based interface so remote clients (and tools like MCP Inspector or Claude Desktop) can connect without extra server changes. It also allows you to aggregate multiple MCP servers behind a single endpoint.

Advanced Configuration

MCP SuperAssistant Proxy is designed with modularity in mind:

  • Supports both stdio and SSE MCP servers in one config.
  • Automatically derives the JSON‑RPC version from incoming requests, ensuring future compatibility.
  • Package information (name and version) is retransmitted where possible.
  • Stdio-to-SSE mode uses standard logs and SSE-to-Stdio mode logs via stderr (as otherwise it would prevent stdio functionality).
  • The SSE-to-SSE mode provides automatic reconnection with backoff if the remote server connection is lost.
  • Health endpoints can be added for monitoring.

For more details, see the Model Context Protocol documentation.

Keywords

mcp

FAQs

Package last updated on 18 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts