feat: add mcp server foundation and CLI integration - #1917
dolliecoder wants to merge 3 commits into
Conversation
Signed-off-by: dolliecoder <dollychahar27@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Adding label DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: dolliecoder <dollychahar27@gmail.com>
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR lays the architectural foundation for the Kmesh Model Context Protocol (MCP) Server
Specifically, this PR:
github.com/mark3labs/mcp-goSDK dependency togo.mod.KmeshMCPServerstruct inmcp/server/server.goto handle MCP initialization.kmeshctl mcp servesubcommand for local AI agents.mcp/cmd/mcp-server/main.gofor future containerization.This establishes the baseline infrastructure so that subsequent PRs can focus entirely on migrating the core
dump,log,authz, andsecretcapabilities into callable MCP tools.Which issue(s) this PR fixes:
Fixes #1916
Special notes for your reviewer:
This is a foundational PR to establish the CLI skeleton and dependencies, so no core Kmesh data is being exposed yet. The
mcp-goSDK was chosen because it provides robust, native support for both STDIO (used by Cursor/Claude Desktop) and SSE transport.Does this PR introduce a user-facing change?: