BuildingAI icon indicating copy to clipboard operation
BuildingAI copied to clipboard

导入MCP JSON错误,不能有附加属性

Open luchatex opened this issue 1 year ago • 3 comments

ERROR JSON格式验证失败: mcpServers/add-doc-link/type: must NOT have additional properties; mcpServers/add-doc-link/headers: must NOT have additional properties 目前mcp还不支持验证功能无法导入带属性的mcp { "mcpServers": { "mcp_name": { "url": "https://url", "type": "streamableHttp", "headers": { "Authorization": "bearer xxx-xxxx-xxxx-xxxx" } } } }

luchatex avatar Aug 28 '25 08:08 luchatex

感谢反馈!这个问题确实存在,我已经将其加入到计划排期,将在后续版本进行优化。

CatKeee avatar Aug 29 '25 01:08 CatKeee

MCP默认使用streamablehttp,SSE已确定未来将会淘汰了

luchatex avatar Sep 04 '25 09:09 luchatex

截至目前,SSE依然被广泛使用,但在合适的时机我们会更新为默认以Streamable HTTP为主并向下兼容SSE

CatKeee avatar Sep 05 '25 01:09 CatKeee