Kubernetes MCP Server logo

Kubernetes MCP Server

by bryantanderson

The Kubernetes MCP server is designed for managing a Kubernetes cluster. It allows users to interact with their cluster using the Model Context Protocol (MCP).

View on GitHub

Last updated: N/A

What is Kubernetes MCP Server?

This is an MCP server for managing a Kubernetes cluster. It provides a way to interact with your Kubernetes cluster through the Model Context Protocol.

How to use Kubernetes MCP Server?

To use the server, you need a running Kubernetes cluster. You can run the server locally using npm run dev. Alternatively, you can configure it within the Claude Desktop App by adding it to the mcpServers key in your claude_desktop_config.json file. Ensure your Kubernetes context is properly set before running the server.

Key features of Kubernetes MCP Server

  • Kubernetes cluster management

  • MCP integration

  • Local and Claude Desktop deployment

  • Non-destructive tools

Use cases of Kubernetes MCP Server

  • Managing Kubernetes deployments

  • Interacting with Kubernetes resources

  • Automating Kubernetes tasks

  • Integrating Kubernetes with Claude Desktop App

FAQ from Kubernetes MCP Server

What are the prerequisites for running the server?

A running Kubernetes cluster set as the current context in ~/.kube/config.

How do I run the server locally?

Use the command npm run dev.

How do I configure the server in Claude Desktop?

Add the server configuration to the mcpServers key in your claude_desktop_config.json file.

Is this server destructive to my cluster?

While the tools do not contain destructive behavior, it's best to be cautious when exposing access to your cluster.

How can I debug the server?

Use MCP inspector with the command: npm run inspect