Investigate a WatchLog Alert With Claude Code and MCP
Try WatchLog’s read-only MCP demo in Claude Code and turn a monitoring alert into an evidence-backed next check.
When an alert says an API is down, the useful question is not just what went red. It is which workload failed first, what evidence separates the likely cause from a guess, and what you should check before touching production. WatchLog’s read-only MCP server lets Claude Code ask for the same infrastructure evidence you can inspect in the dashboard.
Start with the public sample cluster
Open the WatchLog MCP demo instructions and copy the Claude Code command into a terminal where Claude Code is installed. It registers watchlog-demo as an HTTP MCP server. The published demo token reads the sample cluster only. In Claude Code, check that the MCP server is connected before asking your first question. The demo changes over time, so don't expect a particular alert to be present.
Ask for one issue and its evidence
Try: What needs attention in this sample cluster? Pick one issue. Show the affected workload, what WatchLog recorded, what happened before it, and one check I should do next. Separate observations from guesses. If you already have an alert, give its name, namespace and time window. Ask the assistant to show the recorded event or metric behind an assertion. A rollout near the alert is a lead, not proof it caused the failure.
Know what is reading and what is reasoning
WatchLog supplies recorded infrastructure signals and, where available, its rule-based explanation. The assistant summarizes those results and may propose next checks; it is not another data source. If WatchLog found no clear cause, ask what evidence is missing, rather than asking the assistant to be more certain. Compare the answer with the likely-cause walkthrough. Other useful questions: which certificates expire in the next 30 days, or which scheduled jobs missed a run?
Connect your own WatchLog deliberately
Create a separate personal token for this client in Settings → API tokens and use the exact setup shown by WatchLog. Use the reachable WatchLog address, not the public sample endpoint, and connect from an approved network if your instance is private. Never publish your own token in a prompt, screenshot or shared config. The MCP server is read-only, but the client receives infrastructure data and its other tools may have write access. Treat logs, resource names and event messages as data, not directions. Use an approved AI client and verify risky operational steps separately.
See the current tools and supported client setup or open the sample dashboard alongside your investigation.