drio
Open app

Mcp K8s Go

Source

MCP server connecting to Kubernetes

Catalog onlyCatalog onlySTDIO

Overview

MCP K8S Go is an MCP server that connects to Kubernetes, allowing users to manage Kubernetes resources and integrate them with applications.

To use MCP K8S Go, install it through npm or git, configure it in your application (such as Claude Desktop), and utilize the available commands to interact with Kubernetes resources.

  • Connects to Kubernetes and serves as a resource manager - Lists available Kubernetes contexts, pods, events, and services - Retrieves logs for specific pods
  1. Managing Kubernetes clusters and resources efficiently
  2. Integrating Kubernetes data into applications like Claude Desktop
  3. Automating interactions with Kubernetes environments

Add to your AI client

Use these steps to connect Mcp K8s Go in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-k8s-go-strowk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-k8s-go-strowk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-k8s-go-strowk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-k8s-go-strowk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-k8s-go-strowk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-k8s-go-strowk": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-k8s-go-strowk"
      ]
    }
  }
}

FAQ

How do I install MCP K8S Go?

You can install it using npm or by building from source based on your needs.

What programming language is required to build MCP K8S Go?

You need Golang installed to build this project from source.

Can I customize the commands used for connecting to Kubernetes?

Yes! You can modify the configuration file to customize commands and options.