Starburst MCP server#
Starburst Enterprise includes an integrated Model Context Protocol (MCP) server that lets AI agents and large language model (LLM) applications securely query your Starburst cluster. MCP server on Starburst Enterprise exposes a stateless, authenticated HTTP endpoint for programmatic data access.
Note
This feature is available as a public preview. Contact your Starburst account team for more information.
Requirements#
A valid
AI_WORKFLOWSlicense.
Configuration#
Add the following property to your coordinator configuration file to enable the Starburst MCP server:
starburst.mcp.enabled=true
The MCP server is then available at the https://<coordinator-host>:<port>/mcp
endpoint URL.
General configuration properties#
The following general configuration properties must be added to the coordinator configuration file.
Property name |
Description |
Default |
|---|---|---|
|
Enable the MCP server on the coordinator. |
|
|
Specifies the maximum size of result data returned to clients. You can set
this value between |
|
Fault-tolerant execution support#
The MCP server does not support custom retry-policy configurations for
clusters using fault-tolerant execution. Any existing retry policy
configurations are overridden. Policy overrides only affect queries that are run
using the MCP server.
Querying data#
The server provides a query tool that lets AI agents and LLM applications run read-only queries against your cluster and receive structured results in JSON format. Queries run synchronously. The agent waits for the query to finish before returning a response. Response times may be longer for large or complex queries.
Note
The result set size must be smaller than the value of
mcp.query.max-result-size. If the result exceeds this limit, the query fails
with an error.
Input format#
The following example shows a request used by an agent that retrieves five rows
from the tpch.tiny.nation table:
{
"query": "SELECT name, regionkey FROM tpch.tiny.nation ORDER BY name LIMIT 5"
}
The tool accepts the following input parameter:
Parameter |
Type |
Description |
|---|---|---|
|
|
The SQL query to execute. This is a required property. |
Response format#
The MCP server returns structured JSON similar to the following example,
continuing the query of the tpch.tiny.nation table.
{
"queryId": "1234abcdefg",
"columns": [
{"columnName": "name", "columnType": "varchar"}
{"columnName": "regionkey", "columnType": "bigint"}
],
"rows": [
["ALGERIA", "0"]
["ARGENTINA", "1"]
["BRAZIL", "1"]
]
}
Attribute |
Type |
Description |
|---|---|---|
|
|
Unique identifier for the executed query. |
|
|
List of column metadata objects. |
|
|
Name of column. |
|
|
Data type of the column. For example, |
|
|
Array of result rows. Each row is an array of stringified values. Null
values are represented as |
Unsupported SQL operations#
The query tool supports only read-only SQL queries. It rejects any query that contains the following operations:
INSERTUPDATEDELETEMERGETRUNCATEGRANTREVOKECREATE,ALTER, orDROPstatements for tables, schemas, or catalogs.
Limitations#
Result Size Limit: Query results are capped by the
mcp.query.max-result-sizeconfiguration property.queries returning results larger than this limit fail.
instruct agents to
LIMITclauses or filters to reduce result sizes for large datasets.
Queries follow standard Starburst query timeout configurations.
Queries are subject to resource management rules and terminate if they exceed configured limits.