docs: 新增 AI Agent 集成(MCP)说明
This commit is contained in:
@@ -58,6 +58,22 @@ agc run /tmp/output --suite-id <suite-id> --input key=value
|
||||
|
||||
`<suite-id>` 从市场 API 或前端页面获取。
|
||||
|
||||
|
||||
|
||||
## AI Agent 集成(MCP)
|
||||
|
||||
GIS Actions 支持 MCP(Model Context Protocol),AI Agent 可直接调用 GIS 工具:
|
||||
|
||||
```bash
|
||||
# 启动 MCP Server(stdio 模式,供 Claude Desktop 等本地 Agent 使用)
|
||||
agc mcp
|
||||
|
||||
# SSE 模式(HTTP,供远程 Agent 调用)
|
||||
agc mcp --transport sse --port 8080
|
||||
```
|
||||
|
||||
Agent 通过 MCP 协议自动发现可用套件并调用执行,无需人工介入。
|
||||
|
||||
## 数据流向
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user