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.10+
  • 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.31.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.31-py3-none-win_amd64.whl (20.3 MB view details)

Uploaded Python 3Windows x86-64

helm_mcp-0.1.31-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

helm_mcp-0.1.31-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (17.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

helm_mcp-0.1.31-py3-none-macosx_11_0_arm64.whl (18.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

helm_mcp-0.1.31-py3-none-macosx_10_15_x86_64.whl (20.2 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

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

File hashes

Hashes for helm_mcp-0.1.31.tar.gz
Algorithm Hash digest
SHA256 84f9320c193b8e157b637e66af9d4a167495e5aa324ca7fe20768cbc3aecbafb
MD5 152134ffb8e982eb93ccd5197371dfcf
BLAKE2b-256 ea1b7bdab56edcbdfdd6253215781958fab8511071f0b8f7ed90d8f5916ebaee

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31.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.31-py3-none-win_amd64.whl.

File metadata

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

File hashes

Hashes for helm_mcp-0.1.31-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b79eeb36ff2727fe9c0be73d4443e5d25500d20f8dfec9be0aa32375c5093927
MD5 8e3bbdc3112a6e58300c1ab8761dafaa
BLAKE2b-256 f4946b56729ab07b9aed3f1f9e3e284e72980ebe9a2e893d39be6599ffbb7e80

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31-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.31-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.31-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b8e9a2a1b724a45b725bd15f552b43474d78b2d3dafc6ea969549df4ce626d2e
MD5 ac6a63da6e315dc3f7d28b1c34bc188a
BLAKE2b-256 b391c15a4c6a8f4510646e49e5cf3fefd3fbbe894058ece84870e2b45622b968

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31-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.31-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.31-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 882b3447b485c5f30fb391384e00feed57bb0ba042e722395bd888e34b47c9d6
MD5 91b1b7e3e2234e8c7788ffbf771c51ed
BLAKE2b-256 ad88b9fa5360f4bd5c6e89eff9f509a37a3be3f9a558089471c9faf2236fb491

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31-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.31-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.31-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a922f31b0e6b7f683222d8923f4afa587a50a45ce162b85bbb73b70633f7d4cd
MD5 b68b30709765628d2d48b293505bbc71
BLAKE2b-256 b621c33a11c255c4255384af9643dcc0e75c8ba23acd0146e9b83a5f7b6899b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31-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.31-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for helm_mcp-0.1.31-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 00aead9b853b8a2e5c166d875d3b6d606eba9b4329465bd919633f35dd9557ef
MD5 caadcd332c434a2c47353e29067fda23
BLAKE2b-256 c69c6c69977c77b15137c6c38d1718252b77b9411912ef9eef8935a690e372e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for helm_mcp-0.1.31-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