Skip to content

Option to return structured content #689

@OrKoN

Description

@OrKoN

Is your feature request related to a problem? Please describe.

Currently, the MCP server only returns text/markdown responses. To enable interoperability with out tools, we should have an option to enable structured responses.

Describe the solution you'd like

We could leverage structured content in the MCP server to provide JSON data alongside the text representation https://modelcontextprotocol.io/specification/2025-11-25/server/tools#structured-content

Describe alternatives you've considered

  • returning JSON in the text content chunks of the MCP
  • providing a library interface to get JSON data

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions