modelcontextprotocol / modelcontextprotocol/java-sdk

Feature Request: Support for MCP Apps Extension (UI capabilities)

未關閉
#780 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

enhancement waiting for triage
主要語言
Java
星號
3.7k
分支
1.1k
平均合併
1 天 15 小時
30 天內合併 PR
9

描述

Background

The MCP Apps extension was announced on January 26, 2026, bringing
interactive UI capabilities to the Model Context Protocol. This extension allows MCP servers to return rich, interactive user
interfaces (dashboards, forms, visualizations, etc.) that render directly in client applications.

According to the official blog post, MCP Apps enable
servers to deliver UIs through sandboxed iframes with bidirectional communication via JSON-RPC over postMessage.

Current Status

Currently, MCP Apps support appears to be available only in the TypeScript/JavaScript SDK
(@modelcontextprotocol/ext-apps). The Java SDK (v0.17.2 and earlier releases) does not appear to include support for the
Apps extension.

Use Case

We are building an MCP client application (MiniClaw) in Java using Spring Boot and the official Java MCP SDK (v0.17.2). We
would like to support MCP Apps to enable our users to interact with rich UIs provided by MCP servers, such as:

  • Interactive data visualizations (charts, maps, 3D models)
  • Multi-step forms and workflows
  • Real-time dashboards and monitoring interfaces
  • Document viewers and editors

Our frontend is built with Vue.js, and we're prepared to implement the client-side AppBridge integration. However, we need
the Java SDK to:

  1. Detect App capabilities from server responses (when a tool returns UI metadata)
  2. Parse and expose App-related data structures (UI resource declarations, iframe URLs, etc.)
  3. Support the extended protocol for Apps-related messages if any backend changes are required

Questions

  1. Is MCP Apps support planned for the Java SDK? If so, is there an estimated timeline or roadmap?
  2. What would be required to implement this? Are there specific protocol changes, new data structures, or APIs that need
    to be added?
  3. Can we contribute? If this is not currently prioritized, would the maintainers be open to community contributions?
    We'd be happy to help implement this feature.
  4. Workarounds? In the meantime, are there any recommended approaches for Java-based MCP clients to handle Apps responses
    from servers?

Additional Context

  • Java SDK version in use: v0.17.2
  • Client architecture: Spring Boot 3.4.5 + Vue.js 3 frontend
  • We've reviewed the TypeScript implementation and AppBridge documentation
  • We understand the client-side UI rendering will be handled in our frontend, but need backend SDK support for protocol
    handling

References

Thank you for maintaining this excellent SDK! We appreciate any guidance or updates on this feature request.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

閱讀 ext-apps/specification/2026-01-26/apps.mdx 中的 MCP Apps 規範,將其與 TypeScript 實作進行比較,並檢查 Java SDK v0.17.2 對工具結果和 capabilities 的處理。完成的標準是 Java SDK 已就偵測 Apps capabilities、公開 UI 資源資料,以及支援任何必要的 Apps 協定訊息達成一致的實作方案。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
api, backend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。