cngstorytelling-mcp
v2.15.0MCP Server for CNG Sandbox: agent-driven story creation and data exploration
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_datasets
List all datasets in the workspace with metadata (ID, type, bounds, CRS).
read_story
Get story metadata and chapters by story ID.
| Parameter | Type | Description |
|---|---|---|
story_id * | string | Story ID |
create_story
Create a new story with a title, description, and chapters.
| Parameter | Type | Description |
|---|---|---|
chapters * | array | List of chapter objects with title, text, dataset_id, map_state, layer_config |
description * | string | |
title * | string |
update_story
Update an existing story's title, description, or chapters.
| Parameter | Type | Description |
|---|---|---|
story_id * | string | |
updates * | object | Fields to update |
read_connections
List external tile source connections (COG, PMTiles, XYZ URLs).
create_connection
Create a new external tile source connection (zarr, cog, pmtiles, xyz_raster, xyz_vector, geoparquet, copc).
| Parameter | Type | Description |
|---|---|---|
connection_type * | string | One of: zarr, cog, pmtiles, xyz_raster, xyz_vector, geoparquet, copc |
name * | string | Display name for the connection |
url * | string | URL or S3 URI for the tile source |
band_count | integer | |
bounds | array | [west, south, east, north] bounding box |
config | object | Additional tiler config |
geozarr_attrs | object | GeoZarr-spec attributes |
max_zoom | integer | |
min_zoom | integer | |
rescale | string | Rescale range as 'min,max' |
tile_type | string | Tile image format (e.g. png, webp) |
validate_layer_config
Validate a layer configuration (dataset + colormap + rescale range) before creating a chapter.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | |
color_mode | string | Point-cloud (copc) coloring mode; use instead of colormap |
colormap | string | |
rescale_max | number | |
rescale_min | number |
get_job_status
Get the status of a conversion job by job ID (pending/converting/ready/failed).
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
ingest_url
Ingest a remote geospatial file (GeoTIFF, GeoJSON, Shapefile .zip, NetCDF, HDF5, LAS/LAZ point clouds) into a dataset. Waits for conversion to finish and returns the dataset ID.
| Parameter | Type | Description |
|---|---|---|
url * | string | HTTP(S) or S3 URL of the file |
timeout | number | Max seconds to wait (default 600) |
wait | boolean | Wait for conversion (default true) |
discover_remote
List geospatial files at a remote URL or S3 prefix before connecting them.
| Parameter | Type | Description |
|---|---|---|
url * | string |
connect_remote_temporal
Register remote COGs as a temporal (date-stepped, time-slider) or mosaic dataset. Discovers files at the URL if an explicit file list is not given; waits for the job to finish.
| Parameter | Type | Description |
|---|---|---|
url * | string | URL or S3 prefix |
files | array | Optional explicit [{url, filename}] list; discovered from url if omitted |
mode | string | 'temporal' or 'mosaic' (default temporal) |
timeout | number |
upload_story_asset
Upload a local image or CSV file as a story asset (for image chapters and CSV chart chapters). Returns the asset ID and URL.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to a local image or CSV file |
kind * | string | 'image' or 'csv' |
story_id | string | Optional story to attach the asset to |
update_connection_colormap
Set the preferred colormap for a raster connection (cog/xyz_raster/raster pmtiles).
| Parameter | Type | Description |
|---|---|---|
colormap * | string | |
connection_id * | string | |
reversed | boolean |
update_connection_categories
Update category labels/colors for a categorical connection. categories: [{value:int, label?:str, color?:'#RRGGBB'}].
| Parameter | Type | Description |
|---|---|---|
categories * | array | |
connection_id * | string |
delete_connection
Delete an external tile source connection by ID.
| Parameter | Type | Description |
|---|---|---|
connection_id * | string |
export_story_interactive
Build and download a story's self-contained interactive HTML bundle (.zip) to a local path. Stories with zarr layers or scrolly chapters needing snapshots return an error.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | Local path to write the .zip |
story_id * | string |