I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

mcp-server-k8s
MCP server for enabling AI use local k8s resources
1
Github Watches
1
Github Forks
0
Github Stars
MCP-Server VBox
MCP-Server VBox 是一个基于 Model Context Protocol (MCP) 的服务器实现,用于管理和操作 Docker 容器和 Kubernetes 集群。该工具提供了一个统一的接口,让您可以通过 Claude Desktop 方便地执行容器和 Pod 相关的操作。
功能特点
Docker 操作
- 列出所有容器(
docker_list_containers
) - 拉取 Docker 镜像(
docker_pull_image
) - 创建新容器(
docker_create_container
)
Kubernetes 操作
- 列出指定命名空间的 Pod(
k8s_list_pods
) - 创建 Deployment(
k8s_create_deployment
) - 在 Pod 中执行命令(
k8s_exec_pod
) - 进入 Pod 的交互式 shell(
k8s_enter_pod
) - 退出 Pod 的执行环境(
k8s_exit_pod
)
执行环境管理
- 获取当前执行环境(
get_execution_context
) - 在当前环境执行命令(
execute_command
) - 支持本地和 Pod 两种执行环境
- 实时命令执行和输出
系统要求
- Node.js >= 14.0.0
- Docker
- Kubernetes 集群配置(~/.kube/config)
- Claude Desktop
安装和配置
- 安装依赖
npm install
- 构建项目
npm run build
- 配置 Claude Desktop
在 ~/Library/Application Support/Claude/claude_desktop_config.json
中添加以下配置:
{
"mcpServers": {
"vbox": {
"command": "node",
"args": [
"/path/to/your/vbox/build/index.js"
]
}
}
}
注意:请将 /path/to/your/vbox
替换为实际的项目路径。
调试
如果需要调试,可以在 Claude Desktop 配置中添加调试选项:
{
"mcpServers": {
"vbox": {
"command": "node",
"args": [
"--inspect",
"/path/to/your/vbox/build/index.js"
],
"debug": true
}
}
}
日志文件位置:
- MCP 服务器日志:
~/Library/Logs/Claude/mcp-server-vbox.log
- Claude Desktop 日志:
~/Library/Logs/Claude/mcp.log
注意事项
- 确保 Docker 守护进程正在运行
- 确保有正确的 Kubernetes 配置文件(默认位置:~/.kube/config)
- 确保有适当的集群访问权限
- 在使用 Pod 相关功能时,确保指定正确的命名空间和 Pod 名称
许可证
MIT License
作者
[Your Name]
更新日志
1.0.0
- 初始版本发布
- 实现基本的 Docker 和 Kubernetes 操作功能
- 添加交互式 shell 支持
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Mirror ofhttps://github.com/agentience/practices_mcp_server
A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.
Mirror ofhttps://github.com/bitrefill/bitrefill-mcp-server
Reviews

user_UfuB7fLW
I've been using mcp-server-k8s by Wan-Hao and it's been a game changer for my Kubernetes deployments. The setup process was seamless, and the performance enhancements were immediately noticeable. This project is well-documented and the support from the community has been fantastic. Highly recommended for anyone looking to optimize their k8s applications. Check it out here: https://github.com/Wan-Hao/mcp-server-k8s