Skip to content

Conversation

@bussyjd
Copy link
Contributor

@bussyjd bussyjd commented Apr 23, 2025

This PR introduces the first stage of Helm integration into the MCP server, following the project’s architectural guidelines of using the Helm Go SDK (not the Helm CLI) for native Kubernetes and Helm operations.

Key Features:

  • Adds a new pkg/helm package that abstracts Helm operations using the Helm Go SDK.
  • Implements listing of Helm releases across namespaces.
  • Exposes new MCP server methods for:
    • Listing all Helm releases (helmReleasesList)
    • Listing Helm releases in a specific namespace (helmListInNamespace)
  • Filters out chart templates and files from the returned release data for clarity and performance.
  • Updates API and internal logic to support this integration.

Motivation

  • This is the foundation for Helm support in MCP, enabling multi-namespace release visibility and setting the stage for future enhancements such as repository management, install/uninstall, and chart discovery.

How to Test
npx @modelcontextprotocol/inspector@latest $(pwd)/kubernetes-mcp-server

Roadmap / Next Steps

Future PRs will add:

  • Helm repo add/remove/update
  • Helm install (with dry-run support)
  • Helm uninstall
  • Helm search hub (chart discovery)

Related Issue
Closes #55

@manusa
Copy link
Member

manusa commented Apr 26, 2025

Thanks for contributing, I'll review it ASAP

@bussyjd bussyjd requested a review from manusa May 7, 2025 07:43
@manusa manusa self-assigned this May 8, 2025
Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing and updating the PR. 🚀
I'll add a further commit to add some minor cosmetic changes and merge when ready.

@manusa manusa added this to the 0.1.0 milestone May 9, 2025 — with automated-tasks
Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx!

@manusa manusa force-pushed the feat/helm-integration branch 2 times, most recently from 4fe9cd1 to 2f36de5 Compare May 9, 2025 16:50
@manusa manusa force-pushed the feat/helm-integration branch from 2f36de5 to 23e4311 Compare May 9, 2025 16:52
@manusa manusa merged commit b4928f8 into containers:main May 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Helm Support to MCP Server

2 participants