JUHE API Marketplace
yurinnick avatar
MCP Server

Kubernetes MCP

An MCP server that enables interaction with Kubernetes resources through natural language interfaces like Goose CLI, allowing users to get, read, and patch Kubernetes resources.

0
GitHub Stars
8/23/2025
Last Updated
No Configuration
Please check the documentation below.

README Documentation

kube-mcp

Kubernetes MCP

Setup

  1. Install Goose CLI
  2. Install MCP locally
$ uv pip install .
  1. Configure Goose CLI
$ 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. Validate that extention is active
$ 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

Development

  1. Activate virtual environment
$ .venv/bin/activate
  1. Run MCP server in dev mode
$ uv run mcp dev kube_mcp/server.py

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source