{"type":"mcp_server","name":"mcp-k8s-go","description":"This repository provides a Golang-based MCP server that connects to Kubernetes, offering tools to list contexts, namespaces, nodes, and resources within a specified context and namespace, including custom mappings.","category":"System Tools","language":"Go","stars":382,"forks":16,"owner":"strowk","github_url":"https://github.com/strowk/mcp-k8s-go","homepage":null,"setup":"## Setup\nTo use this MCP server with Claude Desktop, you have several options for installation:\n\n**Using Smithery:**\n```bash\nnpx -y @smithery/cli install @strowk/mcp-k8s --client claude\n```\n\n**Using mcp-get:**\n```bash\nnpx @michaellatman/mcp-get@latest install @strowk/mcp-k8s\n```\n\n**Manually with prebuilt binaries:**\n\n**Prebuilt from npm:**\n```bash\nnpm install -g @strowk/mcp-k8s\n```\nThen add the following configuration to `claude_desktop_config.json` file:\n```json\n{\n  \"mcpServers\": {\n    \"mcp_k8s\": {\n      \"command\": \"mcp-k8s\",\n      \"args\": []\n    }\n  }\n}\n```\n\n**From GitHub releases:**\nDownload the latest release, unpack the archive, put the binary `mcp-k8s-go` in your PATH, and add the following configuration to the `claude_desktop_config.json` file:\n```json\n{\n  \"mcpServers\": {\n    \"mcp_k8s\": {\n      \"command\": \"mcp-k8s-go\",\n      \"args\": []\n    }\n  }\n}\n```\n\n**Building from source:**\n```bash\ngo get github.com/strowk/mcp-k8s-go\ngo install github.com/strowk/mcp-k8s-go\n```\nThen add the following configuration to the `claude_desktop_config.json` file:\n```json\n{\n  \"mcpServers\": {\n    \"mcp_k8s_go\": {\n      \"command\": \"mcp-k8s-go\",\n      \"args\": []\n    }\n  }\n}\n```","tools":"## Available Tools\n\n1.  resource: K8S contexts as read from kubeconfig configurations\n2.  tool: list-k8s-contexts\n3.  tool: list-k8s-namespaces in a given context\n4.  tool: list-k8s-nodes in a given context\n5.  tool: list-k8s-resources in a given context and namespace for specified resource kind (includes custom mappings for resources like pods, services, deployments)\n6.  tool: get-k8s-resource in a given context and namespace for specified name and resource kind\n7.  tool: list-k8s-events in a given context and namespace\n8.  tool: get-k8s-pod-logs in a given context and namespace for specified pod\n9.  prompt: list-k8s-namespaces in a given context\n10. prompt: list-k8s-pods in current context and with given namespace","faq":null,"created_at":"2024-12-01T07:00:54+00:00","updated_at":"2025-03-28T22:37:32+00:00","source_url":"https://model-context-protocol.com/servers/kubernetes-mcp-server-golang-resource-management","related_articles":[]}