cd /news/ai-agents/your-ai-agents-can-now-see-kubernete… · home › topics › ai-agents › article
[ARTICLE · art-179566] src=cast.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Your AI agents can now see Kubernetes cost and reliability metrics: meet CAST RADAR

CAST AI has made CAST RADAR generally available, including an MCP server that lets AI agents query Kubernetes cost and health data directly instead of collecting raw cluster state with kubectl. CAST RADAR shows cost alongside throughput, error rate, latency (P50, P95, P99) and OOM kills for each workload, with data typically 5 to 10 minutes behind the cluster and a maximum delay of 15 minutes; the install is read-only and free below 250 CPUs. CAST AI cited its 2026 State of Kubernetes Optimization report finding that the average Kubernetes cluster uses 8% of its CPU.

key takeaway

Connect agents to CAST RADAR's MCP server instead of a kubeconfig so cost questions read pre-modeled data with pricing and allocation already applied, avoiding repeated kubectl collection and broad cluster credentials.

by read8 min views15 publishedDec 1, 2026
Your AI agents can now see Kubernetes cost and reliability metrics: meet CAST RADAR
Image: Cast (auto-discovered)

CAST RADAR is now generally available, and you can use the MCP server to connect your AI agents to Kubernetes cost and health data. Asking an agent to work that out through kubectl is like asking an accountant to rebuild the ledger from receipts before answering each question. It can be done. It takes a while, the totals can differ from one attempt to the next, and the accountant now has the keys to the filing room.

Key takeaways #

  • Agents can answer cost and health-related questions using your cluster data through MCP instead of collecting raw cluster state with kubectl .
  • CAST RADAR shows cost next to error rate, latency and OOM kills for every workload, so you see what a change did to both.
  • The install is read-only, the first report arrives in minutes, and CAST RADAR is free below 250 CPUs.

How agents get Kubernetes data today #

The average Kubernetes cluster uses 8% of its CPU, according to our 2026 State of Kubernetes Optimization report. The evidence of that waste already sits in your clusters. Reaching it is the hard part, and it gets harder when the one asking is an AI agent.

One pattern is to hand the agent a kubeconfig and let it run kubectl. To answer “which team’s workloads cost the most?”, the agent lists namespaces, pulls pods and nodes as JSON, works out requests and usage, finds prices somewhere, maps namespaces to teams, and only then starts reasoning. On the next question it does all of it again.

Illustrative output. Raw cluster state has no prices, no owners and no comparison to last week.

Three things follow from that: Every question pays for its own collection, so answers come slowly and raw state can fill the context window before any analysis starts; Pricing and allocation get decided on the fly, so two runs of the same question can disagree; And the credential is broad: a kubeconfig that is good enough for reading can be good enough for changing things, which is a lot of access for a cost question.

kubectl is an excellent tool for operating a cluster. As the data layer for cost questions, it leaves the agent doing an analyst’s job from scratch every time.

Meet CAST RADAR and its Kubernetes MCP server #

CAST RADAR shows the cost of each cluster, namespace and workload next to throughput, error rate and latency (P50, P95 and P99). It also reports OOM kills, requests and actual usage for each workload. Allocation groups roll spend up by team, product or environment. You can compare any two periods or check the current month against a forecast. Cost anomaly detection flags spikes soon after they happen. Before you change anything, the savings simulation estimates what bin packing, Spot and workload autoscaling would save.

Install CAST RADAR with castctl, Helm or Terraform. The installation is read-only and never changes your cluster. The first report arrives within minutes, and data typically runs 5 to 10 minutes behind the cluster, with a maximum delay of 15 minutes. Every plan includes unlimited clusters.

Reliability signals sit in the same product as cost.

Modeled data is the ledger #

A raw cluster tells you what exists. A ledger tells you what it cost, which team it belongs to and how it compares with last week. CAST RADAR keeps the ledger: it applies pricing, groups workloads into the teams, products and environments you define with allocation groups, sets requests beside real usage, and compares periods. We call this modeled data, because the joins and allocations are already done.

The Model Context Protocol (MCP) server exposes that ledger to your agents. The console, CastPilot and the MCP server all read the same data, so a person and an agent are working from the same figures. CastPilot, the built-in agent, answers questions in plain English inside the console. The MCP server brings the same data to the agents and automation your team is building, in the client you already use.

Names are slippery in Kubernetes. Two clusters can share a name, and the same workload name can exist in several namespaces. In clients that support MCP elicitation, the server asks which one you mean through a form, so the model never has to pick one and carry on.

If you want to see how the server is built, our engineers wrote it up in the CastPilot MCP post.

What changes when your agent has the ledger #

For FinOps

The monthly review used to start with a total and end with a hunt. With the ledger behind your agent, it starts with a question. Which workloads moved against last week? What drove spend in production-eu? Which team’s allocation group grew fastest? The answer comes back with workload names and the comparison attached, and the console shows the same figures if you want to check them. Spike detection flags jumps soon after they happen, so the review can become a recap.

An answer with workload names and dollar changes attached.

Cost by team with allocation groups.

For platform engineers

You hold the cluster access, so cost questions tend to land on you. Install CAST RADAR once and those questions can move to the people and agents asking them. Cost also sits beside latency and error rate, so when you change the requests on a workload, you can see what happened to estimated cost and to latency on the same screen.

For AI and automation teams

Your agent or workflow gets live cost and health context through the same MCP server, with no new dashboard to wire in. A coding assistant can check a workload’s cost and error rate while it reviews a change. A Slack bot can answer “what did staging cost this week” for the whole team.

Read-only from end to end #

The CAST RADAR install reports and never changes your cluster. Your agent connects to the MCP server, which gives read-only access. It never needs a kubeconfig.

You can sign in through the browser with OAuth, or use an API access key for headless agents and CI pipelines. A key inherits the role bindings of the user or service account that creates it, and it is scoped to one organization. For agents and CI, create the key from a service account with a narrow role.

A key is scoped to one organization and inherits the role bindings of whoever creates it.

Costs in CAST RADAR are estimates built from published cloud prices. They are designed to show what changed and why, so use them for that and keep your invoice for chargeback. CAST RADAR covers Kubernetes spend only.

Connect your agent to the Kubernetes MCP server #

  1. Install CAST RADAR on a cluster with castctl , Helm or Terraform.
  2. Run castctl mcp add and follow the prompts. It detects supported AI clients and walks you through setup. Any client that supports remote HTTP MCP servers can connect.
  3. Sign in through the browser when prompted.
  4. Ask: “Use Cast AI to list the clusters I can access and show their current state.”

For a headless agent, add the server to your client’s MCP configuration (most clients accept a headers map for remote servers) and send an API access key as a bearer token:

{
  "mcpServers": {
    "castai": {
      "url": "https://mcp.cast.ai/mcp",
      "headers": {
        "Authorization": "Bearer your-api-access-key"
      }
    }
  }
}

The URL above is for the US region. EU organizations use https://mcp.eu.cast.ai/mcp and India uses https://mcp.india.cast.ai/mcp. Store the key in a secrets manager or an environment variable, and keep it out of your repositories.

Then try questions from your own week:

  • “Which of my clusters are driving the most cost?”
  • “Where are the rightsizing opportunities?”
  • “Help me understand the health of this cluster.”

In clients that support it, /mcp prompts lists ready-made prompts such as cost-spike and cluster-health. The full setup guide is in the Cast AI docs.

Pricing #

CAST RADAR is free below 250 CPUs, with no credit card. Above that, each plan is one flat monthly fee up to its ceiling, based on average monitored CPU per month. Clusters are unlimited on every plan. The MCP server, the full CastPilot agent, anomaly detection and budgets are included on paid plans.

Plan Average vCPUs Price
Free Below 250 $0
Starter 250 to 400 $249 a month
Team 400 to 900 $499 a month
Scale 900 to 1,500 $699 a month
Above 1,500 1,500 and up Talk to us

Create a free account and connect your cluster to get your first insights.

Frequently asked questions #

Does my agent need access to my cluster?

No. Your agent connects to the Kubernetes MCP server and reads data that CAST RADAR has already collected. The cluster runs CAST RADAR’s read-only install, and your agent never needs a kubeconfig.

How fresh is the data?

Data typically runs 5 to 10 minutes behind the cluster, and 15 minutes at most. The first report arrives within minutes of install.

Is it accurate enough for chargeback?

CAST RADAR estimates cost from published cloud prices. It is built to show what changed and why, with spike detection, period comparison and allocation groups. If your chargeback process needs invoice-grade figures, use your cloud invoice for that step.

How is this different from running Kubecost or OpenCost myself?

Self-hosting means your team owns the deployment, the metrics storage, the pricing configuration and the upgrades. CAST RADAR is a managed service with one read-only install. It also puts reliability signals next to cost and answers questions through CastPilot and MCP.

What does it cost?

It is free below 250 CPUs. Above that, plans start at $249 a month, and clusters are unlimited on every plan.

Does Cast AI provide automation?

Does Cast AI provide automation?

CAST RADAR starts with read-only reporting. Automation is a separate decision on the same platform. Cast AI also has products to help you automate Kubernetes infrastructure across workloads, GPUs, storage and databases.

── more in #ai-agents 4 stories · sorted by recency
── more on @cast ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-ai-agents-can-n…] indexed:0 read:8min 2026-12-01 · —