
Description
The StarRocks MCP Server is a Model Context Protocol server that connects AI assistants to StarRocks databases. It lets an assistant run SELECT queries and DDL or DML commands, explore databases and tables, read table schemas, and look at internal StarRocks metrics through a proc resource path. Table and database overviews include column definitions, row counts and sample data, and they are cached in memory so repeated requests are faster; the cache can be bypassed when needed. A tool can run a query and draw a Plotly chart from the results. Connection details and behavior are set with environment variables. It needs Python 3.11 or newer, a reachable StarRocks cluster (the FE service), and uv, the Python project manager, which the README uses to create the environment and start the server. By default it connects to localhost on port 9030 over the MySQL protocol. The project is the official StarRocks MCP server, and its source is on GitHub under StarRocks/mcp-server-starrocks.…
Highlights
- Run read and write SQL queries from an assistant
- Explore databases, tables and schemas
- Table and database overviews with sample data
- Plotly charts from query results
- Cached overviews and environment-based configuration
Ratings & Reviews
No ratings yet
Be the first to rate StarRocks.
People also visit
StarRocks FAQ
What is the StarRocks MCP Server?
An MCP server that lets AI assistants work with StarRocks databases, from running SQL to exploring schemas and drawing charts.
What do I need to run it?
Python 3.11 or newer, a reachable StarRocks cluster, and uv. The README uses uv run to set up the environment and start the server.
How does it connect?
By default it connects to localhost on port 9030 over the MySQL protocol. Connection details are set with environment variables.
Can it change my data?
Yes. Besides SELECT queries, it has a write tool for DDL and DML commands, so use an account with the right permissions.
What are the best StarRocks alternatives?
Popular alternatives to StarRocks include designcomputer/mysqlmcpserver, ClickHouse/mcp-clickhouse and metabase-ai-assistant. See all StarRocks alternatives























