
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 分