Skip to content

docs(observability): document ClickStack MCP tools and authoring example - #6565

Closed
sankalpsthakur wants to merge 2 commits into
ClickHouse:mainfrom
sankalpsthakur:docs/clickstack-mcp-tools-and-authoring
Closed

docs(observability): document ClickStack MCP tools and authoring example#6565
sankalpsthakur wants to merge 2 commits into
ClickHouse:mainfrom
sankalpsthakur:docs/clickstack-mcp-tools-and-authoring

Conversation

@sankalpsthakur

@sankalpsthakur sankalpsthakur commented Jul 22, 2026

Copy link
Copy Markdown

Summary

Fixes ClickHouse/ClickHouse#113308

The ClickStack MCP connection page already exists (from earlier PRs). This fills the remaining gaps from ClickHouse/ClickHouse#113308: the tools the server exposes, a short authoring example for dashboards with row-click drilldowns, and Codex CLI setup for OSS/BYOC.

Related docs work in the same ClickStack area: #6564 (number-tile color picker on dashboards).

What this adds

  • Available tools table with clickstack_* names and short descriptions (sources, query, dashboards including patch/search/tile, alerts, saved searches, traces)
  • Typical investigation flow (list sources → describe → query → save dashboard → clickstack_query_tile)
  • Authoring example for a Service Inventory table that drills into Service Detail via onClick (links to the existing row-click drilldowns guide)
  • Codex CLI connection snippet (--bearer-token-env-var) for OSS/BYOC
  • Corrects multi-team guidance: use x-hdx-team (no team-listing MCP tool)

Verification

Cross-checked against HyperDX/ClickStack source:

  • packages/api/src/mcp/mcpServer.ts — server name clickstack, tool modules registered
  • packages/api/src/mcp/tools/** — tool names such as clickstack_list_sources, clickstack_save_dashboard, clickstack_patch_dashboard, clickstack_search_dashboards, clickstack_get_dashboard_tile, …
  • packages/api/src/mcp/tools/dashboards/schemas.tsonClick dashboard target + expressionTemplate filters
  • Upstream MCP.md in hyperdxio/hyperdx for the tool catalog and Codex syntax

Test plan

  • Preview the MCP page and confirm the tools table and authoring example render
  • Confirm the row-click drilldowns cross-link resolves
  • Spot-check tool names against a live MCP client tool list if available

Expand the ClickStack MCP server page with the clickstack_* tool catalog,
a dashboard + row-click authoring example, Codex CLI connection snippet,
and a correction that multi-team context uses the x-hdx-team header (no
team-listing tool).

Fixes #6361
@sankalpsthakur
sankalpsthakur requested a review from a team as a code owner July 22, 2026 13:34
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

@sankalpsthakur is attempting to deploy a commit to the ClickHouse Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

CLAassistant commented Jul 22, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Blargian

Blargian commented Aug 4, 2026

Copy link
Copy Markdown
Member

Hi @sankalpsthakur, we've migrated docs to a new platform and consolidated everything into ClickHouse/ClickHouse. I've ported over this PR to the other repo for you with ClickHouse/ClickHouse#113271. Please feel free to push commits to that branch as needed. Closing this one in favour of ClickHouse/ClickHouse#113271.

@Blargian Blargian closed this Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Document the ClickStack MCP server

3 participants