datanika-mcp
v0.2.0Read-only-by-default MCP for Datanika: browse data, run dbt transforms, manage ELT pipelines.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_agent_tiers
Get the 5-tier agent capability stack — describes what the API can do.
get_connection_types
List all supported connection types with their config schemas.
list_connections
List all connections in the organization.
get_connection
Get details of a specific connection by ID.
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer |
introspect_connection
List schemas and tables of a source connection. Args: connection_id: The connection to introspect. schema: Optional schema name to filter tables.
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer | |
schema |
preview_connection
Preview the first N rows of a table from a source connection. Args: connection_id: The connection to query. table: Table name to preview. schema: Optional schema name. limit: Max rows to return (default 100).
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer | |
table * | string | |
limit | integer | |
schema |
query_connection
Execute a read-only SQL query against a source connection. Args: connection_id: The connection to query. query: A single SELECT statement (no mutations allowed).
| Parameter | Type | Description |
|---|---|---|
connection_id * | integer | |
query * | string |
compile_transformation
Compile a dbt transformation — resolves Jinja, ref(), source(). No execution. Args: transformation_id: The transformation to compile.
| Parameter | Type | Description |
|---|---|---|
transformation_id * | integer |
preview_transformation
Compile and execute a transformation, returning preview rows. Args: transformation_id: The transformation to preview. limit: Max rows to return (default 100, max 1000).
| Parameter | Type | Description |
|---|---|---|
transformation_id * | integer | |
limit | integer |
list_uploads
List all uploads (extract + load jobs) in the organization.
list_pipelines
List all pipelines (dbt transform orchestration) in the organization.
list_transformations
List all dbt transformations in the organization.
list_runs
List pipeline/upload/transformation runs with optional filters. Args: target_type: Filter by type — 'upload', 'pipeline', or 'transformation'. status: Filter by status — 'pending', 'running', 'success', 'failed', 'cancelled'. limit: Max results (default 50, max 200).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | ||
target_type |
get_run
Get details of a specific run by ID. Args: run_id: The run ID to look up.
| Parameter | Type | Description |
|---|---|---|
run_id * | integer |
get_run_logs
Get the logs of a specific run. Args: run_id: The run ID whose logs to fetch.
| Parameter | Type | Description |
|---|---|---|
run_id * | integer |
list_catalog
List all catalog entries (source tables and dbt models).
get_catalog_entry
Get details of a specific catalog entry. Args: entry_id: The catalog entry ID.
| Parameter | Type | Description |
|---|---|---|
entry_id * | integer |
create_connection
Create a new data connection. Requires --allow-write. Args: name: Human-readable name for the connection. connection_type: One of the supported types (e.g. 'postgres', 'mysql', 'stripe'). config: Connection-specific configuration (host, port, credentials, etc.).
| Parameter | Type | Description |
|---|---|---|
config * | object | |
connection_type * | string | |
name * | string |
create_upload
Create a new upload (extract + load job). Requires --allow-write. Args: name: Upload name. source_connection_id: ID of the source connection. destination_connection_id: ID of the destination connection. dlt_config: Optional dlt extraction config (load_mode, table_name, etc.). description: Optional description.
| Parameter | Type | Description |
|---|---|---|
destination_connection_id * | integer | |
name * | string | |
source_connection_id * | integer | |
description | ||
dlt_config |
create_pipeline
Create a new pipeline (dbt transform orchestration). Requires --allow-write. Args: name: Pipeline name. destination_connection_id: ID of the destination connection. command: dbt command — 'run', 'build', 'test', 'seed', 'snapshot', 'compile'. description: Optional description.
| Parameter | Type | Description |
|---|---|---|
destination_connection_id * | integer | |
name * | string | |
command | string | |
description |
create_transformation
Create a new dbt SQL transformation. Requires --allow-write. Args: name: Model name (letters, digits, underscores, hyphens; must start with letter or _). sql_body: dbt-compatible SQL (supports ref(), source(), Jinja). materialization: 'view', 'table', 'incremental', 'ephemeral', or 'snapshot'. description: Optional description. schema_name: Target schema (default 'staging').
| Parameter | Type | Description |
|---|---|---|
name * | string | |
sql_body * | string | |
description | ||
materialization | string | |
schema_name | string |
bulk_import
Bulk-import connections, uploads, pipelines, and transformations in one call. Requires --allow-write. Uses the JSON v2 import format. Validates everything first — if any errors, nothing is created. Args: payload: JSON v2 import payload with version, connections, uploads, pipelines, transformations sections. See AI_IMPORT_GUIDE.md.
| Parameter | Type | Description |
|---|---|---|
payload * | object |
trigger_upload
Trigger an upload run. Requires --allow-write. Args: upload_id: The upload to run. wait: If true, block until the run completes (up to 120s).
| Parameter | Type | Description |
|---|---|---|
upload_id * | integer | |
wait | boolean |
trigger_pipeline
Trigger a pipeline run (dbt build/run/test). Requires --allow-write. Args: pipeline_id: The pipeline to run. wait: If true, block until the run completes (up to 120s).
| Parameter | Type | Description |
|---|---|---|
pipeline_id * | integer | |
wait | boolean |
trigger_transformation
Trigger a transformation run. Requires --allow-write. Args: transformation_id: The transformation to run. wait: If true, block until the run completes (up to 120s).
| Parameter | Type | Description |
|---|---|---|
transformation_id * | integer | |
wait | boolean |