Mcp K8s Eye
MCP Server for kubernetes management and diagnose your cluster and applications
Overview
Mcp K8s Eye is a tool designed for managing Kubernetes clusters and analyzing workload status within those clusters.
To use Mcp K8s Eye, configure the mcpServers in your environment with the path to the tool and your home directory as shown in the usage example: { "mcpServers": { "kubernetes": { "command": "YOUR mcp-k8s-eye PATH", "env": { "HOME": "YOUR HOME DIR" }, } } }
- Connect to a Kubernetes cluster - List pods by namespace - Get pod details - Retrieve pod logs - Delete pods - Execute commands in pods - Analyze pods - Additional features for listing and analyzing services, deployments, and nodes are planned.
- Managing and monitoring Kubernetes clusters.
- Analyzing the status and performance of workloads in real-time.
- Executing commands within pods for troubleshooting and maintenance.
Add to your AI client
Use these steps to connect Mcp K8s Eye in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-k8s-eye-wenhuwang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-k8s-eye-wenhuwang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-k8s-eye-wenhuwang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-k8s-eye-wenhuwang": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-k8s-eye-wenhuwang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-k8s-eye-wenhuwang": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-k8s-eye-wenhuwang"
]
}
}
}FAQ
Can Mcp K8s Eye connect to any Kubernetes cluster?
Yes! Mcp K8s Eye is designed to connect to any standard Kubernetes cluster.
Is Mcp K8s Eye free to use?
Yes! Mcp K8s Eye is open-source and free to use under the Apache-2.0 license.
What programming language is Mcp K8s Eye written in?
Mcp K8s Eye is written in Go.