You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# roteiro-agent
2
2
3
-
MCP (Model Context Protocol) server for [Roteiro](roteiro.io) — a spatial data platform. Enables AI agents (Claude Desktop, VS Code, Cursor) to work with geospatial datasets, run geoprocessing operations, execute PostGIS queries, and more.
3
+
MCP (Model Context Protocol) server for Roteiro, a spatial data platform. Enables AI agents (Claude Desktop, VS Code, Cursor) to work with geospatial datasets, run geoprocessing operations, execute SQL, and more.
4
4
5
5
## Installation
6
6
@@ -41,9 +41,9 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
|`kernel_density`| Density estimation |`bandwidth`, `cell_size`|
66
-
67
-
Use `list_operations` to get the full list with parameter schemas.
46
+
Use `run_process` for single operations or `run_pipeline` for chains.
47
+
48
+
Always call `list_operations` first to fetch the live server operation catalog and parameter names. The current server supports a broad set including vector ops (`buffer`, `clip`, `intersect`, `difference`, `dissolve`, `sjoin`), geometry conversion (`centroid`, `convex_hull`, `feature_to_point`, `points_to_line`), stats (`spatial_stats`, `morans_i`, `hotspot`, `kernel_density`), interpolation (`interpolate_idw`, `ordinary_kriging`), validation (`validate`, `make_valid`, `validate_topology`), and optimization (`solve_vrp`, `p_median`, `mclp`).
49
+
50
+
Important parameter names for common ops:
51
+
-`clip` uses `mask`
52
+
-`sjoin` uses `right` and `predicate`
53
+
-`reproject` uses `from_crs` and `to_crs`
54
+
-`dissolve` uses `group_by`
55
+
56
+
Use `list_analysis_operations` for advanced analysis catalog endpoints under `/api/analysis/operations`.
68
57
69
58
## Data Catalog & STAC
70
59
@@ -115,7 +104,7 @@ GROUP BY r.name ORDER BY count DESC
Copy file name to clipboardExpand all lines: mcp/tools.go
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ func AllTools() []Tool {
108
108
},
109
109
{
110
110
Name: "run_process",
111
-
Description: "Run a single geoprocessing operation on a dataset. Operations include: buffer, clip, simplify, reproject, centroid, convex_hull, intersection, union, difference, sjoin, dissolve, voronoi, spatial_stats, morans_i, hotspot, kernel_density, and more.",
111
+
Description: "Run a single geoprocessing operation on a dataset via /api/process. Use list_operations first to discover the live operation catalog and parameter names on the connected server.",
112
112
InputSchema: InputSchema{
113
113
Type: "object",
114
114
Properties: map[string]PropertySchema{
@@ -303,6 +303,11 @@ func AllTools() []Tool {
303
303
Description: "List all available geoprocessing operations with their parameter schemas. Useful for discovering what operations are supported and what parameters they accept.",
304
304
InputSchema: InputSchema{Type: "object"},
305
305
},
306
+
{
307
+
Name: "list_analysis_operations",
308
+
Description: "List all available advanced analysis operations from /api/analysis/operations.",
309
+
InputSchema: InputSchema{Type: "object"},
310
+
},
306
311
{
307
312
Name: "browse_catalog",
308
313
Description: "Browse the built-in data catalog to discover available datasets for import. Supports text search and category filtering.",
0 commit comments