v1.12.0 - SSE Transport Fix & In-Cluster Kubernetes Config
What's New in v1.12.0
SSE Transport Fix
- Fixed
'FastMCP' object has no attribute 'run_sse_async'error when using FastMCP 3.0.0b1 - Now uses
create_sse_app()fromfastmcp.server.httpmodule - SSE endpoints: GET
/sse(events), POST/messages/(messages)
In-Cluster Kubernetes Config Support
- Added
k8s_config.pymodule that automatically handles Kubernetes authentication - Tries in-cluster config first when running inside a Kubernetes pod
- Falls back to kubeconfig file for local development
- Enables kubectl-mcp-server to work seamlessly with Kubernetes service accounts
kagent Integration
- Added
deploy/kagent/remotemcpserver.yamlfor kagent RemoteMCPServer CRD - Added
deploy/kagent/agent-kubectl-mcp.yamlfor kagent Agent CRD - Successfully tested with kagent v0.7.9 - all 121 tools discovered
Installation
PyPI
```bash
pip install kubectl-mcp-server==1.12.0
```
npm
```bash
npx kubectl-mcp-server@1.12.0
```
Docker
```bash
docker pull rohitghumare64/kubectl-mcp-server:1.12.0
```