Databricks Transform
БесплатноНе проверенEnables AI agents to interact with Coalesce and Snowflake to perform data transformations, run operations, and manage Coalesce resources via natural language.
Описание
Enables AI agents to interact with Coalesce and Snowflake to perform data transformations, run operations, and manage Coalesce resources via natural language.
README
A Databricks App that hosts the Coalesce Transform MCP server over HTTP so Databricks Genie can connect to it.
How it works
Genie / AI Agent
│
│ HTTPS (Databricks App proxy handles auth)
▼
Databricks App (uvicorn + server.py)
│
│ Python MCP SDK bridges HTTP ↔ stdio
▼
coalesce-transform-mcp (npm package, 100+ tools)
│
▼
Coalesce API + Snowflake
server.py uses the Python MCP SDK to spin up coalesce-transform-mcp as a subprocess, then exposes its tools over Streamable HTTP via a Starlette/uvicorn ASGI app.
| Endpoint | Path | Use for |
|---|---|---|
| Streamable HTTP | /mcp |
Genie, newer MCP clients |
| Health | / |
Databricks App health checks |
Prerequisites
- Databricks workspace with Apps enabled
- Coalesce access token (Coalesce Deploy → Settings → API Tokens)
- Node.js ≥ 22 on the App cluster (needed to run
npx coalesce-transform-mcp) - Python ≥ 3.11
1. Store the Coalesce token in Databricks Secrets
# Create a secret scope (skip if it already exists)
databricks secrets create-scope coalesce-mcp
# Store your Coalesce API token
databricks secrets put-secret coalesce-mcp coalesce-access-token
# paste your token when prompted
2. Link the secret to the app via the UI
Databricks Apps injects secrets as env vars only after they're linked to the app through the UI:
- In Databricks, go to Compute → Apps and open (or create) the app
- Click Edit app → App resources → + Add resource → Secret
- Set:
- Scope:
coalesce-mcp - Key:
coalesce-access-token - Resource key:
coalesce-access-token← must matchvalueFrominapp.yaml - Permission:
Can read
- Scope:
- Save and redeploy
This is what wires the COALESCE_ACCESS_TOKEN env var in app.yaml to the actual secret value.
3. Deploy
Push this repo to a Databricks Git Folder, then deploy:
databricks apps deploy coalesce-transform-mcp \
--source-code-path /Workspace/Repos/<your-user>/databricks-transform-mcp
Or via the Apps UI:
- Compute → Apps → Create App → Custom
- Point to this Git Folder
- Click Deploy
On first deploy, pip install -r requirements.txt runs automatically, then uvicorn starts.
3. Connect Genie
- In Genie, go to Settings → MCP Servers → Add
- Set the endpoint to the Streamable HTTP path:
https://<workspace-host>/apps/coalesce-transform-mcp/mcp - Auth is handled automatically by the Databricks App proxy
Environment Variables
| Variable | Required | Description |
|---|---|---|
COALESCE_ACCESS_TOKEN |
Yes | Bearer token from Coalesce Deploy |
COALESCE_BASE_URL |
No | Region base URL (default: https://app.coalescesoftware.io) |
COALESCE_REPO_PATH |
No | Path to local Coalesce repo for repo-backed tools |
COALESCE_MCP_READ_ONLY |
No | Set "true" to disable write/delete tools |
SNOWFLAKE_ACCOUNT |
No | Snowflake account for run/create operations |
SNOWFLAKE_USER |
No | Snowflake user |
SNOWFLAKE_PRIVATE_KEY |
No | Snowflake private key (PEM) |
Local Testing
pip install -r requirements.txt
export COALESCE_ACCESS_TOKEN=your-token
export COALESCE_BASE_URL=https://app.australia-southeast1.gcp.coalescesoftware.io
uvicorn server:app --host 0.0.0.0 --port 8000
Test the MCP endpoint:
curl -X POST http://localhost:8000/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Установить Databricks Transform в Claude Desktop, Claude Code, Cursor
unyly install databricks-transform-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add databricks-transform-mcp -- uvx --from git+https://github.com/swalker-coalesce/databricks-transform-mcp mcp-coalesceFAQ
Databricks Transform MCP бесплатный?
Да, Databricks Transform MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Databricks Transform?
Нет, Databricks Transform работает без API-ключей и переменных окружения.
Databricks Transform — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Databricks Transform в Claude Desktop, Claude Code или Cursor?
Открой Databricks Transform на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Databricks Transform with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
