What is StarRocks Official MCP Server: Mirror & Scale?
The StarRocks MCP Server serves as a middleware layer connecting AI assistants with StarRocks databases. It enables seamless SQL execution and database exploration while eliminating the need for complex setup procedures. This server acts as both a mirror for database state and a scaling interface for managing database operations efficiently.
How to use StarRocks Official MCP Server: Mirror & Scale?
To configure the MCP server, start by defining environment variables specifying StarRocks host details. Two deployment methods are supported:
- Production environments: Use pre-packaged configurations
{ "mcpServers": { "mcp-server-starrocks": { "command": "uv", "args": ["run", "--with", "mcp-server-starrocks", "mcp-server-starrocks"], "env": { "STARROCKS_HOST": "default localhost", "STARROCKS_PORT": "default 9030", "STARROCKS_USER": "default root", "STARROCKS_PASSWORD": "default empty" } } } }
{ "mcpServers": { "mcp-server-starrocks": { "command": "uv", "args": ["--directory", "path/to/mcp-server-starrocks", "run", "mcp-server-starrocks"], "env": { "STARROCKS_HOST": "default localhost", "STARROCKS_PORT": "default 9030", "STARROCKS_USER": "default root", "STARROCKS_PASSWORD": "default empty" } } } }