Skip to content

CLI and TUI advertise io.modelcontextprotocol/ui although they cannot render MCP Apps #2403

Description

@cliffhall

Problem

core/mcp/extensions.ts registers the MCP Apps extension (io.modelcontextprotocol/ui) as advertised by default, on the premise that "the Inspector always renders MCP Apps". InspectorClient applies that default in every client. The web client renders Apps, but the CLI (which has only the --app-info metadata probe) and the TUI cannot, and neither overrides the default.

Servers use the client's extension advertisement to decide whether to return an App. A server talking to the CLI or TUI can therefore send UI those clients cannot consume, which misrepresents the client under test.

Expected

Only a client that can render Apps advertises io.modelcontextprotocol/ui. The CLI and TUI should not advertise it by default. If metadata probing needs the server to believe Apps are supported, that should be an explicit opt-in flag.

Context

Found in Copilot review of #2401. The roadmap's §4 extension table records it as a compatibility gap.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv2Issues and PRs for v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions