mcp-k8s-sse-server
mcp tools for k8s resources management using cursor agent
Documentation
mcp-k8s
Overview
mcp-k8s is a lightweight Kubernetes management tool providing sse and stdio mode for Kubernetes cluster management. It simplifies Kubernetes resources operation in cursor IDE.
Key Features
- Kubernetes cluster connection and management
- Kubernetes node management (view, cordon, uncordon, restart)
- Pod management (view, delete, log retrieval, command execution)
- OpenKruise resource management (view, describe, and scale CloneSets and AdvancedStatefulSets)
- ConfigMap management
- Multi-cluster context switching
Requirements
- Go 1.18+
- Kubernetes cluster
- Valid kubeconfig file
Build Instructions
In the project root directory, run:
go build -o k8sUsage
The application supports two running modes:
- stdio mode: For command-line interaction
- SSE mode: Starts an HTTP server for API access
Start in SSE mode:
./k8s -mode=sse -address=:8686Start in stdio mode:
./k8s -mode=stdioCursor mcp.json
{
"mcpServers": {
"k8s": {
"url": "http://127.0.0.1:8686/sse"
}
}
}Project Structure
- `biz/`: Business logic code
- `clientset/`: Kubernetes client related code
- `pod/`: Pod operations
- `node/`: Node management
- `context/`: Cluster context management
- `kruise/`: OpenKruise resource management
- `configmap/`: ConfigMap management
- `main.go`: Application entry point
Frequently asked questions
What is mcp-k8s-sse-server?
mcp-k8s-sse-server is mcp tools for k8s resources management using cursor agent
How do I install mcp-k8s-sse-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-k8s-sse-server open source?
Yes — it is hosted on GitHub at https://github.com/beastpu/mcp-k8s-sse-server.
Related MCP tools
MCP server for Grafana Go-based implementation. Trusted by 1700+ developers. Trusted by 1700+ developers. Trusted by 1700+ developers.
Flux Operator is a Kubernetes controller for managing the lifecycle of Flux CD for the Model Context Protocol. Enhance AI assistants with powerful integrations.
MCP server connecting to Kubernetes Go-based implementation.
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-gra...
MCP Toolbox for Databases is an open source MCP server for databases. Go-based implementation. Trusted by 10900+ developers.
A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP