Kubernetes management with natural language using GPT-4o and MCP tools
UnknownWhat this workflow does
This AI workflow has 8 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and Mcp (community).
How it runs
Trigger: When a chat message arrives.
- K8s Cluster Analyzer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (List K8s Clusters)
- Switch K8s Context (Mcp Client): execute tool
- K8s Query Analyzer (AI Agent): runs an AI agent, with model: OpenAI K8s Model
- Kubectl MCP Tool (Mcp Client): execute tool
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-mcp is verified or supports 3.0 (used in Kubectl MCP Tool, Switch K8s Context).
- Check that n8n-nodes-mcp is verified or supports 3.0 (used in List K8s Clusters).
Nodes used (5)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Mcp Client
n8n-nodes-mcp.mcpClient - Mcp Client Tool
n8n-nodes-mcp.mcpClientTool
From the author
Who is this for? This workflow is designed for DevOps engineers, platform engineers, and Kubernetes administrators who want to interact with their Kubernetes clusters through natural language queries in n8n. It's perfect for teams who need quick cluster…