
A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

A Go-based Model Context Protocol server that exposes Kubernetes operations as MCP tools with stdio, SSE, and StreamableHTTP transport support.
Kubernetes MCP server in Go is cataloged as an MCP server attributed to hsn0918. A Go-based Model Context Protocol server that exposes Kubernetes operations as MCP tools with stdio, SSE, and StreamableHTTP transport support. It is categorized under cloud devops. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Kubernetes MCP server in Go are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports stdio, SSE, and StreamableHTTP transports, with a StreamableHTTP MCP endpoint at POST /mcp.
It can use either a local kubeconfig passed via --kubeconfig or an in-cluster service account.
README.md · 9fdf7232170d · Fetched 2026-11-13 09:46:42 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
English | 中文
A Kubernetes-focused Model Context Protocol (MCP) server built in Go.
It exposes Kubernetes operations as MCP tools and supports stdio, sse, and streamable transports.
kubeconfig and in-cluster configurationslog-based logging with configurable level/format1.24+--kubeconfig, orgit clone https://github.com/HSn0918/kubernetes-mcp.git
cd kubernetes-mcp
go build -o kubernetes-mcp ./cmd/kubernetes-mcp
./kubernetes-mcp server transport stdio --kubeconfig ~/.kube/config
./kubernetes-mcp server transport sse \
--port 8080 \
--health-port 8081 \
--allow-origins "*" \
--base-url "http://localhost:8080" \
--kubeconfig ~/.kube/config
./kubernetes-mcp server transport streamable \
--port 8080 \
--health-port 8081 \
--allow-origins "*" \
--kubeconfig ~/.kube/config
kubernetes-mcp
├── server
│ └── transport
│ ├── stdio
│ ├── sse
│ └── streamable
└── version
Global flags:
--log-level (debug|info|warn|error, default info)--log-format (console|json, default console)--kubeconfig (optional)Network transport flags (sse, streamable):
--port (default 8080)--health-port (default 8081)--allow-origins (default *)SSE-only flags:
--base-url (default http://localhost:<port>)POST /mcpGET /healthzGET /readyzFor each API group prefix, the server exposes:
LIST_<PREFIX>_RESOURCESGET_<PREFIX>_RESOURCEDESCRIBE_<PREFIX>_RESOURCECREATE_<PREFIX>_RESOURCEUPDATE_<PREFIX>_RESOURCEDELETE_<PREFIX>_RESOURCERegistered prefixes:
K8SLIST_NAMESPACESLIST_NODESGET_POD_LOGSANALYZE_POD_LOGSGET_CURRENT_TIMEGET_CLUSTER_INFOGET_API_RESOURCESSEARCH_RESOURCESEXPLAIN_RESOURCEAPPLY_MANIFESTVALIDATE_MANIFESTDIFF_MANIFESTGET_EVENTSKUBERNETES_YAML_PROMPTKUBERNETES_QUERY_PROMPTTROUBLESHOOT_PODS_PROMPTTROUBLESHOOT_NODES_PROMPTTROUBLESHOOT_NETWORK_PROMPTGET_NODE_METRICSGET_POD_METRICSGET_RESOURCE_METRICSGET_TOP_CONSUMERScmd/kubernetes-mcp/
main.go
app/
pkg/
client/kubernetes/
config/
handlers/
apis/
core/v1/
apps/v1/
base/
tool/
prompt/
metrics/
server/
health/
logger/
Build:
docker build -t kubernetes-mcp:latest .
Run with explicit transport command:
docker run --rm -it \
-v ~/.kube:/root/.kube \
kubernetes-mcp:latest \
server transport stdio --kubeconfig /root/.kube/config
Deployment manifests are in /deploy/kubernetes.
make k8s-deploy
# or
make k8s-deploy-kustomize
make build
make test
This repo includes a project usage skill at skills/kubernetes-mcp-usage.
# list just tasks
just
# common dev tasks
just build
just test
# install the project skill into Codex
just skill-install
# overwrite existing install
just skill-install-force
Skill install destination:
$CODEX_HOME/skills/kubernetes-mcp-usage (or ~/.codex/skills/kubernetes-mcp-usage when CODEX_HOME is not set).
After installing, restart Codex to pick up the skill.
--base-url correctly for SSE.Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Kubernetes MCP server in Go from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/kubernetes-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server built on Huawei Cloud services that enables AI assistants to operate Huawei Cloud resources within conversational workflows, supporting ECS, OBS, GaussDB, and other cloud products.

An MCP server that exposes the Coolify v4.3.1 REST API so AI clients can manage applications, databases, services, servers, deployments, and more.

A deprecated Model Context Protocol server for interacting with Kong Konnect APIs, enabling AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.