datanika-mcp

v0.2.0
io.datanika/datanika-mcp Checked 22 hours ago Published 4 months ago

Read-only-by-default MCP for Datanika: browse data, run dbt transforms, manage ELT pipelines.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
DATANIKA_URLoptional Datanika instance URL (defaults to https://app.datanika.io; set this for a self-hosted instance)
DATANIKA_API_KEYrequired secret Datanika API key (from Settings -> API Keys)
DATANIKA_ALLOW_WRITEoptional Set to true to enable write/trigger tools (read-only by default)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add datanika-mcp -e 'DATANIKA_API_KEY=<DATANIKA_API_KEY>' -- uvx --with 'mcp<2' datanika-mcp==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "datanika-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "datanika-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "DATANIKA_API_KEY": "<DATANIKA_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "datanika-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "datanika-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "DATANIKA_API_KEY": "<DATANIKA_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DATANIKA_API_KEY",
      "id": "datanika-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "datanika-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "datanika-mcp==0.2.0"
      ],
      "command": "uvx",
      "env": {
        "DATANIKA_API_KEY": "${input:datanika-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.datanika-mcp]
command = "uvx"
args = ["--with", "mcp<2", "datanika-mcp==0.2.0"]
env = { "DATANIKA_API_KEY" = "<DATANIKA_API_KEY>" }

For AI agents

  1. Ask the user for: DATANIKA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_agent_tiers, get_connection_types, list_connections, get_connection, introspect_connection, preview_connection, query_connection, compile_transformation, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json