# Running AI MCP Tools on Kubernetes with kagent Page: https://stenobird.com/podcast/agentic-devops/running-ai-mcp-tools-on-kubernetes-with-kagent Text version: https://stenobird.com/podcast/agentic-devops/running-ai-mcp-tools-on-kubernetes-with-kagent.md Podcast: [Agentic DevOps : AI Engineering for Infrastructure](https://stenobird.com/podcast/agentic-devops) Published: 2025-07-09T00:29:47+00:00 Episode link: https://agenticdevops.fm/episodes/running-ai-mcp-tools-on-kubernetes-with-kagent Audio file: https://media.transistor.fm/da7123c0/8b33abdd.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/agentic-devops/episodes/running-ai-mcp-tools-on-kubernetes-with-kagent Duration seconds: 2604 ## Resource Explore the intersection of Kubernetes and AI agents through the lens of the kagent project and the Model Context Protocol (MCP). Learn how to manage, deploy, and secure AI-driven infrastructure automation workflows. ## Highlights - Main idea: AI agents in DevOps consist of three core pillars: system prompts, LLMs, and specialized tools - Practical takeaway: Use kagent to provide a Kubernetes-native way to deploy and manage AI workflows and MCP servers - Failure mode: The Model Context Protocol (MCP) spec lacks built-in security, meaning identity and access management must be handled externally - Technical challenge: Managing the 'context window' and tool sprawl is critical to prevent agent confusion and high token costs - Security risk: Centralized CI/CD pipelines storing API keys for agent tools create significant new attack vectors ## Topics Kubernetes, AI Agents, Model Context Protocol, kagent, DevOps Automation, Infrastructure as Code, Cloud Native, AI Security ## Chapters - 1:00 — Introduction to kagent: An overview of the kagent open-source project and its role in the Kubernetes ecosystem. - 4:10 — The Hype and Anxiety of AI: Discussing the nervous excitement surrounding the rapid deployment of new AI technologies in production. - 7:30 — AI Workflows in Production: Evaluating real-world use cases for AI agents that actually save time and money. - 10:40 — AI Troubleshooting Buddies: The potential for AI agents to act as automated troubleshooting assistants for infrastructure. - 14:00 — The Power of AI Tools: How tools like Docker and Kubernetes integration make LLM agents powerful and actionable. - 17:10 — The Seven-Layer Agent Cake: Breaking down the framework layer and how it manages agents and prompts. - 20:20 — Running MCP on Kubernetes: Deciding where to host MCP tools and the benefits of a Kubernetes-native approach. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/agentic-devops/episodes/running-ai-mcp-tools-on-kubernetes-with-kagent/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/agentic-devops/running-ai-mcp-tools-on-kubernetes-with-kagent.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.