cngstorytelling-mcp

v2.15.0
cngstorytelling-mcp Checked 23 hours ago Published 4 months ago

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

ParameterTypeDescription
story_id *stringStory ID

create_story

Create a new story with a title, description, and chapters.

ParameterTypeDescription
chapters *arrayList 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.

ParameterTypeDescription
story_id *string
updates *objectFields 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).

ParameterTypeDescription
connection_type *stringOne of: zarr, cog, pmtiles, xyz_raster, xyz_vector, geoparquet, copc
name *stringDisplay name for the connection
url *stringURL or S3 URI for the tile source
band_countinteger
boundsarray[west, south, east, north] bounding box
configobjectAdditional tiler config
geozarr_attrsobjectGeoZarr-spec attributes
max_zoominteger
min_zoominteger
rescalestringRescale range as 'min,max'
tile_typestringTile image format (e.g. png, webp)

validate_layer_config

Validate a layer configuration (dataset + colormap + rescale range) before creating a chapter.

ParameterTypeDescription
dataset_id *string
color_modestringPoint-cloud (copc) coloring mode; use instead of colormap
colormapstring
rescale_maxnumber
rescale_minnumber

get_job_status

Get the status of a conversion job by job ID (pending/converting/ready/failed).

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

ParameterTypeDescription
url *stringHTTP(S) or S3 URL of the file
timeoutnumberMax seconds to wait (default 600)
waitbooleanWait for conversion (default true)

discover_remote

List geospatial files at a remote URL or S3 prefix before connecting them.

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

ParameterTypeDescription
url *stringURL or S3 prefix
filesarrayOptional explicit [{url, filename}] list; discovered from url if omitted
modestring'temporal' or 'mosaic' (default temporal)
timeoutnumber

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.

ParameterTypeDescription
file_path *stringAbsolute path to a local image or CSV file
kind *string'image' or 'csv'
story_idstringOptional story to attach the asset to

update_connection_colormap

Set the preferred colormap for a raster connection (cog/xyz_raster/raster pmtiles).

ParameterTypeDescription
colormap *string
connection_id *string
reversedboolean

update_connection_categories

Update category labels/colors for a categorical connection. categories: [{value:int, label?:str, color?:'#RRGGBB'}].

ParameterTypeDescription
categories *array
connection_id *string

delete_connection

Delete an external tile source connection by ID.

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

ParameterTypeDescription
output_path *stringLocal path to write the .zip
story_id *string