Serving MCP Apps: gaps for embedding mcptools in other frameworks (tracking)

オープン
#115 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
r
領域
api, backend

調査の方向性

まず、リンクされているサブ issue #116–#120 と、shiny-mcp-app-protocol ブランチにある R/mcp-server.R、R/mcp-tunnel.R、R/mcp-stdio.R のリファレンス実装を確認します。独立したスコープを持つプロトコルの不足箇所を 1 つ選び、対応する mcptools のエントリポイントを追跡します。選択した不足箇所が実装され、その動作が関連するテストでカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Shiny is growing experimental support for serving apps as MCP Apps (SEP-1865): an MCP endpoint mounted on the app's own httpuv server whose ui:// resource renders the live app in the host's sandboxed iframe.

The original plan was to build that endpoint on {mcptools}. That wasn't possible with v1.0.0 / current dev, so shiny currently carries a minimal internal JSON-RPC endpoint. This issue collects the gaps as sub-issues so the implementations can converge — ideally shiny (and other embedders like plumber) could eventually delegate protocol handling to {mcptools}.

Each sub-issue is independently useful; none is MCP-Apps-specific except the tool _meta one.

Shiny's internal implementation (a reference for what embedders need): R/mcp-server.R, R/mcp-tunnel.R, R/mcp-stdio.R on the schloerke/shiny-mcp-app-protocol branch.

Parts

  • #116 (resources/list + resources/read)
  • #117 (tool _meta in tools/list)
  • #118 (async tool handlers via promises)
  • #119 (embeddable JSON-RPC dispatch)
  • #120 (non-blocking stdio serving)
主要言語
R
スター
207
フォーク
24
平均マージ
36分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/mcptools のほかの issue

posit-dev/mcptools の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。