MCP Admin Console
File: mcp_admin_console/server.py
The MCP Admin Console is a FastMCP server that exposes the CelerData BYOC admin console API as tools for Claude agents. It provides 100+ tools across 6 categories.
Architecture
Claude Agent --> MCP Protocol --> FastMCP Server --> AdminConsoleClient --> CelerData Admin API
Tool Categories
| Category | Module | Description |
|---|---|---|
| Clusters | tools/clusters.py | List, describe, diagnose clusters; query history; coredumps |
| Logs | tools/logs.py | StarRocks FE/BE logs, audit logs, platform service logs |
| Accounts | tools/accounts.py | Accounts, orgs, users, RBAC, cluster authorization |
| Billing | tools/billing.py | Bills, wallets, orders, discounts |
| Infrastructure | tools/infrastructure.py | Regions, CSPs, AMIs, releases, VM types, volumes, tags |
| Operations | tools/operations.py | Metrics, alarms, schedules, commands, reports, broadcasts |
Investigation Workflow
The recommended sequence for investigating a cluster issue:
list_clusters-- Find the cluster by name or accountdescribe_cluster-- Get region, VM bizIds, statequery_sr_logs-- Search FE/BE logs usingvmBizIdfrom step 2get_query_records-- View SQL query history
Running the Server
cd byocusage
python -m mcp_admin_console.server