MCP.so
ログイン

MultiServerMCP MCP Server

@arrenxxxxx

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

arrenxxxxx

MultiServerMCP MCP Server について

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

MultiServerMCP MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MultiServerMCP MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MultiServerMCP?

MultiServerMCP is a multi-connection MCP (Model Context Protocol) server framework based on SSE for long-connection communication. It provides context and functional extension capabilities for AI assistants and is designed for developers building MCP servers that support multiple client connections simultaneously.

How to use MultiServerMCP?

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.

Key features of MultiServerMCP

  • 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

Use cases of MultiServerMCP

  • Building an MCP server that serves concurrent AI assistant clients with isolated tool access
  • Implementing permission‑based tool groupings where different URL groups grant different capabilities
  • Creating a centralized MCP server that manages resources, tools, and prompts for multiple connected agents
  • Developing long‑running assistant environments that require persistent SSE connections and session context

よくある質問

1

What does MultiServerMCP offer beyond a standard MCP server?

It adds multi‑client support via SSE, URL‑based tool grouping for permission management, a global `SessionManager` for accessing client context anywhere in the code, and built‑in heartbeat to maintain stable connections.

2

What are the runtime requirements?

The framework is a Node.js package (TypeScript‑friendly) and requires a runtime that supports the MCP SDK. It is typically used with Node.js 18+ and TypeScript.

3

What transport modes are supported?

Currently only SSE (Server‑Sent Events) mode is supported. Other transports like stdio are not available.

4

How can I access client request parameters or session context?

Use the global functions `getSseReqQuery(sessionId)` to get SSE connection query parameters, or `getClientContextBySessionId(sessionId)` to retrieve the full client context (including URL groups). These are accessible anywhere after obtaining the sessionId.

5

Does MultiServerMCP integrate with specific AI platforms?

The README does not specify any particular AI platform integration. It is a generic MCP server framework designed to be used with any MCP‑compatible AI assistant or client.

コメント

「その他」の他のコンテンツ