MultiServerMCP

by arrenxxxxx

1 stars
295 downloads
Not rated
GitHub

About

To resolve the SSE MCP SDK server's lack of multiple connection support.

Details

Author
arrenxxxxx
GitHub stars
1
Downloads
295
Categories
Other

- Supports multiple client connections to a single server in SSE mode
- Tool and permission management by URL grouping
- Built‑in heartbeat mechanism for connection stability
- Simplified tool registration process with full MCP protocol compatibility
- Global session management via SessionManager singleton
- Convenient global functions to retrieve request parameters and client context by sessionId

Install via npm install multi-server-mcp (or yarn/pnpm), then create a server instance with new MultiServerMCP({ name, version }), register tools/resources/prompts using .tool(), .resource(), .prompt(), and start with .start({ transportType: 'sse' }). Currently only SSE transport is supported.

MultiServerMCP

A multi-connection MCP server framework based on SSE for long-connection communication. Provides context and functional extension capabilities for AI assistants.
Currently only supports SSE mode.

License: MIT
English
中文简体

🚀 MultiServerMCP — Enable AI assistants with extended capabilities through multi-connection server framework!

MultiServerMCP is designed to provide a robust server framework that supports multiple client connections to a single server, allowing for efficient tool and permission management for AI assistants.

🌟 Main Features

- Support for multiple client connections to a single server in SSE mode
- Tool and permission management by URL grouping
- Built-in heartbeat mechanism to ensure connection stability
- Simplified tool registration process
- Full compatibility with MCP protocol
- Global session management with SessionManager to access client context anywhere
- Convenient global functions to retrieve request parameters and client context by sessionId

📦 Installation

```bash
npm install multi-server-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.