
Keboola
com.keboola由 keboola.com 發布官方發布者v1.116.1更新於 Nov 7, 2026
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
概覽
將 AI 助理連接到 Keboola 專案,用來查詢儲存表、建立 SQL 轉換、執行工作並管理資料應用程式。
- 可以做什麼
- 查詢儲存表,並管理表或 bucket 的描述資訊
- 建立、列出與檢視 extractor、writer、資料應用程式及轉換設定
- 以自然語言撰寫 SQL 轉換,並執行元件、轉換與工作
- 建立與管理工作流程,包括條件式流程與協調流程
- 建立、部署與管理資料應用程式,包含 Streamlit 應用程式
- 搜尋、讀取與更新專案文件及物件中繼資料
- 適用情境
- 當資料存放在 Keboola,且希望助理直接探索資料表、草擬並執行 SQL 轉換、協調工作與流程,或建立資料應用程式而不必切換到網頁介面時適用。開發分支可讓變更遠離正式環境。
- 執行需求
- 可使用託管的遠端端點(URL 來自專案設定中的 MCP Server 頁面,以 Keboola 帳號進行 OAuth 登入),或在本機安裝 keboola-mcp-server Python 套件(Python 3.11+、uv)並完成一次瀏覽器登入。無瀏覽器環境需設定 KBC_STORAGE_TOKEN 與 KBC_PROJECT_ID,並依區域設定 KBC_STORAGE_API_URL;可選用 KBC_BRANCH_ID 或 X-Branch-Id 標頭將操作限定在開發分支。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Keboola,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.keboola%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"keboola": {
"type": "http",
"url": "https://mcp.us-east4.gcp.keboola.com/mcp"
}
}
}README
Keboola MCP Server
Connect your AI agents, MCP clients (Cursor, Claude, Windsurf, VS Code ...) and other AI assistants to Keboola. Expose data, transformations, SQL queries, and job triggers—no glue code required. Deliver the right data to agents when and where they need it.
Overview
Keboola MCP Server is an open-source bridge between your Keboola project and modern AI tools. It turns Keboola features—like storage access, SQL transformations, and job triggers—into callable tools for Claude, Cursor, CrewAI, LangChain, Amazon Q, and more.
Features
With the AI Agent and MCP Server, you can:
- Storage: Query tables directly and manage table or bucket descriptions
- Components: Create, List and inspect extractors, writers, data apps, and transformation configurations
- SQL: Create SQL transformations with natural language
- Jobs: Run components and transformations, and retrieve job execution details
- Flows: Build and manage workflow pipelines using Conditional Flows and Orchestrator Flows.
- Data Apps: Create, deploy and manage Keboola Data Apps displaying your queries over storage data — python-js apps on a Keboola-managed repository or on a customer GitHub repository (cloned through the organization's GitHub connection, no stored credential), and Streamlit apps.
- Metadata: Search, read, and update project documentation and object metadata using natural language
- Dev Branches: Work safely in development branches outside of production, where all operations are scoped to the selected branch.
🚀 Quick Start: Remote MCP Server (Easiest Way)
The easiest way to use Keboola MCP Server is through our Remote MCP Server. This hosted solution eliminates the need for local setup, configuration, or installation.
What is the Remote MCP Server?
Our remote server is hosted on every multi-tenant Keboola stack and supports OAuth authentication. You can connect to it from any AI assistant that supports remote Streamable HTTP connection and OAuth authentication.
How to Connect
- Get your remote server URL: Navigate to your Keboola Project Settings →
MCP Servertab - Copy the server URL: It will look like
https://mcp.<YOUR_REGION>.keboola.com/mcp - Configure your AI assistant: Paste the URL into your AI assistant's MCP settings
- Authenticate: You'll be prompted to log in with your Keboola account. Which project(s) to work on is chosen afterwards, in the conversation (e.g. "list my Keboola projects" / "use project X")
Supported Clients
- Cursor: Use the "Install In Cursor" button in your project's MCP Server settings or click this button [Install MCP Server]
- Claude Desktop: Add the integration via Settings → Integrations
- Claude Code: Install using
claude mcp add --transport http keboola <URL>(see below for details) - Windsurf: Configure with the remote server URL
- Make: Configure with the remote server URL
- Other MCP clients: Configure with the remote server URL
Claude Code Setup
Claude Code is a command-line interface tool that allows you to interact with Claude using your terminal. You can install the Keboola MCP Server integration using a simple command.
Installation:
Run the following command in your terminal, replacing <YOUR_REGION> with your Keboola region:
Region-specific commands:
Usage:
Once installed, you can use the Keboola MCP Server in Claude Code by typing /mcp in your conversation and selecting the Keboola tools you want to use.
Authentication:
When you first use the Keboola MCP Server in Claude Code, a browser window will open prompting you to:
- Log in with your Keboola account
- Authorize the connection
After authentication, you can start using Keboola tools directly from Claude Code. Project selection happens afterward, in the conversation — just ask Claude which Keboola project(s) to use.
For detailed setup instructions and region-specific URLs, see our Remote Server Setup documentation.
Using Development Branches
You can work safely in Keboola development branches without affecting your production data. The remotely hosted MCP Servers respect the KBC_BRANCH_ID parameter and will scope all operations to the specified branch. You can find the development branch ID in the URL when navigating to the development branch in the UI, for example: https://connection.us-east4.gcp.keboola.com/admin/projects/PROJECT_ID/branch/BRANCH_ID/dashboard. The branch ID must be included in each request using the header X-Branch-Id: <branchId>, otherwise the MCP Server uses production branch as default. This should be managed by the AI client or the environment handling the server connection.
Tool Authorization and Access Control
When using HTTP-based transports (Streamable HTTP), you can control which tools are available to clients using HTTP headers. This is useful for restricting AI agent capabilities or enforcing compliance policies.
Authorization Headers
Filter Behavior
Filters apply in order: allowed → read-only intersection → disallowed exclusion. Empty headers = no restriction.
Read-Only Tools
Read-only tools are those annotated with readOnlyHint=True. These tools only retrieve information without making any changes to your Keboola project. For the current list of read-only tools, see the TOOLS.md file which is an auto-generated snapshot of the actual tool set.
Example: Read-Only Access
Deferred Tool Loading
Claude Code / Claude Agent SDK clients that register the server with alwaysLoad: true keep these tools deferred behind tool search instead of loading their definitions up front. The header only changes the tools/list metadata — it does not hide or authorize tools. Empty header or unknown tool names = no change.
For detailed documentation, see developers.keboola.com/integrate/mcp/#tool-authorization-and-access-control.
Row-Level and Column-Level Security
Row- and column-level policies are Keboola Metastore objects (rls-policy, cls-policy), written through the Metastore
API (the kbagent rls / kbagent cls commands are not in any kbagent release yet). This server neither reads nor
applies them. In a project that has the row-level-security feature it creates its workspace (the mcp-workspace-<hex>
configuration of the keboola.mcp-server-tool component) with the Connection login type governed. A governed
workspace has no credentials: only the Query Service can read it, and the Query Service filters every query_data
result by the policies of the project. There is no rewriting in this server and no fallback: what the Query Service
refuses, query_data returns as an error.
- What turns it on. The project feature is checked by this server only; Connection needs no feature or role to
create a governed workspace (Snowflake or BigQuery, no public key). The stack's Connection must accept the login type
governedfor the project's backend: a stack that does not refuses the create, and then every tool that needs the workspace fails (there is no fallback to an ordinary workspace). Enforcement on BigQuery is not verified end to end on a production stack. An older ordinary MCP workspace is not deleted: it is skipped as soon as the feature is on. With the feature on, aworkspace_schemaorX-Workspace-Idpin is accepted only for a governed workspace (an ordinary one would read around the policies), so a pin to the old workspace, or to a data app's own ordinary workspace, is refused; delete the old one. - Deny by default. A table that neither an
rls-policynor acls-policycovers is refused for an administrator (the agent seesRow-level security does not allow this query) and reads as no rows for an ordinary reader such as a data app end user (a"*"rule opens a table to every identified reader). Acls-policyalone opens its table: all rows, only its columns, for the readers it names; any other reader is refused. A statement that reads no table (SELECT 1) runs. - Refused statements. A governed statement is refused (403, the same generic text for every reason) when it uses
IDENTIFIER(),TABLE()outsideFROM, an AI function (AI_*, BigQueryAI.*),TO_FILE,READ_CSV/READ_PARQUET,SECRET, a session-context function (CURRENT_USER,CURRENT_ROLE,CURRENT_STATEMENT, ...),NEXTVAL,$xor@@x, a control character, or an unquoted name with a non-ASCII character or$$, or when it is over 32 KiB, 200 CTEs or 300 table references.CURRENT_DATE,CURRENT_TIMEandCURRENT_TIMESTAMPstay allowed (as of Query Service 1.25 and policy engine 0.1.8). A 503Row-level security could not be applied to this workspacemeans nothing ran because the policies could not be applied; it can be transient. A failed governed statement returnsThe statement failed. Its error text is not shown for a workspace with row-level security. - Who is the reader. The Query Service resolves the reader from the administrator's own token of the project: the
programmatic token this server forwards (
kbc_at_/kbc_pat_, including the child PAT of a multi-project scope, sent withX-KBC-ProjectId) or an administrator's own master Storage token. Any other token (an integration, a data app, Kai) names no end user, has no verified identity and reads nothing from a governed table. The administrator's subject iskeboola|<adminId>and the identity carries no groups, so group rules never match. - Bindings. Without a binding a workspace gets every policy of the project, and this server never creates one. To
give a workspace only some policies, bind them to its KID:
KID:<stack-id>:project-<project-id>:workspace-<workspace-id>(a workspace of the default branch; a branch workspace also hasbranch-<branch-id>beforeproject). The stack id is the one the Query Service is configured with (QUERY_RLS_STACK_ID, for exampledev-keboola-aws-eu-west-1), the workspace id is in theget_project_infooutput, and apolicy-bindingMetastore object with that KID writes the binding (no kbagent command for it is released yet). A binding is an allowlist: it keeps only the policies it lists, so it can leave out any policy, an organization-scope one included, and loosen access. One that lists norls-policydrops every row policy, so a table covered by a keptcls-policyopens with all rows. A binding applies to the next query and does not follow the session to another workspace: a branch session, or a workspace that is recreated, has a new KID and starts again with every policy. - Limits. The workspace id of the server's workspace is also what a data app gets as
WORKSPACE_IDwhen no separate workspace is provisioned for it; the app queries with its own token, has no verified identity, and reads nothing from governed tables. - Metadata. The metadata tools show only what the Query Service lets the reader read.
get_tablesandsearch(which then does not use the global search, as its counts include the hidden tables) leave out a table the reader may not read, andget_tablesreports one that was asked for by ID as not found; a table with a column policy shows only the columns of the policy (also in its primary key and in whatsearchmatches). A readable table is shown without its number of rows and its size, which count the rows that a row policy hides.get_bucketsstill lists every bucket, but without the number of tables and the size, which count the hidden tables. This needs the Query Service endpointPOST /api/v1/branches/{branch}/workspaces/{workspace}/rls/scope, and fails closed: when the Query Service cannot say, a tool of a governed project returns an error with a short message and no table. A project without the feature is not affected and makes no extra call.
Local MCP Server Setup (Custom or Dev Way)
Run the MCP server on your own machine for full control and easy development. Choose this when you want to customize tools, debug locally, or iterate quickly. You’ll install the server, authenticate (a one-time browser login — no token to paste), and start it. This approach offers maximum flexibility (custom tools, local logging, offline iteration) but requires manual setup and you manage updates and secrets yourself.
The server supports multiple transport options, which can be selected by providing the --transport <transport> argument when starting the server:
stdio- Default when--transportis not specified. Standard input/output, typically used for local deployment with a single client.streamable-http- Runs the server remotely over HTTP with a bidirectional streaming channel, allowing the client and server to continuously exchange messages. Connect via /mcp (e.g., http://localhost:8000/mcp).http-compat- An alias forstreamable-http, kept for backwards compatibility.
To work with your Keboola project the server needs two things: your Keboola Region (KBC_STORAGE_API_URL) and a way to authenticate. The recommended way is a one-time browser login — you never create, copy, or paste a token. Optionally set KBC_BRANCH_ID to work inside a development branch.
Some of the variables are not taken from the request headers:
KBC_STORAGE_API_URL: a server that was started with its own Storage API URL (the--api-urlparameter or theKBC_STORAGE_API_URLenvironment variable) only serves that one Keboola stack. AnX-Storage-Api-Urlheader asking for a different host is ignored (a warning is logged) — the server keeps its own URL for the request. Start the server without a Storage API URL of its own if you want each request to choose its stack.KBC_KUBERNETES_TOKEN_PATH(deployed servers only, see docs/kubernetes-sa-auth.md): read from the environment only, never from a header.KBC_WORKSPACE_ID/KBC_WORKSPACE_SCHEMA: same idea as the Storage API URL above — a server started with its own workspace pin (via either variable, or--workspace-id) keeps that pin for every request; anX-Workspace-IdorX-Workspace-Schemaheader asking for a different workspace is ignored (a warning is logged). A server with no pin of its own (the shared multi-user case) keeps taking the pin from the request, per-request, as described below.
Logging in
Sign in once with your browser; the server stores the session and refreshes it automatically, so there are no tokens to manage:
This opens your browser to sign in to Keboola, then saves the stack-wide session to ~/.keboola/mcp/credentials.json (readable only by you, one entry per stack). Afterwards, start the server with only KBC_STORAGE_API_URL set — no token required. Which project(s) to work on is chosen afterwards, in the conversation (get_accessible_projects / set_project_scope), not during login.
When you start the server over stdio in an interactive terminal with no stored session, it runs this browser login automatically on first start. MCP clients (Claude, Cursor, …) launch the server in the background where a browser can't open, so run login once yourself first.
Starting without a Keboola account
You can also start the server with only KBC_STORAGE_API_URL and no credentials at all. It comes up in bootstrap mode: tools that need Keboola access explain how to get a credential, and one tool works without one — create_project. It creates a new Keboola project, signs the session in to it, and returns a confirmation URL. Opening that URL in a browser and signing in makes the project permanently yours; until then it is temporary and Keboola may reclaim it, and once you confirm, the session the tool created is revoked and you continue with your own login.
This needs a stack with agent provisioning enabled; elsewhere the tool reports that it is not available.
The same thing is possible without running a server at all, on a remotely hosted MCP server whose
operator has enabled it (KBC_ALLOW_ANONYMOUS_PROVISIONING): such a deployment also serves
https://mcp.<stack>/mcp-anonymous, which accepts no credentials. Point your client there with no
authentication, call create_project, and keep working in the project that call created — the server
holds its credentials for you and the tool hands back an opaque scope_token to resend on later
calls. It is a separate URL because the ordinary /mcp endpoint has to keep refusing unauthenticated
requests: that refusal is how MCP clients know to start the OAuth login. Once you claim the project,
switch to /mcp and sign in with the account that now owns it.
Authenticating without a browser
For containers or CI where a browser login isn't possible, provide a Keboola access or personal access token directly — set KBC_STORAGE_TOKEN (env var) or send the X-StorageAPI-Token header — together with KBC_PROJECT_ID (or the X-KBC-ProjectId header) to select the project. On HTTP transports these can be supplied per request as headers, so each request carries its own credentials.
KBC_WORKSPACE_ID
Pins queries to one specific, already-existing workspace by its ID instead of the schema-based lookup above, and takes precedence over KBC_WORKSPACE_SCHEMA when both are set. This is the option a Data App / kai-agent caller supplies, as the X-Workspace-Id header, so that Kai embedded in that app queries only through its own workspace.
Set via the KBC_WORKSPACE_ID environment variable, the --workspace-id CLI flag, or (per-request, for multi-user deployments) the X-Workspace-Id header.
KBC_STORAGE_API_URL (Keboola Region)
Your Keboola Region API URL depends on your deployment region. You can determine your region by looking at the URL in your browser when logged into your Keboola project:
KBC_BRANCH_ID (Optional)
To operate on a specific Keboola development branch, set the branch ID using the KBC_BRANCH_ID parameter. The MCP server scopes its functionality to the specified branch, ensuring all changes remain isolated and do not impact the production branch.
- If not provided, the server uses the production branch by default.
- For development work, set
KBC_BRANCH_IDto the numeric ID of your branch (e.g.,123456). You can find the development branch ID in the URL when navigating to the development branch in the UI, for example:https://connection.us-east4.gcp.keboola.com/admin/projects/PROJECT_ID/branch/BRANCH_ID/dashboard. - On remote transports, you can override per-request with the HTTP header
X-Branch-Id: <branchId>orKBC_BRANCH_ID: <branchId>.
Installation
Make sure you have:
- Python 3.11+ installed
- Access to a Keboola project with admin rights
- Your preferred MCP client (Claude, Cursor, etc.)
Note: Make sure you have uv installed. The MCP client will use it to automatically download and run the Keboola MCP Server.
Installing uv:
macOS/Linux:
Windows:
For more installation options, see the official uv documentation.
Running Keboola MCP Server
There are four ways to use the Keboola MCP Server, depending on your needs:
Option A: Integrated Mode (Recommended)
In this mode, Claude or Cursor automatically starts the MCP server for you.
- Log in once in a terminal so a session is stored (the client launches the server in the background, where a browser can't open):
- Configure your MCP client (Claude/Cursor) with the settings below — only
KBC_STORAGE_API_URLis needed. - The client will automatically launch the MCP server when needed.
Claude Desktop Configuration
- Go to Claude (top left corner of your screen) -> Settings → Developer → Edit Config (if you don't see the claude_desktop_config.json, create it)
- Add the following configuration:
- Restart Claude desktop for changes to take effect
Config file locations:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor Configuration
- Go to Settings → MCP
- Click "+ Add new global MCP Server"
- Configure with these settings:
Note: Use short, descriptive names for MCP servers. Since the full tool name includes the server name and must stay under ~60 characters, longer names may be filtered out in Cursor and will not be displayed to the Agent.
Cursor Configuration for Windows WSL
When running the MCP server from Windows Subsystem for Linux with Cursor AI, use this configuration:
Option B: Local Development Mode
For developers working on the MCP server code itself:
- Clone the repository and set up a local environment
- Configure Claude/Cursor to use your local Python path:
Option C: Manual CLI Mode (For Testing Only)
You can run the server manually in a terminal for testing or debugging:
Note: This mode is primarily for debugging or testing. For normal use with Claude or Cursor, you do not need to manually run the server.
Note: The server will use the Streamable HTTP transport and listen on
localhost:8000for incoming connections at/mcp. You can use--portand--hostparameters to make it listen elsewhere.
Option D: Using Docker
A container can't open a browser, so authenticate with a token (see Authenticating without a browser): set KBC_STORAGE_TOKEN to a Keboola access/personal access token and KBC_PROJECT_ID to the target project. (Over HTTP you can instead pass X-StorageAPI-Token / X-KBC-ProjectId headers per request and omit these.)
Note: The server will use the Streamable HTTP transport and listen on
localhost:8000for incoming connections at/mcp. You can change-pto map the container's port somewhere else.
Do I Need to Start the Server Myself?
Using MCP Server
Once your MCP client (Claude/Cursor) is configured and running, you can start querying your Keboola data:
Verify Your Setup
You can start with a simple query to confirm everything is working:
Examples of What You Can Do
Data Exploration:
- "What tables contain customer information?"
- "Run a query to find the top 10 customers by revenue"
Data Analysis:
- "Analyze my sales data by region for the last quarter"
- "Find correlations between customer age and purchase frequency"
Data Pipelines:
- "Create a SQL transformation that joins customer and order tables"
- "Start the data extraction job for my Salesforce component"
Compatibility
MCP Client Support
Supported Tools
Note: Your AI agents will automatically adjust to new tools.
For a complete list of available tools with detailed descriptions, parameters, and usage examples, see TOOLS.md.
Troubleshooting
Common Issues
Development
Installation
Basic setup:
With the basic setup, you can use uv run tox to run tests and check code style.
Recommended setup:
With the recommended setup, packages for testing and code style checking will be installed which allows IDEs like VsCode or Cursor to check the code or run tests during development.
Integration tests
To run integration tests locally, use uv run tox -e integtests.
NOTE: You will need to set the following environment variables:
INTEGTEST_POOL_STORAGE_API_URLINTEGTEST_STORAGE_TOKENSINTEGTEST_STORAGE_TOKEN_STORAGE_BRANCHES
In order to get these values, you need dedicated Keboola projects for integration tests.
Each test session creates its own read-only workspace, so no workspace schema needs to be
configured. See integtests/README.md for detailed setup instructions and design documentation.
Updating uv.lock
Update the uv.lock file if you have added or removed dependencies. Also consider updating the lock with newer dependency
versions when creating a release (uv lock --upgrade).
Updating Tool Documentation
When you make changes to any tool descriptions (docstrings in tool functions), you must regenerate the TOOLS.md documentation file to reflect these changes:
Releasing
We do not cut a release for every merged PR. Work lands on the trunk (main)
continuously, and we release periodically once changes have been re-tested together —
this avoids breaking working setups for users.
A release is made by pushing one or two git tags:
vX.Y.Z— the MCP server release (always)agent-vX.Y.Z— the In Platform Agent release (only when the agent is being released too)
Either tag triggers release.yml CI, which builds and publishes the Docker image. KaiBench
runs only on production vX.Y.Z tags (not agent-vX.Y.Z, and not -dev. prereleases). Use
the release-notes skill — it prepares the release notes and draft PR and walks through
tagging both vX.Y.Z and agent-vX.Y.Z.
Support and Feedback
⭐ The primary way to get help, report bugs, or request features is by opening an issue on GitHub. ⭐
The development team actively monitors issues and will respond as quickly as possible. For general information about Keboola, please use the resources below.
Resources
- User Documentation
- Developer Documentation
- Keboola Platform
- Issue Tracker ← Primary contact method for MCP Server
Connect
來源:README.md,提交 0d5955c
工具
0版本歷史
23- v1.116.1最新Nov 7, 2026
- v1.115.4Nov 6, 2026
- v1.114.5Nov 5, 2026
- v1.114.4Nov 5, 2026
- v1.114.1Nov 4, 2026
- v1.113.0Nov 4, 2026
- v1.112.2Nov 3, 2026
- v1.110.6Oct 30, 2026
- v1.110.5Oct 29, 2026
- v1.105.1Oct 22, 2026
- v1.98.0Oct 20, 2026
- v1.97.10Oct 20, 2026
- v1.95.3Oct 13, 2026
- v1.95.1Oct 13, 2026
- v1.92.0Oct 12, 2026
- v1.90.1Oct 8, 2026
- v1.90.0Oct 8, 2026
- v1.88.6Oct 2, 2026
- v1.88.5Sep 30, 2026
- v1.88.2Sep 29, 2026
- v1.87.3Sep 24, 2026
- v1.86.0Sep 21, 2026
- v1.81.1Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分