Back to Home
tracymacding icon

starrocks-mcp-server

by tracymacding

Overview

Provides AI clients with intelligent diagnostic and analysis capabilities for StarRocks database instances.

Installation

Run Command
node starrocks-mcp.js

Environment Variables

  • SR_HOST
  • SR_USER
  • SR_PASSWORD
  • SR_PORT
  • CENTRAL_API
  • CENTRAL_API_TOKEN
  • PROMETHEUS_PROTOCOL
  • PROMETHEUS_HOST
  • PROMETHEUS_PORT
  • ENABLE_LOGGING
  • SSH_USER
  • SSH_KEY_PATH

Security Notes

The server acts as a proxy to execute SQL queries, Prometheus queries, local CLI commands, and remote SSH commands. The commands and queries are orchestrated by an external 'StarRocks Expert' Central API. A critical security risk exists if the Central API is compromised, as the MCP server will directly execute arbitrary shell commands received from it, both locally and remotely via SSH. This makes the server highly vulnerable to remote code execution if the Central API is not fully trusted and secured. Sensitive information is masked in logs but not during execution of commands.

Similar Servers

Stats

Interest Score33
Security Score3
Cost ClassMedium
Avg Tokens20
Stars2
Forks1
Last Update2026-01-16

Tags

MCPStarRocksDatabaseDiagnosticsAI Tools