-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue
The current MCP Apps SEP proposes to use clientCapabilities?.extensions. However, extensions is not a valid object in clientCapabilities in accordance with the MCP spec. Instead, we should be using clientCapabilities?.experimental. This is consistent with the official MCPClient spec and SDK.
See ClientCapabilities in the MCP spec here.
Existing
The existing initialize message uses extensions. Example:
{
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {
"extensions": {
"io.modelcontextprotocol/ui": {
"mimeTypes": ["text/html;profile=mcp-app"]
}
}
},
"clientInfo": {
"name": "claude-desktop",
"version": "1.0.0"
}
}
}
Solution
Instead, we should be using capabilities?.experimental:
{
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {
"experimental": { // Fix here
"io.modelcontextprotocol/ui": {
"mimeTypes": ["text/html;profile=mcp-app"]
}
}
},
"clientInfo": {
"name": "claude-desktop",
"version": "1.0.0"
}
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request