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>
This commit is contained in:
parent
f96c526e7f
commit
c65006acb4
1 changed files with 13 additions and 13 deletions
|
|
@ -47,7 +47,7 @@ const getServer = async () => {
|
|||
uri: "ui://vanilla",
|
||||
title: "Vanilla UI Template",
|
||||
description: "A simple vanilla JS UI",
|
||||
mimeType: "text/vnd.mcp.ui+html",
|
||||
mimeType: "text/html+mcp",
|
||||
};
|
||||
|
||||
server.registerResource(
|
||||
|
|
@ -89,7 +89,7 @@ const getServer = async () => {
|
|||
uri: "ui://react",
|
||||
title: "React UI Template",
|
||||
description: "A React-based UI",
|
||||
mimeType: "text/vnd.mcp.ui+html",
|
||||
mimeType: "text/html+mcp",
|
||||
};
|
||||
|
||||
server.registerResource(
|
||||
|
|
|
|||
Loading…
Reference in a new issue