Starburst Galaxy hosted Model Context Protocol (MCP) functionality enables AI assistants and applications to connect to your Galaxy data infrastructure using the MCP standard. With the MCP server, you can allow AI tools to discover your clusters and catalogs, execute read-only SQL queries against your data through natural language interactions, and more.
MCP on Starburst Galaxy provides a secure, standardized way to integrate Galaxy with popular AI development tools like Claude Desktop, Cline, GitHub Copilot, and other MCP-compatible applications.
The Starburst Galaxy MCP server enables the following workflows:
Before you begin using the Starburst Galaxy MCP server, you must have:
mycompany.galaxy.starburst.io)The Starburst Galaxy MCP server supports two authentication methods:
Use your Galaxy username and password to authenticate. Basic authentication is suitable for testing and development purposes.
You can also use a service account’s credentials for programmatic access.
Submit credentials as an HTTP Basic authentication header base64 encoded. Use
the format <email>:<password> (before encoding).
Note that public API tokens are not supported for MCP authentication.
Use OAuth 2.0 with an OAuth client for production deployments and shared environments. This method complies with the MCP Authorization standard and provides better security for access.
Galaxy supports MCP authorization protocol versions 2025-06-18 and above.
Requirements:
galaxy.mcp scope.MANAGE_OAUTH_CLIENT privilege. See OAuth clients for detailed setup instructions.The following examples show how to configure the Starburst Galaxy MCP server in
popular MCP client applications. Replace <account-name> with your
Galaxy account name.
The MCP server URL format is:
https://<account-name>.mcp.galaxy.starburst.io
Claude Desktop requires OAuth authentication. To set up the connection, follow these steps:
Custom as the
Application and include the following URI as a redirect
URI:https://claude.ai/api/mcp/auth_callback. Save the client ID and
(optionally) the client secret.https://<account-name>.mcp.galaxy.starburst.io. Enter the client ID
and (optional) client secret.

Claude Code lets you to connect using OAuth authentication or basic authentication. Follow the instructions below for your preferred method.
To use OAuth authentication with Claude Code, create an OAuth client. The
client can be a public client (without a secret) or a private client (with a
secret). Include at least one redirect URI in the form
http://localhost:<port>/callback when you create the client. Note the port,
as you will need it for the next step.
Then, configure the connection in Claude Code using the following command, substituting the appropriate values for your OAuth client and Galaxy:
claude mcp add --transport http \ 141 ↵
--client-id ${MY_OAUTH_CLIENT_ID} \
--callback-port ${MY_PORT_FROM_ABOVE} \
my-mcp-server ${ACCOUNT_MCP_URL}
Your account MCP URL will be in the format
https://<account-name>.mcp.galaxy.starburst.io.
To use basic authentication with Claude Code, you can configure static credentials to be used as a Basic auth header. Use the following command, substituting the appropriate values for your Galaxy account and credentials:
claude mcp add-json my-mcp-server '{"type":"http","url":"${ACCOUNT_MCP_URL}","headers":{"Authorization":"Basic ${CREDENTIALS}"}}'
Credentials must be a base64 encoded string in the format <email>:<password>.
Your account MCP URL will be in the format
https://<account-name>.mcp.galaxy.starburst.io.
For any MCP-compatible client that supports custom server configuration, use the following format:
Server URL: https://<account-name>.mcp.galaxy.starburst.io
Basic authentication:
Authorization: Basic <base64_encoded_credentials>OAuth 2.0 authentication:
galaxy.mcp (the only accepted scope for MCP)https://<account-name>.galaxy.starburst.io/oauth/v2/authorizehttps://<account-name>.galaxy.starburst.io/oauth/v2/tokenRefer to your MCP client’s documentation for specific configuration steps.
The Starburst Galaxy MCP server has the following limits and constraints:
Query operations:
SELECT, SHOW, EXPLAIN).INSERT, UPDATE, DELETE, CREATE, DROP, etc.)
are not permitted.Authentication:
galaxy.mcp scope.Access control:
Is the information on this page helpful?
Yes
No