Skip to main content

MCP server exposing all Helm CLI capabilities via the Model Context Protocol

Project description

helm-mcp (Python)

CI/CD Pipeline PyPI version Python versions Downloads License: MIT

A Python MCP wrapper for the helm-mcp Go server.

Uses FastMCP to create a transparent proxy around the helm-mcp Go binary, exposing all Helm tools via the Model Context Protocol. New tools added to the Go binary are automatically available without any Python code changes.

Requirements

  • Python 3.12+
  • The helm-mcp Go binary is automatically downloaded on first use (with SHA256 checksum verification)

Installation

pip install helm-mcp

Quick Start

As a server

from helm_mcp import create_server

server = create_server()
server.run()  # stdio mode (default)

As a client

import asyncio
from helm_mcp import create_client

async def main():
    async with create_client() as client:
        tools = await client.list_tools()
        print(f"Available tools: {len(tools)}")

        result = await client.call_tool("helm_list", {"namespace": "default"})
        print(result)

asyncio.run(main())

CLI

# stdio mode (default, for MCP clients like Claude Code)
helm-mcp-python

# HTTP mode
helm-mcp-python --transport http --host 0.0.0.0 --port 8080

# Pre-download binary
helm-mcp-python --setup

# Explicit binary path
helm-mcp-python --binary /usr/local/bin/helm-mcp

Binary Discovery

The package locates the helm-mcp Go binary in this order:

  1. HELM_MCP_BINARY environment variable
  2. Bundled binary in the package bin/ directory
  3. Auto-download from GitHub Releases (with SHA256 checksum verification)
  4. helm-mcp on PATH

Environment Variables

The proxy forwards these environment variables to the Go binary:

Category Variables
Proxy HTTP_PROXY, HTTPS_PROXY, NO_PROXY (and lowercase variants)
Kubernetes KUBECONFIG, KUBERNETES_SERVICE_HOST, KUBERNETES_SERVICE_PORT
Helm HELM_CACHE_HOME, HELM_CONFIG_HOME, HELM_DATA_HOME, HELM_PLUGINS, HELM_DEBUG
AWS AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, AWS_REGION, AWS_PROFILE
GCP GOOGLE_APPLICATION_CREDENTIALS, CLOUDSDK_COMPUTE_ZONE
Azure AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID
TLS SSL_CERT_FILE, SSL_CERT_DIR

Scalability

This package uses the MCP proxy pattern: the Python layer never needs to know about individual Helm tools. All tool discovery, input schemas, and invocations are forwarded to the Go binary via the MCP protocol at runtime. When new capabilities are added to the Go server, they are immediately available through the Python wrapper.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helm_mcp-0.1.36.tar.gz (36.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

helm_mcp-0.1.36-py3-none-win_amd64.whl (20.7 MB view details)

Uploaded Python 3Windows x86-64

helm_mcp-0.1.36-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

helm_mcp-0.1.36-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (17.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

helm_mcp-0.1.36-py3-none-macosx_11_0_arm64.whl (18.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

helm_mcp-0.1.36-py3-none-macosx_10_15_x86_64.whl (20.6 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file helm_mcp-0.1.36.tar.gz.

File metadata

  • Download URL: helm_mcp-0.1.36.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for helm_mcp-0.1.36.tar.gz
Algorithm Hash digest
SHA256 29532c8b5940fa261f004394335b40e039d1d13ad4e4e1d4fbfd18541f0dc69c
MD5 e31c1d7e3c0b0351c20b52e53d52fa35
BLAKE2b-256 7dc746fef2a3afecd7847a1cf9238545ab1a52e8e28d2d48ee0f9f63080bf823

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36.tar.gz:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file helm_mcp-0.1.36-py3-none-win_amd64.whl.

File metadata

  • Download URL: helm_mcp-0.1.36-py3-none-win_amd64.whl
  • Upload date:
  • Size: 20.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for helm_mcp-0.1.36-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 474ac1ff33511a633bc754dcbd2d8ce365ef15794ff06f53bd7b07876f5a7195
MD5 94df4bb08ebcd97b765a1a879a8cd821
BLAKE2b-256 5dd296b10f2b71bd45577a3782875d24bae7b739fcb3487247ab7843e581462f

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36-py3-none-win_amd64.whl:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file helm_mcp-0.1.36-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.36-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9bd1687d5784ae425e5788ca5e79f8f7b4a5e229b7df1f5cb5a919e46801770a
MD5 3c25235a3367556fcc944ff66c5db8b5
BLAKE2b-256 863e29de42517018f043984ea825016b1e96432c1e876a330e8ed04b875951bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file helm_mcp-0.1.36-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.36-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fb66cbe3dda4751b38af875d23019124e74d07ac2124f78c9cfe811f126b2b49
MD5 3f7e0a34c8b707aed36dfa9f6898ec93
BLAKE2b-256 1f875550499afbec4f350bc2b271a49c0a7d8f6b5ddf83d9de0958a82c689ebf

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file helm_mcp-0.1.36-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.36-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38aee4227632e152fe785180fd7916c6271bea80871a66b53557fbb7f14dbe3b
MD5 d50d86015b85374e0e73ad68cd41a0aa
BLAKE2b-256 17e92d795713d6c0387e8e40883b4bbb390dd07c52a5c576f7b8f3c2e81c940e

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36-py3-none-macosx_11_0_arm64.whl:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file helm_mcp-0.1.36-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.36-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 851fccc994a5ccffcef2ff5e55375421f2ef68ce1282c1d79a8ea2cea37af9fd
MD5 9bca8de1bd892dbff01ff9e3db311ee4
BLAKE2b-256 f6763c5aadb8b904b0c29ed216860c359b2ed81bd873fc0493c20e266703e7a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.36-py3-none-macosx_10_15_x86_64.whl:

Publisher: ci.yml on SCGIS-Wales/helm-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page