Skip to content

MCP resources: display content as markdown if their mime type is provided #261065

@samuelfernandez

Description

@samuelfernandez

MCP resources can define the mime type, which can be text/markdown. When they are displayed, for example from the MCP Resource Browser, they appear as raw text. It'd be ideal if code could be smart enough to detect that, and display the file as markdown with the appropriate format and coloring.

https://modelcontextprotocol.io/specification/2025-06-18/server/resources#resource-contents

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions