Skip to content

Helm integration #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 10, 2025
Merged

Helm integration #58

merged 3 commits into from
May 10, 2025

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
Owner

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
Owner

@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
Owner

@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 manusa: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