mcp-kubernetes vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-kubernetes by Azure | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 57 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 46 | 77 |
| 官方 | — | ✓ |
| 分类 | 运维基建开发者工具可观测性 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 本月 | 本月 |
mcp-kubernetes · 概述
一个MCP服务器,让AI助手能够通过kubectl命令与Kubernetes集群交互。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-kubernetes · 使用场景
- 通过AI助手中的自然语言提示进行Kubernetes集群管理
- 使用AI自动排查pod和部署问题
- 通过对话式AI界面扩展和管理Kubernetes资源
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-kubernetes · 安装
安装选项
Docker方式
{
"mcpServers": {
"kubernetes": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount",
"type=bind,src=/home/username/.kube/config,dst=/home/mcp/.kube/config",
"ghcr.io/azure/mcp-kubernetes"
]
}
}
}本地安装
- 安装kubectl: https://kubernetes.io/docs/tasks/tools/
- 安装helm: https://helm.sh/docs/intro/install/
- 配置MCP服务器:
{
"mcpServers": {
"kubernetes": {
"command": "<二进制文件'mcp-kubernetes'的路径>",
"args": ["--transport", "stdio"],
"env": {
"KUBECONFIG": "<你的kubeconfig路径>"
}
}
}
}filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。