Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Investigate Kubernetes Alerts Through MCP Integrations

Overview

Build an n8n workflow in which an alert webhook starts an AI Agent that queries Kubernetes and monitoring MCP servers with read-only tools and hands the on-call engineer a list of likely causes to check.

Problem or Objective

More in Coding and Code Review

AI Agents and Models

Tools and Integrations

Tools
n8n · Kubernetes
Prerequisites
An n8n instance (self-hosted or cloud) with a chat model credential, MCP servers for your cluster and metrics that you run with read-only access, and an alerting system that can send webhooks.

How It Works

In n8n, start a workflow with a Webhook node, require authentication on it, and point your alerting system's webhook notifications at its production URL (it registers when you publish the workflow). Add an AI Agent node with a chat model and give it the alert payload. Connect MCP Client Tool nodes for the MCP servers you run for your cluster and your metrics, each with its own credential, and set Tools to Include to Selected so the agent only gets read tools such as listing pods, reading events and logs, and querying metrics. Instruct the agent to gather evidence for the alert, rank two or three likely causes with the evidence for each, and suggest what a person should check next, without changing anything. Send its answer to a private channel or note that only the on-call engineer reads, marked as an unverified hypothesis. The engineer checks the evidence and decides what to share or do. Test with the test URL and a sample alert before publishing.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, Kubernetes.
  3. Check the prerequisitesAn n8n instance (self-hosted or cloud) with a chat model credential, MCP servers for your cluster and metrics that you run with read-only access, and an alerting system that can send webhooks.
  4. Gather your detailsCollect what the prompt asks for: Where alerts come from, Cluster name, Alert data passed in by the workflow, Metrics to check, How far back to look, Who reviews the result.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.

Practical Starter Prompt: Investigate an incoming cluster alert

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You receive an alert from [Where alerts come from] for the cluster [Cluster name]: [Alert data passed in by the workflow]. Use only your read-only tools to gather evidence: pod status, recent events, logs from the affected workload, and the metrics [Metrics to check] for the last [How far back to look]. Rank up to three likely causes, give the evidence for each, and list what a person should check next. Do not restart, scale, delete or change anything, and say clearly that this is an unverified hypothesis for [Who reviews the result] to review.

Limit the MCP tools to read-only ones with Tools to Include. The result goes privately to the on-call engineer, who checks the evidence and decides on any action; test with sample alerts on the test URL before publishing the workflow.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The n8n pages support a Webhook node that starts a workflow when another service sends an event, an AI Agent node that calls connected tools, and an MCP Client Tool node that exposes a chosen set of an MCP server's tools to the agent. They say nothing about Kubernetes or about how accurate the agent's diagnosis will be, so its output stays a hypothesis.

Limitations and Considerations

Give the agent read-only tools only and no way to restart, scale or delete anything; any change to production is made by a person. Use a service account with read-only cluster permissions for the MCP server, and check that its tools really are read-only before the first run. Require authentication on the webhook URL. Alert payloads and logs can contain internal data that is sent to your model provider; check that this is allowed. Before the first run, check that your chat or notes system can receive the output privately, and keep a manual fallback of reading the n8n execution log. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)n8n.io

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Webhook | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 15:59 UTC

    What this source supports
    • Use the Webhook node to create webhooks , which can receive data from apps and services when an event occurs.
    • You can require authentication for any service calling your webhook URL.
  2. AI Agent | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • Connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
    • You must connect at least one tool sub-node to an AI Agent node.
  3. MCP Client Tool | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 17:25 UTC

    What this source supports
    • The MCP Client Tool node is a Model Context Protocol (MCP) client, allowing you to use the tools exposed by an external MCP server.
    • You can connect the MCP Client Tool node to your models to call external tools with n8n agents.
Report a problem

More with n8n

Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Reported by source

Build a self-hosted AI agent workflow with human approval

Use n8n's visual canvas to wire an LLM agent to your apps, add tools and memory, and pause for human approval before it acts.

github.comn8n-io/n8n
Planned, not done

Prepare Cross-Channel Social Posts From Telegram Requests

Build an n8n workflow where a Telegram message starts an AI agent that picks an image from your shared folder, drafts a caption per network and sends the drafts back to you for approval before posting.

docs.n8n.ion8n-io/n8n

View all: n8n