Inspect Kubernetes clusters and logs
The agent retrieves a list of active clusters, inspects specific workload statuses, and fetches relevant log entries to diagnose issues without modifying any infrastructure.
How it works
Read-onlyOperations and infrastructure
The agent connects to the Ankra MCP server using a read-only token. It first calls list_clusters to identify available environments. Then, it queries specific workloads or namespaces to check their health. Finally, it retrieves logs for troubleshooting. The user should verify that the token has only mcp:read scope to ensure no accidental changes occur.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Inspect Kubernetes clusters and logs
List all my Ankra clusters and show the current status of the main web application workload in the production cluster.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Use it to inspect clusters, workloads, logs, alerts, and related platform data from an MCP client.MCP Server - Ankra