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
This repo contains the SDK and specification for MCP Apps Extension ([SEP-1865](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1865)).
| draft | Development |[specification/draft/apps.mdx](https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx)|
54
+
|**draft**| Development |[specification/draft/apps.mdx](https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx)|
55
+
56
+
</div>
13
57
14
58
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.
15
59
@@ -28,34 +72,30 @@ MCP Apps extend the Model Context Protocol by letting tools declare UI resources
28
72
3.**Host renders** — The host fetches the resource and displays it in a sandboxed iframe
29
73
4.**Bidirectional communication** — The host passes tool data to the UI via notifications, and the UI can call other tools through the host
30
74
31
-
## Using the SDK
75
+
## Getting Started
32
76
33
-
This SDK serves two audiences:
34
-
35
-
### For App Developers
36
-
37
-
Build interactive UIs that run inside MCP-enabled chat clients.
77
+
```bash
78
+
npm install -S @modelcontextprotocol/ext-apps
79
+
```
38
80
39
-
-**SDK for Apps**: `@modelcontextprotocol/ext-apps` — [API Docs](https://modelcontextprotocol.github.io/ext-apps/api/modules/app.html)
**New here?** Start with the [Quickstart Guide](https://modelcontextprotocol.github.io/ext-apps/api/documents/Quickstart.html) to build your first MCP App.
41
82
42
-
### For Host Developers
83
+
##Using the SDK
43
84
44
-
Embed and communicate with MCP Apps in your chat application.
85
+
The SDK serves three roles: app developers building interactive Views, host developers embedding those Views, and MCP server authors registering tools with UI metadata.
45
86
46
-
-**SDK for Hosts**: `@modelcontextprotocol/ext-apps/app-bridge` — [API Docs](https://modelcontextprotocol.github.io/ext-apps/api/modules/app-bridge.html)
|`@modelcontextprotocol/ext-apps/app-bridge`| Embed and communicate with Views in your chat client |[API Docs →](https://modelcontextprotocol.github.io/ext-apps/api/modules/app-bridge.html)|
92
+
|`@modelcontextprotocol/ext-apps/server`| Register tools and resources on your MCP server |[API Docs →](https://modelcontextprotocol.github.io/ext-apps/api/modules/server.html)|
47
93
48
94
There's no _supported_ host implementation in this repo (beyond the [examples/basic-host](https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host) example).
49
95
50
96
The [MCP-UI](https://github.com/idosal/mcp-ui) client SDK offers a fully-featured MCP Apps framework used by a few hosts. Clients may choose to use it or roll their own implementation.
51
97
52
-
## Installation
53
-
54
-
```bash
55
-
npm install -S @modelcontextprotocol/ext-apps
56
-
```
57
-
58
-
### Install Agent Skills
98
+
## Agent Skills
59
99
60
100
This repository provides two [Agent Skills](https://agentskills.io/) for building MCP Apps. You can install the skills as a Claude Code plugin:
61
101
@@ -512,3 +552,7 @@ This configuration rebuilds each server on launch, ensuring your local changes a
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to get started, submit pull requests, and report issues.
0 commit comments