
kubernetes mcp server
用于管理 Kubernetes 集群的 MCP 服务器。
Repository Info
About This Server
用于管理 Kubernetes 集群的 MCP 服务器。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Kubernetes MCP server
MCP server for managing a Kubernetes cluster
Prerequisities
A running Kubernetes cluster set as the current context in ~/.kube/config. The current context can be inspected using kubectl config current-context.
The quickest way to get a running cluster is to use minikube. Run minikube start once installed.
Without a running cluster set as the current context, the MCP server will not be functional.
Note that while none of the tools contain destructive behavior, it's best to be cautious when exposing access to your cluster.
Running the server
Locally: npm run dev
Using Claude Desktop: Add the following to the mcpServers key of your claude_desktop_config.json file:
"kubernetes": {
"command": "node",
"args": ["/Users/bry24/Documents/Projects/basic-mcp/dist/index.js"]
}
Note that the alias of the server can be anything. The following guide is a useful example of how to configure MCP in the Claude Desktop App.
Once the MCP server is configured correctly, you should be able to use the tools to interact with your cluster. Example:
!Example Screenshot
Debugging the server
Using MCP inspector: npm run inspect
Quick Start
Clone the repository
git clone https://github.com/bryantanderson/kubernetes-mcp-serverInstall dependencies
cd kubernetes-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.