StarRocks/mcp-server-starrocks
StarRocks MCP (Model Context Protocol) Server
Platform-specific configuration:
{
"mcpServers": {
"mcp-server-starrocks": {
"command": "npx",
"args": [
"-y",
"mcp-server-starrocks"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://mseep.ai/app/starrocks-mcp-server-starrocks)
The StarRocks MCP Server acts as a bridge between AI assistants and StarRocks databases. It allows for direct SQL execution, database exploration, data visualization via charts, and retrieving detailed schema/data overviews without requiring complex client-side setup.
<a href="https://glama.ai/mcp/servers/@StarRocks/mcp-server-starrocks"> </a>
SELECT queries (read_query) and DDL/DML commands (write_query).starrocks:// resources).proc:// resource path.table_overview) or entire databases (db_overview), including column definitions, row counts, and sample data.query_and_plotly_chart).The MCP server is typically run via an MCP host. Configuration is passed to the host, specifying how to launch the StarRocks MCP server process.
Using Streamable HTTP (recommended):
To start the server in Streamable HTTP mode:
First test connect is ok:
$ STARROCKS_URL=root:@localhost:8000 uv run mcp-server-starrocks --testStart the server:
uv run mcp-server-starrocks --mode streamable-http --port 8000Then config the MCP like this:
Loading reviews...