Kubernetes (Flux159)

Cloud and DevOps

MCP Server for kubernetes management commands.

Your AI app calls the Kubernetes (Flux159) MCP server, which does the cloud and DevOps work and sends the result back to the chat.

About Kubernetes (Flux159)

Kubernetes (Flux159) is a community MCP server from Flux159, filed in our directory under cloud and devops. MCP Server for kubernetes management commands.

Kubernetes (Flux159) runs on your own machine: your AI app starts it with the command npx -y mcp-server-kubernetes and talks to it over standard input and output.

At a glance

Publisher
Flux159 (community)
Runs
Locally on your machine
Install from
Node.js package on npm: mcp-server-kubernetes
Written in
TypeScript
License
MIT
GitHub stars
1,617

How to set up Kubernetes (Flux159)

  1. Install Node.js on the machine that runs your AI app, because Kubernetes (Flux159) starts with npx and downloads its package on first run.
  2. Check the Kubernetes (Flux159) README for keys or settings; the registry lists none that Kubernetes (Flux159) requires.
  3. Add Kubernetes (Flux159) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Kubernetes (Flux159) tools to confirm the connection.
  5. Run one read-only task with Kubernetes (Flux159) first, and keep your app asking before each tool call until the results look right.

Kubernetes (Flux159) compared with similar servers

  • LitterBox by BlackSnufkin has fewer GitHub stars than Kubernetes (Flux159) (1.6k against 1.6k); both are community servers, and both run locally.
  • Docker Gateway by docker has more GitHub stars than Kubernetes (Flux159) (1.7k against 1.6k); Docker Gateway is official while Kubernetes (Flux159) is a community server, and Docker Gateway runs as a remote server and Kubernetes (Flux159) runs on your own machine.
  • Terraform by hashicorp has fewer GitHub stars than Kubernetes (Flux159) (1.6k against 1.6k); Terraform is official while Kubernetes (Flux159) is a community server, and both run locally.

Before you connect Kubernetes (Flux159)

  • Give Kubernetes (Flux159) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Kubernetes (Flux159) tool call until you trust what it does with them.
  • Treat text that Kubernetes (Flux159) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Kubernetes (Flux159) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Kubernetes (Flux159)

How marketing and sales teams put Kubernetes (Flux159) to work, by company size. Pick the size closest to yours and start Kubernetes (Flux159) on one use case.

Small business

  • A small business can ask Kubernetes (Flux159) why the site is slow or down and get the likely cause in plain words.
  • Owners can use Kubernetes (Flux159) to check hosting costs and spot services they pay for but no longer use.
  • Kubernetes (Flux159) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Web teams can connect Kubernetes (Flux159) to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Kubernetes (Flux159) to spin up preview environments for every landing page review.
  • Start Kubernetes (Flux159) on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Kubernetes (Flux159) read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Kubernetes (Flux159) to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Kubernetes (Flux159) is a community server, so have security review the code and pin a version before Kubernetes (Flux159) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Kubernetes (Flux159) README

From Flux159/mcp-server-kubernetes on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCP Server Kubernetes

MCP Server that can connect to a Kubernetes cluster and manage it. Supports loading kubeconfig from multiple sources in priority order.

https://github.com/user-attachments/assets/f25f8f4e-4d04-479b-9ae0-5dac452dd2ed

Installation & Usage

Prerequisites

Before using this MCP server with any tool, make sure you have:

  1. kubectl installed and in your PATH
  2. A valid kubeconfig file with contexts configured
  3. Access to a Kubernetes cluster configured for kubectl (e.g. minikube, Rancher Desktop, GKE, etc.)
  4. Helm v3 installed and in your PATH (no Tiller required). Optional if you don't plan to use Helm.

You can verify your connection by running kubectl get pods in a terminal to ensure you can connect to your cluster without credential issues.

By default, the server loads kubeconfig from ~/.kube/config. For additional authentication options (environment variables, custom paths, etc.), see ADVANCED_README.md.

Claude Code

Add the MCP server to Claude Code using the built-in command:

claude mcp add kubernetes -- npx mcp-server-kubernetes

This will automatically configure the server in your Claude Code MCP settings.

Codex

Add the MCP server to Codex CLI using the built-in command:

codex mcp add kubernetes -- npx mcp-server-kubernetes

This registers the server globally in ~/.codex/config.toml and makes its tools available in all Codex sessions.

Claude Desktop

Add the following configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": ["mcp-server-kubernetes"]
    }
  }
}
Claude Desktop Connector via mcpb

MCP Server Kubernetes is also available as a mcpb (formerly dxt) extension. In Claude Desktop, go to Settings (Cmd+, on Mac) -> Extensions -> Browse Extensions and scroll to find mcp-server-kubernetes in the modal. Install it & it will install & utilize kubectl via command line & your kubeconfig.

To manually install, you can also get the .mcpb by going to the latest Release and downloading it.

VS Code

VS Code has built-in MCP support. Use the one-click install button above, or add the server to .vscode/mcp.json in your workspace (or to your user mcp.json via MCP: Open User Configuration):

{
  "servers": {
    "kubernetes": {
      "type": "stdio",
      "command": "npx",
      "args": ["mcp-server-kubernetes"]
    }
  }
}
Cursor

Cursor supports MCP servers through its AI integration. Add the server to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": ["mcp-server-kubernetes"]
    }
  }
}

The server will automatically connect to your current kubectl context. You can verify the connection by asking the AI assistant to list your pods or create a test deployment.

Muse Code

Muse Code reads MCP servers from the mcp_servers block of ~/.config/muse/settings.json. The file must include "schema_version": 1:

{
  "schema_version": 1,
  "mcp_servers": {
    "kubernetes": {
      "transport": "stdio",
      "command": "npx",
      "args": ["mcp-server-kubernetes"]
    }
  }
}

To connect over Streamable HTTP instead, first start the server in HTTP mode (it serves /mcp on port 3000 by default; see Streamable HTTP Transport):

ENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT=1 npx mcp-server-kubernetes

Then point Muse Code at that endpoint with the streamable_http transport (headers is optional):

{
  "schema_version": 1,
  "mcp_servers": {
    "kubernetes": {
      "transport": "streamable_http",
      "url": "http://localhost:3000/mcp",
      "mode": "optional"
    }
  }
}

"mode": "optional" lets Muse Code start with a warning if the HTTP server isn't running, instead of aborting.

Start a new Muse Code session after editing the file, then run /mcp to confirm the kubernetes server and its tools are connected.

Usage with mcp-chat

mcp-chat is a CLI chat client for MCP servers. You can use it to interact with the Kubernetes server.

npx mcp-chat --server "npx mcp-server-kubernetes"

Alternatively, pass it your existing Claude Desktop configuration file from above (Linux should pass the correct path to config):

Mac:

npx mcp-chat --config "~/Library/Application Support/Claude/claude_desktop_config.json"

Windows:

npx mcp-chat --config "%APPDATA%\Claude\claude_desktop_config.json"

Features

Questions about Kubernetes (Flux159)

What is the Kubernetes (Flux159) MCP server?

MCP Server for kubernetes management commands. Kubernetes (Flux159) is maintained by Flux159 on GitHub at Flux159/mcp-server-kubernetes, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Kubernetes (Flux159) MCP server?

Add Kubernetes (Flux159) to your AI app's MCP config with the command npx -y mcp-server-kubernetes. In Claude Code, run claude mcp add --transport stdio kubernetes -- npx -y mcp-server-kubernetes. To run Kubernetes (Flux159) this way you need Node.js installed.

Does Kubernetes (Flux159) need an API key?

The registry lists no required keys for Kubernetes (Flux159). Check the Kubernetes (Flux159) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Kubernetes (Flux159) an official MCP server?

No. Kubernetes (Flux159) is a community server maintained by Flux159. Community servers can be excellent; read the code and the open issues before you give Kubernetes (Flux159) access to company data.

What license is Kubernetes (Flux159) under?

Kubernetes (Flux159) is released under the MIT license, according to its GitHub repository. The license covers the code of Kubernetes (Flux159); the service it connects to has its own terms.