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.28.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.28-py3-none-win_amd64.whl (20.2 MB view details)

Uploaded Python 3Windows x86-64

helm_mcp-0.1.28-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.28-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.28-py3-none-macosx_11_0_arm64.whl (18.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

helm_mcp-0.1.28-py3-none-macosx_10_15_x86_64.whl (20.1 MB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: helm_mcp-0.1.28.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.28.tar.gz
Algorithm Hash digest
SHA256 6ddd165a3aa23922a0bb1f52f8668e8ac69046e29a6a4562424c65e4a1f526f8
MD5 746e4a146e40f9f268dccacbb7a23dca
BLAKE2b-256 f340e29e48eef698609d5a69d64a97d31d05689d726a02df9d1fd3a872c7d375

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: helm_mcp-0.1.28-py3-none-win_amd64.whl
  • Upload date:
  • Size: 20.2 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.28-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b9b9710714c2b40831b8d0f7cb1325aee579604f0c4e08ffba2e44926bec3599
MD5 182e151e8b709e3649c819024bd96db8
BLAKE2b-256 bf86f8b8e936ab2f05bbec6ac082904d27b25e6d21caa392e856a88d3fff77b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for helm_mcp-0.1.28-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e420347a82c879b994b0e18d540237dc27b7b50d5493b0763ed60da2dbc1ae64
MD5 8b45cb1183be8031507060c27fbaa787
BLAKE2b-256 e6a2f652aed95d331cd7c3403e3ab0743eaf7af8ac3d9e84830767d39ff15083

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for helm_mcp-0.1.28-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7e00f04f327ac87205e0e3008d1110a70a1177fc2b5d1ca4e04593ff64851d23
MD5 3027dc794f32f7d951ae15ee173ee9a2
BLAKE2b-256 b20feb882d3e72f2a4a8ffa9bb551dbff197c659e21685cca3423d1820afa41c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for helm_mcp-0.1.28-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 db5a2bd301037cd11c804980446e7715daceacf66fa30d3fcb51802381e9cf41
MD5 f7fb4a05f3436c121b1186b1cfa7ad62
BLAKE2b-256 5178b2c5840e58401f9fce7c11e9118fdebea12a82776acf3bbb8b2f675f05f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for helm_mcp-0.1.28-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6075f85a8b624cc32b0c8b619052188bc40017c612a59491360992986fea48cc
MD5 c38f51fa482848abf7eabe042db84a0e
BLAKE2b-256 f5959c5faa9051a0f496a912bdc843899becab27a1fe61450ffd5cb364e345f5

See more details on using hashes here.

Provenance

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