Skip to content

running radar locally with mutliple kubeconfigs and mcp #1104

Description

@anishp55

Describe the bug

not sure if this is a bug or not. but when running radar on you local system with the mcp server enabled, and multiple kubeconfigs set the LLM says it only has access to one cluster, while we can switch between the clusters in the UI, this doesn't update what the MCP has access to

To reproduce

Steps to reproduce the behavior:

  1. set the KUBECONFIG to point to multiple clusters.
  2. from the same shell start Radar
  3. use your tooling of choice to access your llm and access the mcp server
  4. ask the llm if it has access to the radar mcp server and list its tools
  5. ask it what clusters it has access to, this only returns the first cluster from the KUBECONFIG env var

Expected behavior

when asking using the MCP with multiple KUBECONFIGs i would expect the MCP to return it has access to how ever many clusters were pointed to by the KUEBCONFIG env var.

Screenshots

Image

Diagnostics (optional)

A diagnostics snapshot helps us debug faster — it captures your environment, cluster info, and Radar state automatically. It doesn't include secrets, credentials, or resource contents, but you're welcome to review and redact anything you'd prefer not to share. In Radar, press Ctrl+Shift+DCopy as Markdown, or click the bug icon (bottom-right corner) → Report Bug.

Diagnostics snapshot

If you'd rather not include diagnostics, these basics help:

  • Radar version: 1.8.1
  • Kubernetes: 1.35.2
  • Codex CLI and Zoo Code - GPT 5.5 and Qwen3.6 for the LLM's

Logs

Paste any relevant logs here

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions