mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-19 14:48:58 +08:00
feat: add MCP tool and web UI management
This commit is contained in:
10
README.md
10
README.md
@@ -200,6 +200,16 @@ user -> main -> worker -> main -> user
|
||||
|
||||
完整示例见 [config.example.json](/Users/lpf/Desktop/project/clawgo/config.example.json)。
|
||||
|
||||
## MCP 服务支持
|
||||
|
||||
ClawGo 现在支持通过 `tools.mcp` 接入 `stdio` 型 MCP server。
|
||||
|
||||
- 先在 `config.json -> tools.mcp.servers` 里声明 server
|
||||
- 当前支持 `list_servers`、`list_tools`、`call_tool`、`list_resources`、`read_resource`、`list_prompts`、`get_prompt`
|
||||
- 启动时会自动发现远端 MCP tools,并注册为本地工具,命名格式为 `mcp__<server>__<tool>`
|
||||
|
||||
示例配置可直接参考 [config.example.json](/Users/lpf/Desktop/project/clawgo/config.example.json) 中的 `tools.mcp` 段落。
|
||||
|
||||
## Prompt 文件约定
|
||||
|
||||
推荐把 agent prompt 独立为文件:
|
||||
|
||||
Reference in New Issue
Block a user