MCP.so
ログイン

MCP Server Server

@MCP-Mirror

基本情報

カテゴリ

その他

トランスポート

stdio

作者

MCP-Mirror

MCP Server Server について

Mirror of

#mcp-server#websocket#server-communication

MCP Server Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "rgarcia_mcp-server-server": {
      "command": "bun",
      "args": [
        "run",
        "mcp-server",
        "-p",
        "3001",
        "--",
        "npx",
        "-y",
        "@modelcontextprotocol/server-puppeteer@latest"
      ]
    }
  }
}

MCP Server Server のツール

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

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

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

概要

What is mcp-server-server?

A proof-of-concept MCP server wrapper that converts stdio-based MCP servers into websocket servers, allowing programmatic interaction over the network without spawning subprocesses.

How to use mcp-server-server?

Run the wrapper with bun run mcp-server -p <port> -- <mcp-server-command> (e.g., bun run mcp-server -p 3001 -- npx -y @modelcontextprotocol/server-puppeteer@latest). Then connect using WebSocketClientTransport from the MCP SDK.

Key features of mcp-server-server

  • Wraps any stdio MCP server as a websocket server.
  • Eliminates process management in MCP clients.
  • Enables network-based MCP server communication.
  • Simple CLI with port and server command parameters.
  • Works with all existing stdio MCP servers.

Use cases of mcp-server-server

  • Programmatically interact with MCP servers without spawning processes.
  • Test MCP servers in code using WebSocketClientTransport.
  • Simplify MCP server integration into web applications or services.

よくある質問

1

What does mcp-server-server do?

It takes a stdio MCP server command and exposes it as a websocket server, so clients can connect over the network instead of managing subprocesses.

2

What transport does it use?

WebSocket transport. Clients connect using `WebSocketClientTransport` from the MCP SDK.

3

What are the runtime dependencies?

Bun is required to run the wrapper. The client side uses the MCP SDK (`@modelcontextprotocol/sdk`) and Node.js/Bun.

4

Is this ready for production?

No, this is a proof of concept. Multi-user configuration support (step 3) is marked as TODO.

5

How do I connect to the wrapped server?

Use the MCP Client with `WebSocketClientTransport` pointing to the websocket URL (e.g., `ws://localhost:3001`).

コメント

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