Skip to content

Conversation

@aljesusg
Copy link

@aljesusg aljesusg commented Oct 31, 2025

Adding kiali toolset to kubernetes-mcp

  • Adds Kiali toolset with a mesh status tool.
  • Requires kiali-url when Kiali is enabled (via flag or config).
  • Safer URL building and proper token forwarding to Kiali.(We use the same token to validate permissions and access, so in the local environment we also check the kubeconfig to ensure that the provided context includes valid authentication.)
  • Adds focused tests for Kiali manager, client, and mesh.
  • Updates help text to list Kiali as an available toolset.

We'll add others later after this first PR

Screenshot From 2025-10-31 13-07-48

cc @hhovsepy

@aljesusg aljesusg changed the title [WIP][toolset] Add kiali support [toolset] Add kiali support Nov 3, 2025
@matzew
Copy link
Collaborator

matzew commented Nov 5, 2025

It would make sense to provide a little document on this, e.g. in here https://github.com/containers/kubernetes-mcp-server/tree/main/docs ?

For instance, when setting the configuration toml to toolsets = ["kiali"] the MCP server would serve those kiali tools, and require the URL where it is running.

@aljesusg
Copy link
Author

aljesusg commented Nov 5, 2025

Sure! I’ll take care of the docs part — I just wanted to get the code reviewed first.
By the way, there’s an error message when the Kiali toolset is enabled without a defined URL.

Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
@aljesusg aljesusg requested a review from Cali0707 November 5, 2025 15:21
Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
Signed-off-by: Alberto Gutierrez <aljesusg@gmail.com>
@aljesusg aljesusg requested a review from matzew November 5, 2025 16:45
@manusa manusa changed the title [toolset] Add kiali support feat(toolsets): add kiali support Nov 7, 2025
Signed-off-by: Marc Nuri <marc@marcnuri.com>
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.

Looking really good, thank!
I created a PR to your branch with some changes to align the new toolset with the rest of implementations:

aljesusg#2

@manusa manusa added this to the 0.1.0 milestone Nov 7, 2025
@aljesusg
Copy link
Author

aljesusg commented Nov 7, 2025

Reviewed and merged. thanks !

@aljesusg aljesusg requested a review from manusa November 7, 2025 12:20
@aljesusg aljesusg closed this Nov 7, 2025
@aljesusg aljesusg reopened this Nov 7, 2025
@aljesusg
Copy link
Author

aljesusg commented Nov 7, 2025

I’ll remove the flags related with Kiali next day.
Since I see there’s consensus regarding the configuration, I’ll also add the rest of the tools we have.

Thanks

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.

4 participants