Skip to main content
Glama

k8s-mcp-assistant

A read-only Kubernetes MCP (Model Context Protocol) server to help developers quickly inspect the state of their apps in a dev cluster — without giving them full kubectl access.

Built for teams where only Cloud/SRE has cluster access, but developers still need answers like:

  • “Why is my app in CrashLoopBackOff?”

  • “What do the pod events say?”

  • “Show me the container logs (including --previous)”


What it does

This MCP exposes safe, read-only tools that fetch Kubernetes status and logs from a cluster using a restricted kubeconfig / ServiceAccount.

Tools

  • k8s.app_status

    • Shows a high-level view of an app (deploy/pods readiness, restarts, basic diagnostics)

  • k8s.pod_logs

    • Fetches pod logs with practical options like tail, since, timestamps, container, and previous

⚠️ This project is intentionally read-only: no apply, no delete, no exec, no port-forward, no secret retrieval.


Quickstart (local)

1) Clone & install

git clone https://github.com/nicolasmosquerar/k8s-mcp-assistant.git
cd k8s-mcp-assistant
npm install
npm run build


**Made with ❤️ for safer Kubernetes debugging**
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nicolasmosquerar/k8s-mcp-assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server