Coupler.io MCP by usefulapi

v1.1.1
io.usefulapi/coupler-io Checked 2 days ago Published 1 hour ago

Read data flows and datasets; run read-only SQL on dataset rows in Coupler.io.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

coupler_list_workspaces List workspaces

List the Coupler.io workspaces this token can access. Start here: each workspace id is the workspace_id for the other tools. Pass it as a string, for example '123'. Coupler.io API: GET /v1/workspaces.

coupler_list_dataflows List data flows

List the data flows in a workspace, with id, name, last successful run time and last successful execution id. Returns at most 200, most recent successful run first. Coupler.io API: GET /v1/workspaces/{workspace_id}/dataflows.

ParameterTypeDescription
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.

coupler_get_dataflow Get a data flow

Get one data flow: its schedule (cron, or null), its sources with state and error details, and its last successful execution id. Coupler.io API: GET /v1/workspaces/{workspace_id}/dataflows/{id}.

ParameterTypeDescription
dataflow_id *stringThe data flow id (from the list tools).
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.

coupler_list_datasets List datasets

List the datasets in a workspace with their state and whether row data is queryable. Use it to find the dataset_id for coupler_query_dataset. Returns at most 200, newest successful run first. Coupler.io API: GET /v1/workspaces/{workspace_id}/datasets.

ParameterTypeDescription
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.
dataflow_idstringFilter by parent dataflow id.
namestringFilter by dataset name.
querystringFree-text search over dataset names and columns.
sourcestringFilter by source type, for example a connector name.

coupler_get_dataset Get a dataset

Get one dataset: its state, queryable flag, last error, row count, visible columns, the SQL query for custom SQL datasets, and its AI context. To read its rows, use coupler_query_dataset (the rows are in the table `data`). Coupler.io API: GET /v1/workspaces/{workspace_id}/datasets/{id}.

ParameterTypeDescription
dataset_id *stringThe dataset id (from the list tools).
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.

coupler_query_dataset Query a dataset

Run one read-only SELECT on the latest successful run of a dataset (DuckDB SQL). Read the rows from the table named data. Returns at most 10,000 rows with a truncated flag; aggregate or add LIMIT for complete results. Times out after 60 seconds. On the hosted server, results over about 50,000 characters are shortened, and the result then carries a note. Coupler.io API: POST /v1/workspaces/{workspace_id}/datasets/{id}/query.

ParameterTypeDescription
dataset_id *stringThe dataset id (from the list tools).
statement *stringA single SELECT statement in DuckDB SQL. Read the dataset rows from the table `data`.
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.

coupler_list_dataset_snapshots List dataset snapshots

List the latest successful snapshot of each dataset in a workspace: row count, last run time and last_dataset_snapshot_id. Pass last_dataset_snapshot_id (not the dataset id) to coupler_get_dataset_snapshot. Returns at most 200. Coupler.io API: GET /v1/workspaces/{workspace_id}/dataset_snapshots.

ParameterTypeDescription
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.
dataflow_idstringFilter by parent dataflow id.
namestringFilter by dataset name.
querystringFree-text search over dataset names and columns.
sourcestringFilter by source type, for example a connector name.

coupler_get_dataset_snapshot Get a dataset snapshot

Get one dataset snapshot: its visible columns (key, label, dbName, schema) and its AI context. Coupler.io API: GET /v1/workspaces/{workspace_id}/dataset_snapshots/{id}.

ParameterTypeDescription
snapshot_id *stringlast_dataset_snapshot_id from coupler_list_dataset_snapshots (not the dataset id).
workspace_id *stringWorkspace id as a string, for example '123'. From coupler_list_workspaces, where the id is a number.