docs: 新增 AI Agent 集成(MCP)说明

This commit is contained in:
2026-07-19 12:24:04 +00:00
parent aa0465ea23
commit 6ce1409013
+16
View File
@@ -58,6 +58,22 @@ agc run /tmp/output --suite-id <suite-id> --input key=value
`<suite-id>` 从市场 API 或前端页面获取。 `<suite-id>` 从市场 API 或前端页面获取。
## AI Agent 集成(MCP
GIS Actions 支持 MCPModel Context Protocol),AI Agent 可直接调用 GIS 工具:
```bash
# 启动 MCP Serverstdio 模式,供 Claude Desktop 等本地 Agent 使用)
agc mcp
# SSE 模式(HTTP,供远程 Agent 调用)
agc mcp --transport sse --port 8080
```
Agent 通过 MCP 协议自动发现可用套件并调用执行,无需人工介入。
## 数据流向 ## 数据流向
``` ```