modelcontextprotocol / modelcontextprotocol/java-sdk

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

Abierto
#780 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

enhancement waiting for triage
Lenguaje dominante
Java
Estrellas
3.7k
Forks
1.1k
Merge medio
1 d 15 h
PR fusionados (30 d)
9

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Lee la especificación de MCP Apps en ext-apps/specification/2026-01-26/apps.mdx, compárala con la implementación de TypeScript e inspecciona el manejo de resultados de herramientas y capabilities en Java SDK v0.17.2. Se considera completado cuando Java SDK tenga una implementación acordada para detectar las capabilities de Apps, exponer los datos de recursos de UI y admitir cualquier mensaje de protocolo de Apps requerido.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
api, backend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.