mcp-server-starrocks

mcp-server-starrocks

76

The StarRocks MCP Server provides a robust connection between AI assistants and StarRocks databases, offering features like direct SQL execution, schema exploration, and data visualization. It is designed to simplify data interactions with intelligent caching and flexible configurations.

What is the default port for the StarRocks MCP server?

The default port for the StarRocks MCP server is 9030.

Can I bypass the cache when retrieving table overviews?

Yes, you can bypass the cache by setting the 'refresh' parameter to true when calling the 'table_overview' or 'db_overview' tools.

How can I visualize data using the StarRocks MCP server?

You can visualize data by using the 'query_and_plotly_chart' tool, which executes a SQL query and generates a Plotly chart from the results.

Is it possible to configure the server to use a specific database by default?

Yes, you can set the 'STARROCKS_DB' environment variable to specify a default database for the server to use.

What happens if the overview limit is exceeded?

The 'STARROCKS_OVERVIEW_LIMIT' provides a soft target for the maximum length of the overview string generated per table, helping to manage memory usage. If exceeded, it may truncate the overview to fit within the limit.