TalkOps Helm MCP Server & Agent Plugin (v0.5.0)
A production-grade Model Context Protocol (MCP) execution server and portable Agent Plugin for managing Kubernetes workloads with Helm.
Built on the Two-Layer Separation Principle:
- Skill Layer (
skills/+plugin.json): Procedural runbooks, values-authoring standards, error-recovery decision trees, security review checklists, and zero-network local Python validation scripts (SKILL.mdprogressive disclosure). - Execution Layer (
helm_mcp_server/): Deterministic, context-isolated, secret-redacted Helm CLI and Kubernetes API execution primitives (13 Tools, 10 URI-addressed Resources, 0 Prompts).
Architecture Overview
src/helm-mcp-server/
├── plugin.json # Agent Plugin v1.0.0 manifest
├── mcp.json # Portable MCP server launch configuration
├── skills/ # Copy-pasteable Agent Skills (Progressive Disclosure)
│ ├── deploying-helm-charts/
│ │ ├── SKILL.md
│ │ ├── references/
│ │ │ ├── known-repositories.md
│ │ │ └── values-authoring.md
│ │ └── scripts/
│ │ ├── validate_values.py
│ │ └── validate_manifests.py
│ ├── upgrading-and-rolling-back-helm-releases/
│ │ ├── SKILL.md
│ │ └── references/
│ │ ├── upgrade-checklist.md
│ │ └── rollback-sop.md
│ ├── troubleshooting-helm-releases/
│ │ ├── SKILL.md
│ │ └── references/
│ │ └── error-catalog.md
│ └── reviewing-helm-release-security/
│ ├── SKILL.md
│ ├── references/
│ │ └── security-checklist.md
│ └── scripts/
│ └── scan_manifest_security.py
└── helm_mcp_server/ # FastMCP Execution Server
├── config.py # Read-only default, toolsets, env/CLI overrides
├── main.py # CLI entrypoint (--transport, --allow-write, --toolsets)
├── server/ # FastMCP core, middleware, bootstrap
├── services/ # HelmService & KubernetesService (session context isolated)
├── tools/ # 13 focused MCP tools (Read, Mutate, Session tiers)
├── resources/ # 10 URI-addressed MCP resources
└── utils/ # Secret redaction, semver comparison, manifest diffing
Bundled Agent Skills (skills/)
The skills/ directory is self-contained and can be installed directly via the root plugin.json or copied into any agent skill directory (e.g., .claude/skills/, .gemini/skills/, .cursor/skills/):
| Skill Name | Purpose | Local Scripts & References |
|---|---|---|
deploying-helm-charts |
End-to-end discovery, values authoring, pre-flight planning, and chart installation | scripts/validate_values.py, scripts/validate_manifests.py, references/known-repositories.md, references/values-authoring.md |
upgrading-and-rolling-back-helm-releases |
Safe live diffing (helm_plan_release), values-merge strategy selection, upgrades, and rollbacks |
references/upgrade-checklist.md, references/rollback-sop.md |
troubleshooting-helm-releases |
Root-cause diagnosis and remediation for CrashLoopBackOff, ImagePullBackOff, OOMKilledRecurring, ProgressDeadlineExceeded, and CRD conflicts |
references/error-catalog.md |
reviewing-helm-release-security |
Pre-deployment Kubernetes manifest security auditing (privileged containers, host namespaces, RBAC wildcards, mutable tags) | scripts/scan_manifest_security.py, references/security-checklist.md |
MCP Execution Surface
1. Tools (13 Total — All $\le 8$ Parameters)
Mutating tools (mutate tag) are hidden by default when MCP_ALLOW_WRITE=false (the default). Enable them with MCP_ALLOW_WRITE=true or --allow-write.
| Tier / Tag | Tool Name | Description |
|---|---|---|
read |
helm_search_charts |
Search configured Helm chart repositories by keyword (query, repository, versions, limit) |
read |
helm_list_releases |
List Helm releases across or within namespaces with status filter and pagination (limit, offset) |
read |
helm_get_release_status |
Single-call release status summary with resource counts and links to /history, /values, and /manifest resources |
read |
helm_render_manifests |
Render Kubernetes manifests (helm template) with automatic Secret and sensitive env redaction |
read |
helm_plan_release |
N-to-1 release planner: computes install preview for new releases or live manifest diff (added/removed/modified resources, image & replica changes) for existing releases |
read |
helm_monitor_deployment |
Multi-layer rollout health monitor checking Helm status, Deployment/StatefulSet rollout conditions, and container failure states |
read |
kubernetes_check_prerequisites |
Verify cluster semantic version and API resource/CRD availability via Kubernetes Discovery APIs |
session |
kubernetes_set_context |
Switch active Kubernetes context for the current MCP session (propagates --kube-context to all Helm CLI and Kubernetes API calls) |
mutate |
helm_ensure_repository |
Register and index a Helm chart repository (helm repo add + helm repo update) |
mutate |
helm_install_chart |
Install a new Helm release with explicit typed parameters (chart_ref, release_name, namespace, values, version, create_namespace, skip_crds, wait_timeout) |
mutate |
helm_upgrade_release |
Upgrade an existing Helm release (release_name, chart_ref, namespace, values, version, values_strategy, wait_timeout, atomic) |
mutate |
helm_rollback_release |
Roll back a release to a previous revision (release_name, namespace, revision, wait_timeout, dry_run) |
mutate |
helm_uninstall_release |
Uninstall a Helm release (release_name, namespace, keep_history) |
2. URI-Addressed Resources (10 Total)
| Resource URI | MIME Type | Description |
|---|---|---|
helm://repositories |
application/json |
Configured Helm chart repositories (helm repo list) |
helm://charts/{repository}/{chart_name} |
application/json |
Chart metadata, kubeVersion constraint, and dependencies (Chart.yaml) |
helm://charts/{repository}/{chart_name}/values |
application/x-yaml |
Default values.yaml for a chart |
helm://charts/{repository}/{chart_name}/readme |
text/markdown |
Chart README.md documentation |
helm://releases/{namespace}/{release_name}/history |
application/json |
Revision history for a deployed release |
helm://releases/{namespace}/{release_name}/values |
application/json |
Redacted user-supplied values for a deployed release |
helm://releases/{namespace}/{release_name}/manifest |
application/x-yaml |
Secret-redacted Kubernetes YAML manifest for a deployed release |
kubernetes://cluster-info |
application/json |
Active cluster version, node summary, and namespace summary |
kubernetes://namespaces |
application/json |
List of Kubernetes namespaces in the active cluster |
kubernetes://contexts |
application/json |
Available kubeconfig contexts and active session context |
Configuration & Running
Environment Variables
| Variable | Default | Description |
|---|---|---|
MCP_TRANSPORT |
stdio |
Transport mode: stdio or http (Streamable HTTP) |
MCP_ALLOW_WRITE |
false |
Enable mutating tools (helm_install_chart, helm_upgrade_release, etc.) |
MCP_TOOLSETS |
all |
Comma-separated toolsets to expose: all, read, mutate |
MCP_READ_ONLY |
false |
Force read-only mode (allow_write=False, toolsets=["read"]) |
KUBECONFIG |
~/.kube/config |
Path to Kubernetes configuration file |
HELM_TIMEOUT |
300 |
Timeout in seconds for Helm CLI subprocesses |
MCP_HOST / MCP_PORT |
0.0.0.0 / 8765 |
Bind host and port when MCP_TRANSPORT=http |
CLI Usage
# Default: Read-only mode over stdio
uv run helm-mcp-server
# Write-enabled mode over stdio
uv run helm-mcp-server --allow-write
# Streamable HTTP mode on port 8765 with write enabled
uv run helm-mcp-server --transport http --port 8765 --allow-write
Development & Testing
# Install dependencies including dev test suite
uv sync --dev
# Run unit and in-memory FastMCP integration tests
uv run pytest tests/ -v --tb=short
# Run static type checking
uv run pyright .
# Build wheel and sdist
uv build
Metadata
Release files for talkops-helm-mcp-server 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| talkops_helm_mcp_server-0.5.0.tar.gz | 124.8 kB | With provenance | Details for talkops_helm_mcp_server-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| talkops_helm_mcp_server-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for talkops_helm_mcp_server-0.5.0-py3-none-any.whl |
Total release size: 170.1 kB
Release files / talkops_helm_mcp_server-0.5.0.tar.gz
| Download URL | talkops_helm_mcp_server-0.5.0.tar.gz |
|---|---|
| Size | 124.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a539ebdb78e7516659009922bddbaa23631fc28db9bf9419ff4e4894d4222a91
|
|
BLAKE2b-256 checksum How to use checksums |
eb5caf48775e7c1ac5cc4d877219067d25a3848561bcdd73e42cde301adb7525
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / talkops_helm_mcp_server-0.5.0-py3-none-any.whl
| Download URL | talkops_helm_mcp_server-0.5.0-py3-none-any.whl |
|---|---|
| Size | 45.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55573ea859a64fef8eead57b1dea5b9765eef8cc85801671a9d40b1c86471da0
|
|
BLAKE2b-256 checksum How to use checksums |
7517ecb86101c13de2f6ca05d397bd0ec25fce11baf2a9f2ce6077ffd32812be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for talkops-helm-mcp-server 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for talkops_helm_mcp_server-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.