使用chatglm网页沙盒连接本地MCP工具

让网页版AI也能直接通过MCP本地工具分析本地源码干活!

1. 直接下载 cloudflared

Invoke-WebRequest -Uri "https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.exe" -OutFile "C:\Users\Administrator\cloudflared.exe"

强制使用 http2 协议重启

C:\Users\Administrator\cloudflared.exe tunnel –url http://127.0.0.1:19207 –protocol http2

结果

连接确认结果

项目 状态
隧道 ✅ http2 模式注册成功(Registered tunnel connection)
MCP 握手 ✅ HTTP 200,会话已建立
工具列表 ✅ 共 29 个工具(读写源码、资源、模块、编译、联网搜索等)

其他可以支持网页端发起调用的

accio-ai.com,每日100积分
https://xinghuo.xfyun.cn/
https://bolt.new/
https://manus.im/每日300积分

发表评论

邮箱地址不会被公开。 必填项已用*标注