</>MCP Agents Market
MCP Server

k8sgpt

by k8sgpt-ai8.1kGoUpdated 2026-08-27

Giving Kubernetes Superpowers to everyone

MCP Agents Market is an independent directory. We are not affiliated with k8sgpt-ai or k8sgpt, and we do not host or distribute it. All links point to the official GitHub repository.

Claude Desktop

K8sGPT is an MCP server that enables AI assistants to diagnose and analyze Kubernetes clusters through natural language. It scans clusters for issues across pods, services, deployments, and other resources, then translates technical problems into plain English using integrated AI backends like OpenAI, Azure, Cohere, Amazon Bedrock, or Google Gemini. The MCP server exposes 12 tools for cluster analysis and resource management, 3 resources for information access, and interactive troubleshooting prompts. Developers can connect it to Claude Desktop, ChatGPT, or any MCP-compatible client to gain AI-powered insights into cluster health, receive fix recommendations, and debug Kubernetes issues conversationally.

Key Features

Model Context Protocol server with 12 Kubernetes operation tools and 3 information resources
Built-in analyzers for 20+ resource types including pods, services, deployments, StatefulSets, jobs, and webhooks
Multi-backend AI support: OpenAI, Azure, Cohere, Amazon Bedrock, Google Gemini, Anthropic via LiteLLM, and local models
Data anonymization option that masks sensitive cluster names and labels before sending to AI backends
HTTP and stdio modes for MCP server operation, supporting both network and local AI assistant integrations
Custom analyzer framework allowing developers to write analyzers in any language following the gRPC schema
Remote caching support with AWS S3, Azure Blob Storage, and Google Cloud Storage
Filter-based analysis targeting specific namespaces, resource types, or installed integrations

Use Cases

  • 01Connecting Claude Desktop to Kubernetes clusters for conversational cluster diagnostics and troubleshooting
  • 02Automated SRE analysis of cluster health with AI-generated explanations for deployment failures and pod crashes
  • 03Integration with monitoring stacks via the k8sgpt-operator for continuous cluster issue detection
  • 04Debugging complex multi-resource problems by analyzing services, ingresses, and network policies together
  • 05Anonymized cluster analysis in regulated environments using local AI models to keep data within the DMZ
  • 06Custom analyzer deployment for domain-specific Kubernetes resource validation and compliance checks

Related MCP Servers

View more

k8sgpt — FAQ

What is the K8sGPT MCP server?+

K8sGPT's MCP server exposes Kubernetes cluster operations as standardized tools for AI assistants like Claude and ChatGPT. It provides 12 tools for cluster analysis, resource management, and debugging, plus 3 resources for accessing cluster information through the Model Context Protocol.

How do I connect K8sGPT to Claude Desktop?+

Install K8sGPT v0.4.14 or later, then add the MCP server configuration to Claude Desktop's settings by specifying the command 'k8sgpt' with args ['serve', '--mcp'] in the mcpServers section. Start the server with 'k8sgpt serve --mcp' and Claude will auto-detect it.

Do I need API keys to use K8sGPT?+

Yes, you need API credentials for your chosen AI backend (OpenAI, Azure, Cohere, Amazon Bedrock, etc.). Configure them using 'k8sgpt auth add', or use local models like Ollama that don't require external API keys.

Which AI clients work with K8sGPT?+

K8sGPT's MCP server works with Claude Desktop and any MCP-compatible client. It can also operate standalone via CLI and supports integration with monitoring tools through the k8sgpt-operator.

Is K8sGPT free and open source?+

Yes, K8sGPT is released under the Apache 2.0 license and available for free. However, you may incur costs from the AI backend provider you choose (OpenAI, Azure, etc.) unless you use free local models.

Can K8sGPT analyze specific namespaces or resource types?+

Yes, you can filter analysis by namespace using '--namespace=name' and by resource type using '--filter=ResourceType'. Filters can be managed with 'k8sgpt filters add/remove' commands to control which analyzers run by default.

How do I install k8sgpt?+

Open the source repository on GitHub and follow its README. k8sgpt is a mcp server — MCP Agents Market links you directly to the official repo.

Is k8sgpt free?+

k8sgpt is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches