Skip to content

capture_live_filter 等工具未在 content 中返回结构化数据,导致 Cursor 等 MCP 客户端无法使用 #3

Description

@yan-xuan55

问题概述

部分 MCP 工具(尤其是 capture_live_filtercapture_live_get_by_id)在 content 里只返回人类可读的摘要,真正可用的数据却只在 structuredContent 中。在 CursorTrae 等主要读取 content 的客户端里,这些工具实际上无法正常使用。

MCP 规范依据

根据 MCP Tools 规范 - Structured Content

为向后兼容,返回 structured content 的工具 SHOULD 同时在 TextContent 中返回序列化后的 JSON。
当前实现不符合该建议。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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