使用说明
mcp掌舵人
让你的AI助手访问真实的Helm图表数据。不再产生幻觉 values.yaml 文件夹。
这是什么?
当你要求Claude、Cursor或其他AI助手帮助Kubernetes部署时,他们无法访问Helm chart模式。所以他们猜测——猜测看似合理,但与现实不符。
没有mcp掌舵:
- :x:忽略看起来正确但不存在的字段名
- :x:建议过时或弃用的图表版本
- :x:在网络获取和猜测中浪费代币
在mcp掌舵下:
- :white_check_mark:查询实际Helm存储库中的真实图表数据
- :white_check_mark:自动获取最新图表版本
- :white_check_mark:第一次更正配置
mcp helm实施 模型上下文协议(MCP) --AI助手访问外部数据源的标准方式。
现在试试
将此添加到编辑器的MCP配置中,以使用我们的公共实例(价格有限,无需安装):
{
"mcpServers": {
"helm": {
"type": "http",
"url": "https://helm-mcp.kubedoll.com/mcp"
}
}
}
然后问你的AI: “我可以为bitnami/postgresql图表配置哪些值?”
编辑器设置
Claude Code
编辑 ~/.claude/mcp.json:
{
"mcpServers": {
"helm": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/kubedoll-heavy-industries/mcp-helm", "--transport=stdio"]
}
}
}
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)或 %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"helm": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/kubedoll-heavy-industries/mcp-helm", "--transport=stdio"]
}
}
}
Cursor
在Cursor的配置中编辑MCP设置:
{
"mcpServers": {
"helm": {
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/kubedoll-heavy-industries/mcp-helm", "--transport=stdio"]
}
}
}
VS Code + Continue
添加到您的继续配置(~/.continue/config.json):
{
"experimental": {
"modelContextProtocolServers": [
{
"transport": {
"type": "stdio",
"command": "docker",
"args": ["run", "--rm", "-i", "ghcr.io/kubedoll-heavy-industries/mcp-helm", "--transport=stdio"]
}
}
]
}
}
Without Docker
如果你更喜欢直接运行二进制文件, 安装mcp舵 并将Docker配置替换为:
{
"mcpServers": {
"helm": {
"command": "mcp-helm"
}
}
}
可用工具
| 工具 | 它的作用 | 有用的参数 |
|---|---|---|
search_charts |
在Helm仓库中列出或搜索图表 | keyword (子串过滤器), limit |
get_versions |
获取图表的可用版本(最新版本优先) | limit=1 仅限最新 |
get_values |
获取图表 values.yaml,可选地作为重点小节 |
path (例如。 .ingress), depth (默认值2, 0 对于完整的YAML), include_schema=true, include_examples=true (要求 path) |
get_dependencies |
获取图表的子图表(及其仓库URL,可以反馈到其他工具中) | -- |
get_notes |
获取图表NOTES.txt(安装后说明) | -- |
OCI注册表(oci://...)不支持浏览——对于OCI,您必须已经知道图表名称,然后调用 get_versions 或 get_values 直接用这个名字。
安装
码头工人 (推荐--无需安装,在上面的编辑器设置中使用):
docker pull ghcr.io/kubedoll-heavy-industries/mcp-helm:latest
二元的:
curl -fsSL https://github.com/kubedoll-heavy-industries/helm-mcp/releases/latest/download/mcp-helm_$(uname -s)_$(uname -m).tar.gz | tar xz
sudo mv mcp-helm /usr/local/bin/
去:
go install github.com/kubedoll-heavy-industries/helm-mcp/cmd/mcp-helm@latest
自我寄宿
对于共享部署或需要HTTP端点时:
docker run -p 8012:8012 ghcr.io/kubedoll-heavy-industries/mcp-helm:latest \
--transport=http --listen=:8012
# Connect to http://localhost:8012/mcp
看 docs/self-hosting.md 健康终点和生产建议。
文档
许可证
麻省理工学院——见 许可证.