modelcontextprotocol / modelcontextprotocol/java-sdk
Feature Request: Support for MCP Apps Extension (UI capabilities)
还没有人认领这个 Issue。
- 主要语言
- 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:
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 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