openapi-sdk icon indicating copy to clipboard operation
openapi-sdk copied to clipboard

MCP 停在这里十几分钟没有进度,如何debug卡在哪里?

Open xinmans opened this issue 8 months ago • 7 comments

Image

xinmans avatar May 06 '25 07:05 xinmans

怀疑是你访问 API 网络的问题,你试试往 env 里面加上 LONGPORT_REGION=cn

huacnlee avatar May 06 '25 07:05 huacnlee

怀疑是你访问 API 网络的问题,你试试往 env 里面加上 LONGPORT_REGION=cn

1, 我有梯子 2, 加了也是在转圈

xinmans avatar May 06 '25 07:05 xinmans

尝试加log,结果报错 "command": "/usr/local/bin/longport-mcp --log-dir=/var/log/longport-mcp",

Image

xinmans avatar May 06 '25 08:05 xinmans

你是不是没安装啊

你打开"终端",输入 /usr/local/bin/longport-mcp 试试?

如果没有安装,需要执行下面脚本安装一下:

curl -sSL https://raw.githubusercontent.com/longportapp/openapi/refs/heads/main/mcp/install | bash

也有可能 log 那个文件夹没创建,执行:

mkdir -p /var/log/longport-mcp

huacnlee avatar May 06 '25 08:05 huacnlee

你是不是没安装啊

你打开"终端",输入 /usr/local/bin/longport-mcp 试试?

如果没有安装,需要执行下面脚本安装一下:

curl -sSL https://raw.githubusercontent.com/longportapp/openapi/refs/heads/main/mcp/install | bash

也有可能 log 那个文件夹没创建,执行:

mkdir -p /var/log/longport-mcp

这些都做了的

xinmans avatar May 06 '25 09:05 xinmans

我刚才下载你这个 Cline 插件试了一下,是可以的用的,我是新安装的,用的免费版本。

Image

你可以检查看一下这里列出来 tools 没?如果有,那可能是 Cline 衔接或其他的问题,你要不试试其他的工具?

Image

huacnlee avatar May 07 '25 13:05 huacnlee

我刚才下载你这个 Cline 插件试了一下,是可以的用的,我是新安装的,用的免费版本。

Image

你可以检查看一下这里列出来 tools 没?如果有,那可能是 Cline 衔接或其他的问题,你要不试试其他的工具?

Image

第二张图里的都有的,我再看看cline的日志

xinmans avatar May 08 '25 12:05 xinmans

由于没有活动,此问题已关闭。如果您仍遇到此问题,请打开一个新问题并附上此问题的链接。 This issue was closed due to inactivity. If you still encounter this issue, please open a new issue and link to this issue. Thank you.

github-actions[bot] avatar Sep 15 '25 03:09 github-actions[bot]