modelcontextprotocol / modelcontextprotocol/java-sdk
Feature Request: Support for MCP Apps Extension (UI capabilities)
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 3.7k
- フォーク
- 1.1k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 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:
- Detect App capabilities from server responses (when a tool returns UI metadata)
- Parse and expose App-related data structures (UI resource declarations, iframe URLs, etc.)
- Support the extended protocol for Apps-related messages if any backend changes are required
Questions
- Is MCP Apps support planned for the Java SDK? If so, is there an estimated timeline or roadmap?
- What would be required to implement this? Are there specific protocol changes, new data structures, or APIs that need
to be added? - 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. - 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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100