File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,26 @@ npm i @cloudbase/cloudbase-mcp@latest -g
134
134
** 5. 尝试全局安装**
135
135
- 如果 npx 方式持续有问题,可以尝试[ 全局安装方式] ( #如何全局安装-cloudbase-ai-toolkit )
136
136
137
+ ** 6. 使用 inspector 工具验证 MCP 连接**
138
+ - 如果上述方法都无效,可以通过 inspector 工具进一步排查 MCP 是否正常:
139
+ ``` bash
140
+ npx @modelcontextprotocol/inspector npx @cloudbase/cloudbase-mcp@latest
141
+ ```
142
+ - 命令行会输出类似如下的网址:
143
+ ```
144
+ http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=8fbe0137d3bd77f0181a66a0ced8476283ba2b25927f2d3fd84492dfa1eb2199
145
+ ```
146
+ - 用浏览器打开该网址,填写如下信息:
147
+ - ** Command** 填写为 ` npx `
148
+ - ** Arguments** 填写为 ` @cloudbase/cloudbase-mcp@latest `
149
+ - 然后点击 ** Connect** 进行测试,需要等待安装和连接 MCP Server
150
+ - 如果测试 OK,说明 MCP 工具本身连接正常,问题可能出在客户端配置或环境。
151
+ - 如果连接失败,可以复制下方红色的错误信息,在 [ 社区 issue] ( https://cnb.cool/tencent/cloud/cloudbase/community/-/issues ) 提交问题,便于进一步排查。
152
+
137
153
一般情况下,在 MCP 列表中重新启用或刷新即可正常安装并显示工具。
138
154
155
+
156
+
139
157
---
140
158
141
159
### MCP 配置不生效怎么办?
You can’t perform that action at this time.
0 commit comments