Kubernetes MCP

by yurinnick
Apache 2.0

Integrations

  • Provides tools for interacting with Kubernetes resources, including getting resources by kind in a namespace, retrieving specific resources by name, and patching resources. Offers access to Kubernetes configuration and context information.

kube-mcp

Kubernetes MCP

Aufstellen

  1. Installieren Sie Goose CLI
  2. MCP lokal installieren
$ uv pip install .
  1. Goose CLI konfigurieren
$ goose configure This will update your existing config file if you prefer, you can edit it directly at /home/yurinnick/.config/goose/config.yaml ┌ goose-configure │ ◇ What would you like to configure? │ Add Extension │ ◇ What type of extension would you like to add? │ Command-line Extension │ ◇ What would you like to call this extension? │ kube-mcp │ ◇ What command should be run? │ uv run /global/path/to/kube-mcp/.venv/bin/mcp-kube │ ◇ Please set the timeout for this tool (in secs): │ 300 │ ◇ Would you like to add a description? │ No │ ◇ Would you like to add environment variables? │ No │ └ Added kube-mcp extension
  1. Überprüfen Sie, ob die Erweiterung aktiv ist
$ goose ( O)> What tools do you have? Let me list out the tools that are currently available to me: 1. **Kubernetes MCP Tools**: - `kube-mcp__get_resources` - Get resources of a specific kind in a namespace - `kube-mcp__get_resource` - Get a specific resource by kind, name, and namespace - `kube-mcp__patch_resource` - Patch a specific resource Let me also check if there are any additional resources available in the kube-mcp extension: ─── list_resources | platform ────────────────────────── extension_name: kube-mcp I can also see there are two resources available in the kube-mcp extension: - `kube://config` - `kube://context` Let me check what information these resources provide: ─── read_resource | platform ────────────────────────── uri: kube://config ─── read_resource | platform ────────────────────────── uri: kube://context

Entwicklung

  1. Virtuelle Umgebung aktivieren
$ .venv/bin/activate
  1. Führen Sie den MCP-Server im Entwicklermodus aus
$ uv run mcp dev kube_mcp/server.py
-
security - not tested
A
license - permissive license
-
quality - not tested

Ein MCP-Server, der die Interaktion mit Kubernetes-Ressourcen über natürliche Sprachschnittstellen wie Goose CLI ermöglicht und es Benutzern ermöglicht, Kubernetes-Ressourcen abzurufen, zu lesen und zu patchen.

  1. Aufstellen
    1. Entwicklung

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        This project is intended as a both MCP server connecting to Kubernetes and a library to build more servers for any custom resources in Kubernetes.
        Last updated -
        267
        Go
        MIT License
        • Linux
        • Apple
      • A
        security
        F
        license
        A
        quality
        A MCP server that can run Kubernetes commands with a given kubeconfig path and provide interpretation of the commands.
        Last updated -
        1
        2
        JavaScript
        • Apple
      • -
        security
        A
        license
        -
        quality
        An MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.
        Last updated -
        8
        5
        TypeScript
        Apache 2.0
      • -
        security
        A
        license
        -
        quality
        A read-only MCP server for Kubernetes that allows querying cluster information and diagnosing issues through natural language interfaces like Claude.
        Last updated -
        1
        Python
        MIT License
        • Apple
        • Linux

      View all related MCP servers

      ID: 4bi9bx519d