開始使用
連接代理程式
TerraLab 是透過 Streamable HTTP 運作的遠端 MCP 伺服器。同一個網址適用於所有代理程式:
https://mcp.terra-lab.ai/mcp
第一次使用時,你的代理程式會請你登入 TerraLab。你的免費呼叫與餘額會顯示在 儀表板,MCP。
Claude
開啟已預先填好的對話框:將 TerraLab 加入 Claude。按 Add,再按 Connect,然後登入 TerraLab。
或在 Claude 中開啟 Settings、Connectors、Add custom connector,貼上伺服器網址。
ChatGPT
開啟 ChatGPT 中的 TerraLab 應用程式,按 Add,然後在訊息開頭輸入 @TerraLab。
Claude Code
在終端機中執行:
claude mcp add --transport http terralab https://mcp.terra-lab.ai/mcp
接著在 Claude Code 中執行 /mcp,並登入 TerraLab。現成的 GIS 工作流程以 plugin 形式提供:
/plugin marketplace add TerraLabAI/mcp
/plugin install terralab@terralab-ai-apps
Codex
codex mcp add terralab --url https://mcp.terra-lab.ai/mcp
Codex 會加入伺服器,並在瀏覽器中開啟 TerraLab 登入頁。之後在 CLI、IDE 擴充功能和應用程式中都能使用。~/.codex/config.toml 中的對應設定如下:
[mcp_servers.terralab]
url = "https://mcp.terra-lab.ai/mcp"
Cursor
開啟安裝連結:將 TerraLab 加入 Cursor。Cursor 會顯示這個伺服器:按 Install,並在提示時登入。
或在 Cursor 的 MCP 設定中新增遠端伺服器,位置在 .cursor/mcp.json:
{
"mcpServers": {
"terralab": { "url": "https://mcp.terra-lab.ai/mcp" }
}
}
VS Code
開啟安裝連結:將 TerraLab 加入 VS Code。按 Install,登入 TerraLab,然後在 agent 模式下詢問 Copilot。
或寫在 .vscode/mcp.json:
{
"servers": {
"terralab": { "type": "http", "url": "https://mcp.terra-lab.ai/mcp" }
}
}
其他代理程式
在任何支援遠端 MCP 伺服器的代理程式中,加入上面的網址即可;它會開啟 TerraLab 登入頁。Gemini CLI:
gemini mcp add --transport http -s user terralab https://mcp.terra-lab.ai/mcp
工具
伺服器提供 29 個工具。每個工具都在 API 參考中說明其參數並附上請求範例:MCP 工具與 REST endpoint 使用相同的名稱和引數。
- Places: Find places and addresses, Convert coordinates, Measure distance, area, radius or buffer
- Map data: Extract open map data for an area, Open, map and convert GIS data, Buffer, merge, clip or simplify features
- Terrain and routes: Elevation, profile and contour lines, Road route between places, Area reachable in a travel time
- Imagery and land: Satellite image of an area, Forest type (natural, planted, plantation), Estimate the population of an area
- France: French cadastral parcel and zoning, French building heights, Natural risks at an address or a point
- Data catalog: Find a dataset in the TerraLab catalogue, Extract a hosted dataset for an area, Ask TerraLab to add data it does not have
可以問什麼
- 「找出這 40 個地址的座標,並給我一份 QGIS 可用的 CSV。」
- 「把安錫車站周圍 1 km 內的建物和道路擷取成 GeoPackage。」
- 「從霞慕尼到南針峰的高程剖面。」
- 「安錫和平街 12 號有哪些自然災害風險?」
如果代理程式支援,答案會在聊天中顯示地圖,並提供可在 QGIS、ArcGIS 或 Google Earth 中開啟的檔案。
疑難排解
更新於 2026-10-27