Watt Data Logo

MCP Resources let AI assistants read uploaded CSVs and workflow artifacts through the workflow:// URI scheme.

URI Format

workflow://{workflow_id}/{type}/{filename}
  • uploads/ — Files you uploaded via generate_upload_url
  • artifacts/ — Outputs generated by workflow tools (JSON, CSV, or Parquet)

Example:

workflow://550e8400-e29b-41d4-a716-446655440000/uploads/customers.csv

Listing Resources

Use resources/list with the workflow ID as cursor to discover all files in a workflow.

{ "method": "resources/list", "params": { "cursor": "550e8400-..." } }

Reading Resources

Use resources/read with a workflow:// URI.

{ "method": "resources/read", "params": { "uri": "workflow://550e8400-.../uploads/customers.csv" } }

CSV Sampling

Append query parameters to sample large CSVs without loading the entire file:

workflow://.../uploads/customers.csv?offset=0&limit=10
ParameterDefaultDescription
offset0Starting row (0-indexed)
limit10Max rows to return
formatcsvOutput format: csv, json, or jsonl

Artifact Format Selection

Access artifacts in different formats by changing the file extension:

workflow://.../artifacts/resolved_identities.json
workflow://.../artifacts/resolved_identities.csv
workflow://.../artifacts/resolved_identities.parquet

Parquet URIs return a presigned download URL. CSV and JSON artifacts also support sampling query parameters.


Related:

On this page