Commit graph ext-apps/examples
Author SHA1 Message Date
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