k8sgpt provides Kubernetes cluster insights and troubleshooting via AI. It connects to Kubernetes APIs to analyze cluster state, logs, and events. Developers use it to diagnose issues, optimize performance, and automate cluster management tasks.
k8sgpt provides Kubernetes cluster insights and troubleshooting via AI. It connects to Kubernetes APIs to analyze cluster state, logs, and events. Developers use it to diagnose issues, optimize performance, and automate cluster management tasks.
Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"k8sgpt-ai-k8sgpt-github": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-k8sgpt-ai-k8sgpt-github"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from k8sgpt?"
API Key Required
This server requires an API key from k8sgpt. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| K8SGPT_API_KEY | Yes | Your k8sgpt API key |
"What resources are available in k8sgpt?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in k8sgpt"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in k8sgpt with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.