Skip to content

Extension declaration for MCP Apps #777

@ymmt2005

Description

@ymmt2005

The MCP Apps extension denotes that a client supporting MCP Apps should declare its capability as follows.

ref. https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx#clientserver-capability-negotiation

{
  "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"
    }
  }
}

However, ClientCapabilities does not have a field for extensions, so we cannot implement a client that supports MCP Apps extension.

Similarly, MCP servers built with this SDK cannot verify client capabilities in extensions.

Metadata

Metadata

Assignees

Labels

help wantedContributions welcome from those familiar with codebase. Comment first to say you're working on itready for workHas enough information to start

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions