What it does
clusterport is a small MCP server and CLI for core Kubernetes work. It is a clean-room rebuild of a twelve-tool subset of the documented surface of the community Flux159 mcp-server-kubernetes project. The tools cover get, describe and logs; apply and create; delete, scale and patch; rollout actions and context switching; plus kubectl explain and API-resource listing. Each call runs through the host's kubectl as an argument array, never a shell string. Manifests are passed over stdin rather than written to temp files. Port-forwarding, exec into pods, Helm tools, addon install and uninstall, non-resource URL requests, watch and streaming, and node operations such as cordon, taint and drain are deliberately left out.
It suits MCP clients that need basic kubectl-style inspection and changes to cluster resources. The executor is injectable, and the test suite runs against a fake executor that checks exact argument arrays and stdin payloads, so no live cluster is touched.
Running it requires a working kubectl binary and cluster credentials on the host. Executor failures, such as a missing kubectl, an unreachable cluster or a nonexistent resource, are returned as tool errors with the underlying message. The CLI exits with 0 on success, 1 on a kubectl error and 2 on a usage error.
Limitations and requirements
The host needs a working kubectl binary and cluster credentials. When kubectl is absent, calls fail with the underlying spawn error (ENOENT). The published container image bundles no kubectl binary and expects a host executor.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.CloudCorpRecords/clusterport
Core kubectl operations: get, describe, logs, apply, scale, patch, rollout and explain.
v0.1.0As shown on registry.modelcontextprotocol.io when we last read it