You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,17 @@ This repo contains the SDK and [specification](https://github.com/modelcontextpr
6
6
7
7
MCP Apps are a proposed standard inspired by [MCP-UI](https://mcpui.dev/) and [OpenAI's Apps SDK](https://developers.openai.com/apps-sdk/) to allow MCP Servers to display interactive UI elements in conversational MCP clients / chatbots.
8
8
9
+
## How It Works
10
+
11
+
MCP Apps extend the Model Context Protocol to let servers deliver **interactive UIs** to MCP hosts. Here's how it works:
12
+
13
+
1.**Tool call** — The LLM calls a tool on your server
14
+
2.**UI Resource** — The tool's definition links to a predeclared `ui://` resource containing its HTML interface
15
+
3.**Host renders** — The host fetches the resource and displays it in a sandboxed iframe
16
+
4.**Bidirectional communication** — The host passes tool data to the UI via notifications, and the UI can call other tools through the host
17
+
18
+
This enables dashboards, forms, visualizations, and other rich experiences inside chat interfaces.
Copy file name to clipboardExpand all lines: docs/quickstart.md
+34-26Lines changed: 34 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,12 @@ A simple app that fetches the current server time and displays it in a clickable
15
15
16
16
## Prerequisites
17
17
18
-
-Node.js 18+
18
+
-Familiarity with MCP concepts, especially [Tools](https://modelcontextprotocol.io/docs/learn/server-concepts#tools) and [Resources](https://modelcontextprotocol.io/docs/learn/server-concepts#resources)
19
19
- Familiarity with the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk)
20
+
- Node.js 18+
21
+
22
+
> [!TIP]
23
+
> New to building MCP servers? Start with the [official MCP quickstart guide](https://modelcontextprotocol.io/docs/develop/build-server) to learn the core concepts first.
0 commit comments