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:
parent
7d38af9bbb
commit
bd5a34ba07
1 changed files with 10 additions and 10 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue