Keboola MCP Server acts as a bridge between your Keboola project and modern AI tools, allowing AI agents and assistants to access your data, run transformations, execute SQL queries, and trigger jobs without requiring custom integration code. This server makes your Keboola resources available as callable tools for AI assistants like Claude, Cursor, CrewAI, and more.
Before setting up the Keboola MCP Server, ensure you have:
uv
package installermacOS/Linux:
brew install uv
Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
You'll need three key pieces of information:
KBC_STORAGE_TOKEN: Your authentication token for Keboola
KBC_WORKSPACE_SCHEMA: Required only if using a custom storage token
Keboola Region: Your API URL depends on your deployment region
https://connection.keboola.com
https://connection.eu-central-1.keboola.com
https://connection.europe-west3.gcp.keboola.com
https://connection.us-east4.gcp.keboola.com
https://connection.north-europe.azure.keboola.com
The simplest way to connect is using Keboola's hosted Remote MCP Server:
https://mcp.<YOUR_REGION>.keboola.com/sse
)Let Claude or Cursor automatically start the MCP server for you:
{
"mcpServers": {
"keboola": {
"command": "uvx",
"args": ["keboola_mcp_server"],
"env": {
"KBC_STORAGE_API_URL": "https://connection.YOUR_REGION.keboola.com",
"KBC_STORAGE_TOKEN": "your_keboola_storage_token",
"KBC_WORKSPACE_SCHEMA": "your_workspace_schema"
}
}
}
}
Run the server manually in a terminal:
# Set environment variables
export KBC_STORAGE_API_URL=https://connection.YOUR_REGION.keboola.com
export KBC_STORAGE_TOKEN=your_keboola_storage_token
export KBC_WORKSPACE_SCHEMA=your_workspace_schema
uvx keboola_mcp_server --transport sse
docker pull keboola/mcp-server:latest
docker run \
--name keboola_mcp_server \
--rm \
-it \
-p 127.0.0.1:8000:8000 \
-e KBC_STORAGE_API_URL="https://connection.YOUR_REGION.keboola.com" \
-e KBC_STORAGE_TOKEN="YOUR_KEBOOLA_STORAGE_TOKEN" \
-e KBC_WORKSPACE_SCHEMA="YOUR_WORKSPACE_SCHEMA" \
keboola/mcp-server:latest \
--transport sse \
--host 0.0.0.0
Once configured, you can interact with your Keboola project through your AI assistant:
Start with a simple query:
What buckets and tables are in my Keboola project?
Data Exploration:
Data Analysis:
Data Pipelines:
The MCP Server provides various tools that your AI assistants can use:
get_project_info
: Gets structured information about your Keboola projectlist_buckets
: Lists all storage buckets in your projectget_bucket
: Retrieves information about a specific bucketlist_tables
: Returns all tables within a specific bucketget_table
: Provides detailed information for a specific tableupdate_bucket_description
: Updates a bucket's descriptionupdate_column_description
: Updates a column's descriptionupdate_table_description
: Updates a table's descriptionquery_table
: Executes custom SQL queries against your dataget_sql_dialect
: Identifies whether your workspace uses Snowflake or BigQuery SQL dialectcreate_config
: Creates a component configurationcreate_sql_transformation
: Creates an SQL transformationlist_configs
: Retrieves component configurationslist_transformations
: Retrieves transformation configurationsretrieve_jobs
: Lists and filters jobsget_job_detail
: Returns details about a specific jobstart_job
: Triggers a component or transformation jobcreate_flow
: Creates a new flow configurationget_flow
: Gets information about a specific flowlist_flows
: Retrieves flow configurationsupdate_flow
: Updates an existing flow configurationdocs_query
: Searches Keboola documentation based on natural language queriesIssue | Solution |
---|---|
Authentication Errors | Verify KBC_STORAGE_TOKEN is valid |
Workspace Issues | Confirm KBC_WORKSPACE_SCHEMA is correct |
Connection Timeout | Check network connectivity |
The MCP Server works with various clients:
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "keboola" '{"command":"uvx","args":["keboola_mcp_server"],"env":{"KBC_STORAGE_API_URL":"https://connection.YOUR_REGION.keboola.com","KBC_STORAGE_TOKEN":"your_keboola_storage_token","KBC_WORKSPACE_SCHEMA":"your_workspace_schema"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"keboola": {
"command": "uvx",
"args": [
"keboola_mcp_server"
],
"env": {
"KBC_STORAGE_API_URL": "https://connection.YOUR_REGION.keboola.com",
"KBC_STORAGE_TOKEN": "your_keboola_storage_token",
"KBC_WORKSPACE_SCHEMA": "your_workspace_schema"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"keboola": {
"command": "uvx",
"args": [
"keboola_mcp_server"
],
"env": {
"KBC_STORAGE_API_URL": "https://connection.YOUR_REGION.keboola.com",
"KBC_STORAGE_TOKEN": "your_keboola_storage_token",
"KBC_WORKSPACE_SCHEMA": "your_workspace_schema"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect