Add UI to MCP Server
Enriches existing Model Context Protocol (MCP) server tools with interactive frontend user interfaces using the MCP Apps SDK.
Add UI to MCP Server guides developers through enhancing text-only MCP servers with interactive, sandboxed HTML interfaces powered by the @modelcontextprotocol/ext-apps SDK. It helps evaluate existing tools to determine UI suitability, sets up single-file Vite build pipelines, converts standard tools to App tools with structured content, and implements host theme synchronizations and app-only helper tools while maintaining seamless text-only fallbacks.
Key Features
01Registers app-only helper tools for UI polling, pagination, and backend coordination
020 GitHub stars
03Configures Vite single-file bundling for inline HTML app resource delivery
04Evaluates existing MCP tools to identify candidates for interactive UI visualization
05Synchronizes host themes, CSS variables, and dynamic safe area insets
06Converts standard MCP tools into App tools while preserving text-only fallback compatibility
Use Cases
01Adding real-time charting or system metric visualizations to infrastructure management tools
02Embedding document, PDF, or map renderers directly inside supported MCP chat host clients
03Transforming tabular data or search output from an MCP tool into an interactive, filterable web view