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 viagenerate_upload_urlartifacts/— Outputs generated by workflow tools (JSON, CSV, or Parquet)
Example:
workflow://550e8400-e29b-41d4-a716-446655440000/uploads/customers.csvListing 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| Parameter | Default | Description |
|---|---|---|
offset | 0 | Starting row (0-indexed) |
limit | 10 | Max rows to return |
format | csv | Output 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.parquetParquet URIs return a presigned download URL. CSV and JSON artifacts also support sampling query parameters.
Related: