EE

eastlondoner/emceepee

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 4 forks 品質 70 トレンド 10MIT

MCP サーバーは、MCP サーバーを動的に接続し、MCP プロトコル全体をツール呼び出して公開します.

概要

ほとんどのMCPクライアントは、起動時にサーバーに接続するだけです。 新しいサーバーのミッドセッションに接続したいですか? すべてを再起動します。 MCPには、リソース、プロンプト、通知、サンプリング、エリシエーションが豊富な機能がありますが、多くのクライアントはツールのみを実行します。 これらの機能? アクセス可能。 MCP プロトコル全体をツールとして公開するプロキシです。 ツールコールをサポートするクライアントは、次のことができます。 - 動的に新しいMCPサーバーに接続します(HTTPまたはstdio) - MCPサーバープロセスを自動クラッシュリカバリーでスモールドし、管理します - リソースとリソーステンプレートへのアクセス - プロンプト - 通知とログを受け取る (ソースフィルタリング付き) - ハンドルサンプリングリクエスト(双方向LLM呼び出し) - ハンドルのエリクテーション(ユーザー入力リクエスト) 「[http://localhost:3001/mcpに接続して、何ができるかを表示」 LLM は、Emceepee のツールを使用して、サーバーに接続、探索、およびやり取りを行います。 emceepee は、決して変化しないものを公開します.

概要(AI 翻訳)

いつでもMCPサーバーに接続します。 ツールを介してフルMCPプロトコルにアクセスします。

なぜ?

Problem 1: 静的な接続。 ほとんどのMCPクライアントは、起動時にサーバーに接続するだけです。 新しいサーバーのミッドセッションに接続したいですか? すべてを再起動します。

Problem 2: 不完全なプロトコルのサポート。 MCP には、リソース、プロンプト、通知、サンプリング、エリシエーションが豊富な機能がありますが、多くのクライアントはツールのみを実行します。 これらの機能? アクセス可能。

emceepeeは両方を解決します。 MCP プロトコル全体をツールとして公開するプロキシです。 ツールコールをサポートするクライアントは、次のことができます。

  • 動的に新しいMCPサーバーに接続します(HTTPまたはstdio)
  • MCP サーバープロセスを自動クラッシュリカバリーでスモーンし、管理
  • リソースとリソーステンプレートへのアクセス
  • プロンプトを使用する
  • 通知とログを受け取る(ソースフィルタリング付き)
  • ハンドルサンプリングリクエスト(双方向LM呼び出し)
  • ハンドルのelicitations (ユーザーの入力要求)

クイックスタート

##1. MCPクライアントに追加

クロードコード/クロードデスクトップ ([.mcp.json])):

その他のクライアント — HTTPサーバーのポイント:

##2. サーバーのミッドセッションに接続する

あなたのLMを尋ねて下さい:

「http://localhost:3001/mcp に接続して、何ができるかを表示」

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

emceepee

Connect to any MCP server, anytime. Access the full MCP protocol through tools.

npx emceepee

Why?

Problem 1: Static connections. Most MCP clients only connect to servers at startup. Want to connect to a new server mid-session? Restart everything.

Problem 2: Incomplete protocol support. MCP has rich features—resources, prompts, notifications, sampling, elicitations—but many clients only implement tools. Those features? Inaccessible.

emceepee solves both. It’s a proxy that exposes the entire MCP protocol as tools. Any client that supports tool calling can now:

  • Connect to new MCP servers dynamically (HTTP or stdio)
  • Spawn and manage MCP server processes with automatic crash recovery
  • Access resources and resource templates
  • Use prompts
  • Receive notifications and logs (with source filtering)
  • Handle sampling requests (bidirectional LLM calls)
  • Handle elicitations (user input requests)

Quick Start

1. Add to your MCP client

Claude Code / Claude Desktop (.mcp.json):

{
  "mcpServers": {
    "emceepee": {
      "command": "npx",
      "args": ["emceepee"]
    }
  }
}

Other clients — point to the HTTP server:

npx emceepee-http  # runs on http://localhost:8080/mcp

2. Connect to servers mid-session

Ask your LLM:

“Connect to http://localhost:3001/mcp and show me what it can do”

The LLM will use emceepee’s tools to connect, explore, and interact with the server.


How It Works

┌────────────┐     ┌───────────┐     ┌──────────────┐
│ MCP Client │────▶│ emceepee  │────▶│ MCP Server 1 │
│            │     │           │     └──────────────┘
│ (tools     │◀────│  (proxy)  │────▶┌──────────────┐
│   only)    │     │           │     │ MCP Server 2 │
└────────────┘     └───────────┘     └──────────────┘

emceepee exposes a static set of tools that never change. These tools provide access to the full MCP protocol, letting any tool-capable client use features it doesn’t natively support.

Server Transports

emceepee supports two transport types for connecting to backend MCP servers:

HTTP/SSE Transport

Connect to remote MCP servers over HTTP with Server-Sent Events:

add_server(name: "myserver", url: "http://localhost:3001/mcp")

Stdio Transport (Process Management)

Spawn and manage MCP servers as child processes communicating via stdin/stdout:

add_server(name: "myserver", command: "node", args: ["server.js"])

Stdio features:

  • Automatic crash recovery with exponential backoff restart
  • Stderr capture for debugging (exposed via get_logs with source: "stderr")
  • Lifecycle events for monitoring process state
  • Configurable restart behavior (max attempts, delays, backoff multiplier)
GitHub で README 全文を見る

インストール

npx emceepee
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "emceepee": { "command": "npx", "args": ["emceepee"] } } }