One Connector,
an Army of Tools
Hand an autonomous agent a goal on your ops box. Watch it reach for every tool you've already installed there — kubectl, helm, terraform, the whole toolbox — and finish the job.
"One connector. Every tool you've already installed there. One agent. One goal."
How the recipe runs.
- 1
Your ops box already has the whole toolbox
kubectl with the kubeconfig contexts for every cluster you touch. helm, terraform, aws / gcloud / az CLIs. Custom scripts under ~/bin. RBAC and secrets already in place. Install the MCP-Connectors client on that box once — the whole toolbox becomes reachable.
- 2
Hand the agent a goal, not a command list
"The checkout pods have been flaky for two hours — find the pattern and fix it." No step list. No specific commands. Just the outcome you want.
- 3
The agent picks kubectl itself, one call at a time
kubectl get pods -n checkout, then logs deployment/checkout --tail=200, then describe pod checkout-abc, then top nodes. The same sequence you'd run at your terminal — at machine speed, without you typing.
- 4
It correlates, hypothesises, tries the fix
"Memory pressure on node-3, triggering evictions." Proposes kubectl cordon node-3 + kubectl rollout restart deployment/checkout. Runs it — or waits for your approval if the recipe demands sign-off.
- 5
You get the report, not the transcript
"Checkout was crashlooping on node-3 due to OOM. Cordoned node-3, restarted the deployment. Two pods scheduled onto node-1 and node-2. Green. Full command history in the trace." One paragraph. One line to approve or roll back.
One agent. One connector. Every tool your box already knows.
The three-zone trust boundary you've seen in other recipes, with kubectl at the centre of a toolbox that grows every time you install something new on that box.
kubectl is fair game — and it's not alone.
Every kubectl verb your ops box has RBAC for — get pods, logs, describe, top nodes, rollout restart, apply -f, exec, port-forward. Plus every other CLI already on that box: helm, terraform, ansible, cloud CLIs, custom scripts under ~/bin. The agent has the same reach a human at the terminal would, gated by the same RBAC and kubeconfig contexts.
Same setup, more you can reach.
Reach every node in your cluster with one command. Trust every hop a single call passes through. Cover dev, staging, and prod without adding another connector.
See what else this setup can do
Hit the whole cluster with a single call.
One kubectl call fans out to whatever the RBAC on your kubeconfig can see — nodes, namespaces, workloads. The agent never has to know the fleet size; kubectl does.
Follow one call all the way through — no black box.
Six hops from the agent's goal to the API's answer, and back. Your box's credentials are the only shared state that ever leaves the tunnel — same path whether the agent runs once or in a loop of hundreds.
- 1Agent decidesGiven the current goal, picks its next tool call — e.g. `kubectl logs deployment/checkout --tail=200`.
- 2Connector acceptsMCP-Connectors Server receives the call over the AI's connector URL.
- 3Tunnel to your boxServer routes through the per-user tunnel to the client on your ops box.
- 4kubectl runs thereExecuted under your box's uid, with your kubeconfig context — same call you'd type at the terminal.
- 5k8s API respondsAPI server returns the logs / status; kubectl formats them.
- 6Result bubbles backResponse travels the same path in reverse. Agent reads it, decides the next call.
Reach dev, staging, and prod from one client.
Same client, same connector, three kubeconfig contexts. Trust boundaries stay where they already are — the agent inherits the guardrails your RBAC already enforces per environment.
Who this works for.
Solo engineer running their own cluster — as shown, minus the RBAC granularity — you're both the operator and the agent's audience.
Platform team at a small-to-mid company — as shown, with per-namespace kubeconfig contexts giving the agent scoped reach (write in dev, read-only in prod, etc.).
Larger organisation with GitOps + change-control requirements * — directionally applicable, but direct kubectl mutations from the agent need to be paired with your PR-driven flow — agent proposes a manifest change, opens a PR, kubectl runs after human approve + merge.
* Marks a scale where the recipe is a signpost, not a ready blueprint — extra scoping and governance work needed.
What else this shape opens.
Same recipe, different toolbox. A few flavours worth naming:
- GitHub + Terraform IaC chain — agent proposes an infra change, opens a PR, terraform runs on merge.
- Ansible-after-Terraform — agent runs a config drift audit, drops a playbook to remediate.
- Postgres + backup — agent notices an anomaly, takes a
pg_dumpsnapshot before it intervenes. - Anything else your box already knows — every CLI, script, and credential on your ops box is on the same rail. If a human at the terminal can drive it, so can the agent.
Give the agent a goal.
Free forever for two connectors. Install one on the box that already holds your toolbox — see how far it can carry the work.