豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
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

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions