Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces and documents new AI-powered security analysis features for kguardian, integrating the Model Context Protocol (MCP) and expanding LLM provider support. The documentation has been updated to explain these capabilities, and the
llm-bridgeservice now uses the MCP SDK to access cluster data through a standardized protocol. Additionally, the package dependencies forllm-bridgehave been updated to include the MCP SDK and its requirements.Key changes are as follows:
Documentation Updates
README.mdfor the new optional AI-powered security analysis, including natural language queries, supported LLM providers (OpenAI, Anthropic, Google Gemini, GitHub Copilot), and MCP integration. Instructions for enabling these features and managing secrets are also included. [1] [2] [3]llm-bridge/README.mdto reflect the new architecture: the bridge now connects to an MCP server (written in Go) that provides 6 comprehensive tools for LLMs to call, replacing the previous direct broker function calling. Expanded troubleshooting and configuration guidance for MCP integration. [1] [2] [3] [4] [5]MCP Integration
llm-bridgenow depends on@modelcontextprotocol/sdkfor MCP support, enabling standardized access to cluster data and tool calling from LLMs.MCP_SERVER_URLfor configuring the MCP server endpoint in the bridge service.Dependency and Package Updates
llm-bridge/package-lock.jsonto include@modelcontextprotocol/sdkand its dependencies (e.g.,ajv,ajv-formats,eventsource,express-rate-limit,pkce-challenge,fast-uri, etc.), ensuring MCP tool support and compatibility with the new architecture. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]These changes make kguardian's AI assistant more powerful and flexible, with standardized, multi-provider support and improved documentation for users and developers.