Repository navigation
v0.3.4 — MCP Client 工具集成
MCP Client — Goby can now call external MCP servers. Connect Tavily, GitHub, Supabase and more.
🇺🇸 English
- MCP tools integration — Goby agent loop loads tools from configured Streamable HTTP MCP servers and presents them alongside native tools.
mcp__{serverName}__{toolName}naming, sorted after native tools. - Settings panel UI — New "MCP Servers" tab. Add/edit/delete server configs (name, endpoint, Bearer token). Server-level toggle. Auto-connection verification with status display.
- Vanilla JS MCP client (
lib/mcp-client.js) — 200 lines, Streamable HTTP (JSON-RPC 2.0 over HTTP/SSE). No SDK deps. 15s timeout. - SW integration —
importScriptsloads in Service Worker. 2 new handlers (mcp-list-tools,mcp-call-tool). - 62 new tests covering client, CRUD, SW handlers, CS integration, UI. All passing.
🇨🇳 中文
MCP Client —— Goby 现在能调外部 MCP server 了。连接 Tavily、GitHub、Supabase。
- MCP 工具集成 — Goby agent 循环从 Streamable HTTP MCP server 加载工具,与内置工具合并。命名
mcp__{serverName}__{toolName},排在原生工具之后。 - 设置面板 UI — 新增「MCP Servers」标签页。添加/编辑/删除配置。Server 级开关。保存时自动验证连接状态。
- Vanilla JS MCP 客户端(
lib/mcp-client.js)— 200 行,Streamable HTTP。无 SDK 依赖。15s 超时。 - SW 集成 —
importScripts加载到 Service Worker。新增 2 个 handler。 - 62 个新测试全部通过。