chatlog icon indicating copy to clipboard operation
chatlog copied to clipboard

使用Cherry studio时候出现MCP服务器连接问题

Open TestRushB opened this issue 8 months ago • 3 comments

Image

查询了一下原因是因为请求本地5030端口返回的content-type是 Content-Type: text/event-stream; charset=utf-8 多了一个 charset=utf-8 请问下这个有办法解决吗

Image

TestRushB avatar Apr 24 '25 09:04 TestRushB

不是 Content-Type 的问题,在 CherryStudio 中请设置 http://127.0.0.1:5030/sse,看图中你没设置 /sse

sjzar avatar Apr 24 '25 09:04 sjzar

不是 Content-Type 的问题,在 CherryStudio 中请设置 http://127.0.0.1:5030/sse,看图中你没设置 /sse

请问作者,MCP tools相关工具定义是放在哪个文件的呀 想学习一下

haohaode11 avatar Apr 25 '25 09:04 haohaode11

请问作者,MCP tools相关工具定义是放在哪个文件的呀 想学习一下

在这个位置:https://github.com/sjzar/chatlog/blob/a745519/internal/chatlog/mcp/const.go 不过描述有点太长了,后续看如何精简一些。

sjzar avatar Apr 25 '25 17:04 sjzar