framedash-mcp-server

v0.2.1
io.github.crane-valley/framedash-mcp-server Checked 20 hours ago Published 17 days ago

MCP server for Framedash game telemetry: query analytics, heatmaps, perf regressions, and alerts

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query Query Events

Execute SELECT-only SQL against the ClickHouse events table. Requires an API key with data:admin; analytics:read alone and OAuth tokens cannot use this tool. For readonly access use list_builds, compare_builds, or get_insights instead; do not request elevated credentials for those tasks. Returns up to limit rows (default 100, max 1000).

ParameterTypeDescription
sql *stringSQL query to execute
limitintegerMax rows to return (default 100)
project_idstringOverride the default project ID

get_dashboard Get Dashboard

Get project dashboard metrics (KPIs, daily active users, top events). Requires analytics:read.

ParameterTypeDescription
daysTime period: 7, 14, 30, or 90 days (default 30)
project_idstringOverride the default project ID

get_retention Get Retention

Get player retention cohort analysis. Requires analytics:read.

ParameterTypeDescription
daysTime period: 7, 14, 30, or 90 days (default 30)
project_idstringOverride the default project ID

get_funnel Get Funnel

Analyze event funnels. Requires analytics:read and 2-8 event names as steps.

ParameterTypeDescription
steps *stringComma-separated event names (2-8 steps)
daysTime period: 7, 14, 30, or 90 days (default 30)
project_idstringOverride the default project ID
windowConversion window in seconds: 3600, 21600, 86400, or 604800 (default 86400)

get_insights Get Insights

Get aggregated insights for a metric grouped by a dimension. Requires analytics:read. Results are the top groups, not an exact-build event breakdown; use list_builds/compare_builds for readonly build comparisons.

ParameterTypeDescription
group_by *stringDimension to group by (e.g. event_name, platform)
metric *stringMetric to aggregate: count or unique_players
daysTime period: 7, 14, 30, or 90 days (default 30)
event_namestringFilter by event name
limitMax groups to return: 10, 20, or 50
project_idstringOverride the default project ID

get_heatmap Get Heatmap

Get heatmap grid data for a map (analytics:read). Legacy text is unchanged; structuredContent.cells contains the same complete cell subset, with total/returned/truncated describing response truncation, not ingestion readiness. Context filter strings are prefixes when listed in context.truncated_fields. Coordinates and cell_size use engine world units, not image pixels. Consult list_maps for upAxis/bounds: Y-up maps (Unity, Godot) use x/z and omit y; otherwise x/y. Null metric causes are unknown.

ParameterTypeDescription
map_id *stringMap ID to query (accepts the row UUID or slug from list_maps)
cell_sizeCell size: 5, 10, 25, or 50 (default 25)
daysTime period: 1, 7, 14, or 30 days (default 30)
event_namestringFilter by event name
project_idstringOverride the default project ID

list_builds List Builds

List builds and event/session/player counts. Requires analytics:read. By default returns the newest 50 builds; use build_id for an exact older build. Event counts are not per-metric sample counts or proof that ingestion is complete.

ParameterTypeDescription
build_idstringExact SDK-reported build_id; avoids the newest-50 list cap
daysTime period: 7, 14, 30, or 90 days (default 30)
freshbooleanBypass the aggregation cache (default false); useful when checking newly ingested samples
project_idstringOverride the default project ID

compare_builds Compare Builds

Compare two builds using the readonly builds/compare API (analytics:read; no SQL/admin access required). Returns P50/P95, sample/session counts and diffs. isRegression reports direction only, not a threshold breach or statistical certainty. Null metrics have an unknown cause; do not infer unsupported SDKs. Verify expected samples and ingestion readiness separately. Unfiltered comparisons include the whole build; map/platform filters change the population. A map filter excludes map_load events, so load_time_ms is unavailable under that filter. For an opt-in CI gate use framedash perf-diff --thr…

ParameterTypeDescription
baseline *stringKnown-good SDK-reported build_id
candidate *stringDifferent SDK-reported build_id to compare
daysTime period: 7, 14, 30, or 90 days (default 30)
freshbooleanBypass the aggregation cache (default false); useful when checking newly ingested samples
map_idstringRestrict to one spatial map_id; excludes map_load samples
platformstringRestrict to one platform
project_idstringOverride the default project ID

list_projects List Projects

List projects accessible to the current credential. Requires analytics:read.

get_project_status Get Project Status

Get the status of a project (event counts, last event time, etc.). Requires analytics:read.

ParameterTypeDescription
project_idstringOverride the default project ID

list_maps List Maps

List all maps in the project, including upAxis and bounds for interpreting heatmap coordinates. Requires analytics:read.

ParameterTypeDescription
project_idstringOverride the default project ID

list_content List Content

List content registry entries (event names, display labels, etc.). Requires analytics:read.

ParameterTypeDescription
project_idstringOverride the default project ID
typestringFilter by content type

list_alerts List Alerts

List all alert rules in the project. Requires analytics:read.

ParameterTypeDescription
project_idstringOverride the default project ID

get_alert_history Get Alert History

Get alert event history (trigger/resolve events). Requires analytics:read.

ParameterTypeDescription
limitintegerMax events to return (default 50)
project_idstringOverride the default project ID