Skip to content

Commit 2f2daa0

Browse files
committed
update docs
1 parent 73fdd12 commit 2f2daa0

2 files changed

Lines changed: 20 additions & 30 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# roteiro-agent
22

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.
44

55
## Installation
66

@@ -41,9 +41,9 @@ Add to `~/Library/Application Support/Claude/claude_desktop_config.json`:
4141
```json
4242
{
4343
"mcpServers": {
44-
"cairn": {
44+
"roteiro": {
4545
"command": "roteiro-agent",
46-
"args": ["--server-url", "https://your-cairn-instance.com", "--api-key", "cairn_abc123"]
46+
"args": ["--server-url", "https://your-roteiro-instance.com", "--api-key", "roteiro_abc123"]
4747
}
4848
}
4949
}
@@ -56,9 +56,9 @@ Add to `.vscode/mcp.json`:
5656
```json
5757
{
5858
"servers": {
59-
"cairn": {
59+
"roteiro": {
6060
"command": "roteiro-agent",
61-
"args": ["--server-url", "http://localhost:8080", "--api-key", "cairn_abc123"]
61+
"args": ["--server-url", "http://localhost:8080", "--api-key", "roteiro_abc123"]
6262
}
6363
}
6464
}
@@ -71,9 +71,9 @@ Add to `.mcp.json`:
7171
```json
7272
{
7373
"mcpServers": {
74-
"cairn": {
74+
"roteiro": {
7575
"command": "roteiro-agent",
76-
"args": ["--server-url", "http://localhost:8080", "--api-key", "cairn_abc123"]
76+
"args": ["--server-url", "http://localhost:8080", "--api-key", "roteiro_abc123"]
7777
}
7878
}
7979
}
@@ -105,6 +105,7 @@ Add to `.mcp.json`:
105105
| `compute_route_matrix` | Origin-destination time/distance matrix |
106106
| `compute_service_area` | Distance-based service area polygons |
107107
| `list_operations` | Available geoprocessing operations |
108+
| `list_analysis_operations` | Available advanced analysis operations |
108109
| `browse_catalog` | Browse the built-in data catalog |
109110
| `browse_catalog_enhanced` | Browse enhanced catalog with filters |
110111
| `get_catalog_entry` | Get enhanced catalog entry by ID |

SKILL.md

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,17 @@ Queries must be SELECT-only (read-only).
4343

4444
## Geoprocessing Operations
4545

46-
Use `run_process` for single operations or `run_pipeline` for chains. Available operations include:
47-
48-
| Operation | Description | Key Parameters |
49-
|-----------|-------------|----------------|
50-
| `buffer` | Create buffer around features | `distance` (meters) |
51-
| `clip` | Clip features by a mask | `clip_dataset` |
52-
| `simplify` | Reduce geometry complexity | `tolerance` |
53-
| `reproject` | Change coordinate system | `target_crs` (e.g. "EPSG:4326") |
54-
| `centroid` | Calculate centroids ||
55-
| `convex_hull` | Convex hull of features ||
56-
| `intersection` | Intersect two datasets | `overlay_dataset` |
57-
| `union` | Union two datasets | `overlay_dataset` |
58-
| `difference` | Subtract one dataset from another | `overlay_dataset` |
59-
| `sjoin` | Spatial join | `join_dataset`, `predicate` |
60-
| `dissolve` | Merge features by attribute | `by` (field name) |
61-
| `voronoi` | Voronoi polygons ||
62-
| `spatial_stats` | Descriptive statistics ||
63-
| `morans_i` | Spatial autocorrelation | `attribute` |
64-
| `hotspot` | Getis-Ord Gi* hotspot analysis | `attribute` |
65-
| `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`.
6857

6958
## Data Catalog & STAC
7059

@@ -115,7 +104,7 @@ GROUP BY r.name ORDER BY count DESC
115104
{
116105
"steps": [
117106
{"operation": "buffer", "input": "schools", "params": {"distance": 1000}},
118-
{"operation": "intersection", "params": {"overlay_dataset": "residential_zones"}}
107+
{"operation": "intersect", "params": {"mask": "residential_zones"}}
119108
]
120109
}
121110
```

0 commit comments

Comments
 (0)