OM

olahulleberg/mcpc

Developer tools

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

35 stars 6 forks 品質 52 トレンド 12MIT

MCP(Model-Context-Protocol) への拡張機能により、LMS と既存の MCP 輸送によるツール間の双方向非同期通信が可能で、追加のトランスポート層は必要ありません.

概要

MCPC は、LM ツールの相互作用における重要な制限を解決する MCP (Model-Context-Protocol) への拡張です。 既存のMCP輸送を通したLMSとツールの両立を容易にします。また、完全な後方互換性を維持しながら、追加の輸送層は必要ありません。 MCPC は MCP プロトコルに代わりません。 既存のMCPインフラを構築し、標準のMCP実装との完全な互換性を維持しながら、リアルタイム双方向通信機能を追加します.

概要(AI 翻訳)

MCPC は、LM ツールのインタラクションにおける重要な制限を解決する MCP (Model-Context-Protocol) への拡張です。** ツールのバックグラウンドタスクを実行している間、継続的な会話を関連付けます**。 これは、既存のMCP輸送を介してLMSとツール間の非同期双方向通信を容易にします - 完全な後方互換性を維持しながら、追加の輸送層は必要ありません。

#MCPCとは?

MCPC は、MCP プロトコルに extension* です。 既存のMCPインフラを構築し、標準のMCP実装との完全な互換性を維持しながら、リアルタイム双方向通信機能を追加します。

MCPCはLMツールのインタラクションにおける重要な制限を解決します。バックグラウンドタスクを実行している間、連続双方向の通信をエンタブル:

  • 同じMCP輸送を使用してLLMとツール間の双方向通信
  • ツール実行時にLMSとの継続的な会話
  • 背景プロセスからのリアルタイム更新
  • 操作が完了したときに非同期通知
  • ストリーミング更新で無期限にタスクを実行するためのサポート

互換性のマトリックス

###特徴

| 特集 | ステータス | ノート |

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

README

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

MCPC - Model Context Protocol Callback

MCPC is an extension to MCP (Model-Context-Protocol) that solves a critical limitation in LLM tool interactions: enabling continued conversations while running tools background tasks. It facilitates asynchronous two-way communication between LLMs and tools through the already existing MCP transport - no additional transport layer needed, while maintaining full backward compatibility.

What is MCPC?

MCPC is an extension to the MCP protocol, not a replacement. It builds upon the existing MCP infrastructure to add real-time two-way communication capabilities while maintaining full compatibility with standard MCP implementations.

MCPC solves a critical limitation in LLM tool interactions: enabling continuous two-way communication while running background tasks:

  • Bidirectional communication between LLMs and tools using the same MCP transport
  • Continuous conversation with LLMs during tool execution
  • Real-time updates from background processes
  • Asynchronous notifications when operations complete
  • Support for indefinitely running tasks with streaming updates

Compatibility Matrix

Features

Feature Status Notes
STDIO Transport ✅ Implemented Full support for standard input/output transport
SSE Transport ✅ Implemented Full support for standard input/output transport
MCPC Client → Standard MCP Server ✅ Implemented Full backward compatibility
Standard MCP Client → MCPC Server ✅ Implemented Automatic fallback to synchronous results

Frameworks

Framework Status Notes
FastMCP 😎 ✅ Implemented Recommended
Standard MCP SDK Server ✅ Implemented Works (Use FastMCP if you can)

Quick Installation

# With UV (recommended)
uv add mcpc

# With pip
pip install mcpc

Basic Client Usage

# Initialize the MCPC handler
mcpc_handler = MCPCHandler("my-provider")

# Define your event listener function
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →