Monitoring · Developer Tools

k8stools

benedatllc/k8stools

This package provides a collection of Kubernetes functions to be used by Agents. They can be passed directly to an agent as tools or placed behind an MCP server (included). Some use cases include.

Install

pip install k8stools

Client configuration

{
  "mcpServers": {
    "k8stools-stdio": {
      "command": "${workspaceFolder}/.venv/bin/k8s-mcp-server"
    }
  }
}
Category
Monitoring, Developer Tools
Updated
Oct 6, 2026

Tools (40)

  • get_cluster_info

    which cluster the tools are answering from: kubeconfig context, API server URL and version, or the capture being replayed

  • get_namespaces

    get a list of namespaces, like kubectl get namespace

  • get_node_summaries

    get a list of nodes, like kubectl get nodes -o wide (includes capacity/allocatable/conditions/taints/labels)

  • get_pod_summaries

    get a list of pods, like kubectl get pods -o wide, with each pod's controlling owner (e.g.

  • get_pod_container_statuses

    return the status for each of the container in a pod

  • get_pod_events

    return the events for a pod

  • get_pod_spec

    retrieves the spec for a given pod

  • get_logs_for_pod_and_container

    retrieves logs from a pod and container (supports tail, since_seconds, and previous).

  • get_deployment_summaries

    get a list of deployments, like kubectl get deployments

  • get_replicaset_summaries

    get a deployment's replica sets with their revision numbers and images.

  • get_workload_history

    what changed in a Deployment, StatefulSet or DaemonSet, and when: each retained revision of its pod template compared with the one before (images, resources,…

  • get_service_summaries

    get a list of services, like kubectl get services (includes selector/labels/annotations)

  • get_configmap_summaries

    get a list of ConfigMaps, like kubectl get configmaps

  • get_configmap

    retrieve the full contents of a single ConfigMap

  • get_statefulset_summaries

    get a list of StatefulSets, like kubectl get statefulsets

  • get_daemonset_summaries

    get a list of DaemonSets, like kubectl get daemonsets -o wide (includes node selector and images)

  • get_cronjob_summaries

    get a list of CronJobs, like kubectl get cronjobs

  • get_job_summaries

    get a list of Jobs, like kubectl get jobs

  • get_logs_for_job

    retrieve logs from a Job's most-recent pod

  • get_logs_for_cronjob

    retrieve logs from a CronJob's most-recent run

  • get_pvc_summaries

    get a list of PersistentVolumeClaims, like kubectl get pvc (resolves mounting pods)

  • print_namespaces

  • print_node_summaries

  • print_pod_summaries

  • print_pod_container_statuses

  • print_pod_events

  • print_pod_spec

  • print_deployment_summaries

  • print_workload_history

  • print_service_summaries

  • print_configmap_summaries

  • print_configmap

  • print_statefulset_summaries

  • print_daemonset_summaries

  • print_cronjob_summaries

  • print_job_summaries

  • print_pvc_summaries

  • print_events

  • k8s-capture

    state options

  • Cluster-wide

    namespaces, nodes

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb

Related MCP servers

More servers
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Monitoring
MCP Grafana logo

MCP Grafana

grafana/mcp-grafana

612

A Model Context Protocol (MCP) server for Grafana.

Monitoring
Vite Plugin Vue MCP logo

Vite Plugin Vue MCP

webfansplz/vite-plugin-vue-mcp

407

Vite plugin that enables a MCP server for your Vue app to provide information about the component tree, state, routes, and pinia tree and state.

Monitoring
api200 logo

api200

API-200/api200

169

API 200 is all-in-one gateway for managing third-party APIs efficiently. Integrate third-party APIs or setup MCP server in minutes with auto-generated code, docs, auth, caching and error handling – so you can focus on what really matters.

Monitoring
WireMCP (Wireshark) logo

WireMCP (Wireshark)

0xkoda/wiremcp

98

WireMCP is a Model Context Protocol (MCP) server designed to empower Large Language Models (LLMs) with real-time network traffic analysis capabilities.

Monitoring
gospy logo

gospy

monsterxx03/gospy

90

A tool for inspecting and analyzing running Go processes, including goroutine states, memory statistics, and binary information.

Monitoring