Kubernetes MCP
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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kubernetes MCPshow me all pods in the default namespace"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kube-mcp
Kubernetes MCP
Setup
Install Goose CLI
Install MCP locally
$ uv pip install .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 extensionValidate 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://contextRelated MCP server: kube-mcp
Development
Activate virtual environment
$ .venv/bin/activateRun MCP server in dev mode
$ uv run mcp dev kube_mcp/server.pyThis server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
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/yurinnick/kube-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server