Commit graph ext-apps/examples
Author SHA1 Message Date
Olivier Chafik
3df49c38dc
fix iframe resizing (#19)
* reshuffle build / start scripts

* fix resize logic

* prettier

* extract RESOURCE_URI_META_KEY constant

* Update message-transport.ts

* Update package.json
2025-11-25 02:39:33 +00:00
Olivier Chafik
c800b34635
format 2025-11-24 17:27:06 +00:00
Olivier Chafik
e4e7edf284
reshuffle, use -vanilla consistently 2025-11-24 16:59:41 +00:00
Olivier Chafik
24dd9691de
fix mcp sdk refs 2025-11-24 16:53:55 +00:00
Olivier Chafik
eab25b6821
serve.py -> server.ts 2025-11-24 16:52:05 +00:00
Olivier Chafik
3c438c29c4
Update example-host.ts 2025-11-24 16:26:57 +00:00
Olivier Chafik
1a4c0180eb
nit: rm unused type 2025-11-24 16:21:22 +00:00
Olivier Chafik
54a48a4a13
rename: AppRenderer 2025-11-24 16:20:45 +00:00
Olivier Chafik
d32e43aaf5
tweaks 2025-11-24 16:14:17 +00:00
Olivier Chafik
bc6458d3fb
tweaks 2025-11-24 16:12:55 +00:00
Olivier Chafik
14740aacea
fix build 2025-11-24 16:07:10 +00:00
Olivier Chafik
b738294458
fix build 2025-11-24 16:03:24 +00:00
Olivier Chafik
85816d80ce
Merge branch 'main' into ochafik/simple-host-example 2025-11-24 16:01:24 +00:00
Olivier Chafik
1f3bc52142
add simple-host example 2025-11-24 16:01:10 +00:00
Olivier Chafik
ac3863092a
setup notification handlers in App & AppBridge 2025-11-24 14:59:58 +00:00
ochafik
b6da14cefd update examples 2025-11-23 03:58:51 +00:00
ochafik
adc73e4fa6 simplify ui build 2025-11-23 03:27:46 +00:00
ochafik
00023ba3e9 npm run prettier:fix 2025-11-23 03:15:06 +00:00
ochafik
ec306a8698 add a raw (no sdk) UI 2025-11-23 03:14:19 +00:00
ochafik
5aa7f93a79 reference parent package in simple server 2025-11-23 02:38:55 +00:00
ochafik
d0a7c9b86a fix package lock of example, bump mcp sdk version 2025-11-23 02:36:24 +00:00
Anton Pidkuiko MacBook
c65006acb4
fix: use text/html+mcp mimeType format
Change from text/vnd.mcp.ui+html to text/html+mcp.

Rationale:
- It's an unregistered subtype, allowed for private use
- The +suffix form indicates MCP-specific semantics (postMessage protocol)
- Content is still valid HTML and can be rendered as-such
- Following RFC 6838, +mcp could be registered as an official suffix

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:38:19 +00:00
Olivier Chafik
ff7c2107e2
Merge branch 'main' of https://github.com/modelcontextprotocol/ext-apps 2025-11-21 20:24:26 +00:00
Olivier Chafik
6ea36fe5f3
use remote dep from example 2025-11-21 20:24:22 +00:00
Anton Pidkuiko MacBook
bd5a34ba07
fix: use consistent text/vnd.mcp.ui+html mimeType throughout
Replace all occurrences of text/html with text/vnd.mcp.ui+html
in the specification and example code for consistency.

The spec already defined text/vnd.mcp.ui+html in the capability
negotiation section but used text/html in other places.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:32:46 +00:00
Olivier Chafik
b20313a655
rm old examples 2025-11-21 14:12:45 +00:00
Olivier Chafik
60cf8ce176
update simple-server example 2025-11-21 13:33:57 +00:00
Olivier Chafik
697a7ac658
Add standalone Vite build for simple-react example
Replace custom build.ts dependency with standard Vite setup:
- package.json with Vite scripts (dev, build, preview)
- Use @modelcontextprotocol/ext-apps package imports
- Standard Vite project structure (index.html at root)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 12:59:41 +00:00
Olivier Chafik
92f42cf533
Initial commit 2025-11-21 11:56:27 +00:00