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>
This commit is contained in:
Anton Pidkuiko MacBook 2025-11-21 19:32:46 +00:00
commit bd5a34ba07
No known key found for this signature in database

View file

@ -47,7 +47,7 @@ const getServer = async () => {
uri: "ui://vanilla",
title: "Vanilla UI Template",
description: "A simple vanilla JS UI",
mimeType: "text/html",
mimeType: "text/vnd.mcp.ui+html",
};
server.registerResource(
@ -89,7 +89,7 @@ const getServer = async () => {
uri: "ui://react",
title: "React UI Template",
description: "A React-based UI",
mimeType: "text/html",
mimeType: "text/vnd.mcp.ui+html",
};
server.registerResource(