Skip to content

UI does not show structured content for tools #1991

Description

@michaelboyles

Which version line?

v2 — current (@modelcontextprotocol/inspector@latest)

Which client?

Web

Inspector version

2.0.0

Node version

v24.11.0

Operating system (and browser, for the web client)

No response

Transport

Streamable HTTP

MCP server under inspection

Server: Custom
Protocol era: Legacy
OAuth: no

Steps to reproduce

Call a tool which returns structured content. Only the text content is shown. You need to dig into messages to see structured content.

Image

A tool which only returns structured content with no text content says "No results yet" which I originally assumed meant the request was still in-flight.

Image

Expected behavior

Show the structured content in the "Results" section, preferably as pretty printed JSON

Actual behavior

See above

Logs, errors, or screenshots

No response

Already prototyped a fix?

No response

Before you submit

  • I searched existing issues and this is not a duplicate.
  • This is not a security vulnerability report (those go through the private advisory process).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions