What are the prerequisites to run the server?
Python 3.11+, a reachable StarRocks cluster (FE service, default `localhost:9030` over MySQL protocol), and the `uv` package manager.
@StarRocks
基本情報
StarRocks MCP (Model Context Protocol) Server
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-starrocks": {
"command": "uv",
"args": [
"run",
"--with",
"mcp-server-starrocks",
"mcp-server-starrocks",
"--help"
]
}
}
}** Execute a SELECT query or other commands that return a ResultSet (e.g., `SHOW`, `DESCRIBE`). Optionally write the full result to a local file instead of returning it inline — useful for results too large to fit in the model context.
** Execute a DDL (`CREATE`, `ALTER`, `DROP`), DML (`INSERT`, `UPDATE`, `DELETE`), or other StarRocks command that does not return a ResultSet.
** Analyze a query and get analyze result using query profile or explain analyze.
** Executes a SQL query, loads the results into a Pandas DataFrame, and generates a Plotly chart using a provided Python expression. Designed for visualization in supporting UIs.
** Get an overview of a specific table: columns (from `DESCRIBE`), total row count, and sample rows (`LIMIT 3`). Uses an in-memory cache unless `refresh` is true.
** Get an overview (columns, row count, sample rows) for _all_ tables within a specified database. Uses the table-level cache for each table unless `refresh` is true.
The StarRocks Official MCP Server acts as a bridge between AI assistants and StarRocks databases. It enables direct SQL execution, database exploration, data visualization via charts, and retrieval of detailed schema and data overviews without requiring complex client-side setup.
Install uv (Python package manager) and configure an MCP host (e.g., Claude Desktop) to launch the server. Connection is set via environment variables (STARROCKS_URL or individual vars like STARROCKS_HOST, STARROCKS_PORT, etc.) or a Streamable HTTP endpoint. Run with uv run mcp-server-starrocks and optional flags like --mode stdio or --mode streamable-http --port 8000.
read_query (SELECT) and write_query (DDL/DML).starrocks:// resources (list databases, tables, schemas).proc:// resource path.table_overview and db_overview with row counts, samples.query_and_plotly_chart generates Plotly charts from query results.proc:// resource.Python 3.11+, a reachable StarRocks cluster (FE service, default `localhost:9030` over MySQL protocol), and the `uv` package manager.
Use either a single `STARROCKS_URL` (e.g., `root:password@localhost:9030/my_db`) or individual environment variables (`STARROCKS_HOST`, `STARROCKS_PORT`, `STARROCKS_USER`, `STARROCKS_PASSWORD`, `STARROCKS_DB`). The URL takes precedence.
`stdio` (default, for MCP hosts), `streamable-http` (recommended for RESTful APIs), and `sse` (deprecated, not recommended). Set via `--mode` flag or `MCP_TRANSPORT_MODE` env var.
Yes. Set the `STARROCKS_FE_ARROW_FLIGHT_SQL_PORT` environment variable to enable high‑performance Arrow Flight SQL protocol via ADBC drivers.
By default to `~/.mcp-server-starrocks/output/` (controlled by `STARROCKS_MCP_OUTPUT_DIR`). Absolute paths bypass this setting. Files are written on the machine running the MCP server.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
コメント