MCP Ext Apps
This is an example project that implements the MCP application extension specification, allowing the invocation of interactive HTML/JS user interfaces through MCP tools, including server - side and client - side demonstrations.
rating : 2.5 points
downloads : 5.9K
What are MCP Ext Apps?
MCP Ext Apps is an example project that implements the MCP Apps Extension (SEP - 1865) specification. It demonstrates how to create interactive HTML/JavaScript user interfaces through MCP tools. This project allows developers to build secure, sandboxed web applications in the MCP ecosystem, which can communicate with AI assistants and other clients through the standard MCP protocol.How to use MCP Ext Apps?
Using MCP Ext Apps is very simple: First, start the MCP server and the host client, and then select the available tools through the client interface. When a tool is invoked, it will return an HTML interface, which will be rendered in a secure sandbox iframe. Users can interact with the interface, and the interface communicates with the host through the JSON - RPC protocol.Use cases
MCP Ext Apps is suitable for the development of MCP tools that require visual interfaces, such as: data visualization dashboards, real - time monitoring panels, interactive configuration tools, chart generators, form editors, etc., in any scenario that requires a rich interactive experience through a web interface.Main Features
SEP - 1865 Specification Implementation
Fully implements the MCP Apps Extension specification, supporting the ui:// resource URI scheme and the text/html+mcp MIME type
Secure Sandbox Environment
All HTML interfaces run in iframes protected by a strict Content Security Policy (CSP) to ensure host security
Standardized Communication Protocol
Uses JSON - RPC 2.0 over postMessage for communication between the interface and the host to ensure reliable data exchange
Easy to Extend
Provides a clear architecture and example code to facilitate developers to add new tools and interfaces
Out - of - the - Box Examples
Includes example tools such as dashboard and clock to help developers get started quickly
Advantages
Standardization: Follows the official MCP extension specification to ensure compatibility with other MCP components
Security: A strict sandbox mechanism and CSP policy protect the host environment
Flexibility: Supports rich HTML/JavaScript interfaces to provide a good user experience
Ease of use: Simple installation and startup processes, suitable for rapid prototype development
Open source: Under the MIT license, allowing free use and modification
Limitations
Learning curve: Requires an understanding of the MCP protocol and the JSON - RPC communication mechanism
Performance overhead: iframe and postMessage communication may bring some performance overhead
Browser dependency: Mainly for the web environment, with limited support for pure command - line environments
Early stage: As an example implementation, more testing and optimization may be required in a production environment
How to Use
Environment Preparation
Ensure that Node.js and npm are installed on the system, and then clone or download the project code
Install Dependencies
Run the npm install command in the project directory to install all necessary dependency packages
Start the Service
Use the npm start command to start both the MCP server and the host client
Access the Interface
Open http://localhost:8080 in the browser, and you will see the host client interface
Use Tools
Select the available tools (such as dashboard or clock) in the sidebar and click to invoke
Interactive Experience
The HTML interface returned by the tool will be displayed in the main area, and you can interact with the interface
Usage Examples
Data Visualization Dashboard
Create a real - time data monitoring dashboard to display system performance indicators and charts
Real - Time Clock Application
Create a dynamic clock that displays the current time, supporting different time zones and formats
Configuration Editor
Provide a graphical configuration interface for MCP tools, making it easy for non - technical users to modify settings
Chart Generator
Dynamically generate various types of charts (bar charts, line charts, pie charts, etc.) based on input data
Frequently Asked Questions
What are MCP Ext Apps? How are they different from ordinary MCP tools?
What technologies do I need to learn to develop MCP Ext Apps?
Is MCP Ext Apps secure? Is there a risk of XSS attacks?
Can I deploy MCP Ext Apps to a production environment?
Which browsers does MCP Ext Apps support?
How to add new tools to MCP Ext Apps?
Related Resources
MCP Apps Extension Specification (SEP - 1865)
The official MCP Apps Extension specification document, which details technical details such as the ui:// scheme and the text/html+mcp type
Model Context Protocol Official Repository
The core repository of the MCP protocol, containing the protocol specification, reference implementation, and other extensions
MCP Ext Apps Example Code
The complete source code of this project, including all example tools and implementation details
JSON - RPC 2.0 Specification
The JSON - RPC 2.0 protocol specification, which MCP Ext Apps uses for communication
iframe Sandbox Security Guide
The detailed MDN documentation on the iframe sandbox attribute, explaining various security restriction options

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.6K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
18.6K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
28.6K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
55.4K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.3K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
52.5K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.3K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
36.7K
4.8 points

