Skip to content

[Feature]: MCP: export_kubestellar_context tool #34

@alokdangre

Description

@alokdangre

Contact Details

No response

Is your feature request related to a problem?

There is no MCP-exposed way to obtain a compact, delta-based snapshot of KubeStellar multi-cluster state.

Describe the solution you'd like

Add export_kubestellar_context:

  • Optionally merges provided cluster_results into the shared context
  • Returns a delta {hash, context} only when content changes
  • Registered so it appears in tool listings (CLI/MCP)

Describe alternatives you've considered

  • Custom functions per consumer: fragmented and duplicative
  • Always return full state: higher latency and token cost

Use Case

Agents/clients request latest context to inform decisions or LLM prompts while avoiding resending unchanged state.

Priority

High - Important for my workflow

Feature Type

  • New functionality
  • Performance improvement
  • User experience enhancement
  • Developer experience improvement
  • Security enhancement
  • Documentation improvement
  • API enhancement

Additional Context

Pairs with the shared context/delta serializer for efficiency.

Implementation

  • I would be willing to submit a pull request to implement this feature
  • I can help with testing
  • I can help with documentation
  • I can provide feedback during development

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions