Kube Audit MCP
K

Kube Audit MCP

kube-audit-mcp is an MCP server that provides AI agents with the ability to query Kubernetes audit logs and supports multiple log providers such as Alibaba Cloud, AWS, and Google Cloud.
2.5 points
4.7K

What is kube-audit-mcp?

kube-audit-mcp is an MCP server that integrates Kubernetes audit log query capabilities into AI assistants and chatbots. Through this service, AI assistants can help you monitor and analyze various operational activities in Kubernetes clusters, such as resource creation, deletion, and updates.

How to use kube-audit-mcp?

After installing the server, configure your cloud service provider credentials and then enable it in the supported MCP client. The AI assistant can then help you query and analyze Kubernetes audit logs.

Use cases

Scenarios that require the analysis of Kubernetes cluster operation records, such as security audits, troubleshooting, compliance checks, activity monitoring, and anomaly detection.

Main Features

Multi-cloud Support
Supports the log services of multiple cloud service providers, such as Alibaba Cloud SLS, AWS CloudWatch, and Google Cloud Logging.
Audit Log Query
Provides flexible query capabilities, allowing you to filter logs by conditions such as time range, namespace, resource type, and operation type.
AI Assistant Integration
Seamlessly integrates with mainstream AI assistants such as Claude, Gemini, and VS Code Copilot.
Multi-cluster Management
Supports the configuration and management of multiple Kubernetes clusters, facilitating query switching between different environments.
Advantages
Enables secure queries through log services without direct access to the Kubernetes API server
Provides a natural language interface, making it easy for non-technical personnel to use
Supports multiple cloud platforms, adapting to different infrastructure environments
Offers real-time query capabilities, quickly obtaining the latest audit information
Limitations
Requires the configuration of corresponding cloud service provider credentials and permissions
Query performance is limited by the performance of the underlying log service
Currently mainly supports mainstream cloud providers; additional configuration is required for self-built Kubernetes

How to Use

Download and Install
Download the latest version from the GitHub Releases page or use the Docker image.
Configure Credentials
Create a configuration file and set your cloud service provider access credentials.
Configure the MCP Client
Add the kube-audit-mcp server configuration to the AI assistant client you are using.
Start Using
Directly ask questions related to Kubernetes audits in the AI assistant conversation.

Usage Examples

Security Audit
Check for unauthorized resource operations
Troubleshooting
Track resource change history to locate the cause of problems
Compliance Check
Verify compliance with internal security policies and compliance requirements

Frequently Asked Questions

What permissions do I need to use this service?
Does it support self-built Kubernetes clusters?
How is the query performance?
Will the data be sent to third parties?

Related Resources

GitHub Repository
The project's source code and latest version releases
MCP Protocol Documentation
The official documentation of the Model Context Protocol
Kubernetes Audit Documentation
The official Kubernetes audit log documentation
Installation Guide
Detailed installation and configuration guide

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "kube-audit": {
      "type": "stdio",
      "command": "kube-audit-mcp",
      "args": [
        "mcp"
      ]
    }
  }
}

{
  "mcpServers": {
    "kube-audit": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/etc/kube-audit-mcp/config.yaml:/etc/kube-audit-mcp/config.yaml:ro",
        "quay.io/mozillazg/kube-audit-mcp:latest",
        "mcp",
        "--config",
        "/etc/kube-audit-mcp/config.yaml"
      ],
      "env": {
        "ALIBABA_CLOUD_ACCESS_KEY_ID": "needed_if_you_use_alibaba_sls_provider",
        "ALIBABA_CLOUD_ACCESS_KEY_SECRET": "needed_if_you_use_alibaba_sls_provider",
        "AWS_ACCESS_KEY_ID": "needed_if_you_use_aws_cloudwatch_logs_provider",
        "AWS_SECRET_ACCESS_KEY": "needed_if_you_use_aws_cloudwatch_logs_provider",
        "GOOGLE_APPLICATION_CREDENTIALS": "needed_if_you_use_gcp_cloud_logging_provider"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Aderyn
Aderyn is an open - source Solidity smart contract static analysis tool written in Rust, which helps developers and security researchers discover vulnerabilities in Solidity code. It supports Foundry and Hardhat projects, can generate reports in multiple formats, and provides a VSCode extension.
Rust
5.9K
5 points
M
MCP Scan
MCP-Scan is a security scanning tool for MCP servers, used to detect common security vulnerabilities such as prompt injection, tool poisoning, and cross-domain escalation.
Python
14.6K
5 points
A
Agentic Radar
Agentic Radar is a security scanning tool for analyzing and assessing agentic systems, helping developers, researchers, and security experts understand the workflows of agentic systems and identify potential vulnerabilities.
Python
11.9K
5 points
2
2344
Opik is an open-source LLM evaluation framework that supports tracking, evaluating, and monitoring LLM applications, helping developers build more efficient and cost-effective LLM systems.
TypeScript
17.2K
5 points
I
Ida Pro MCP
Certified
IDA Pro MCP is a server plugin for reverse engineering. It interacts with client tools through the MCP protocol, providing functions such as function analysis, comment modification, variable renaming, etc., and supports multiple MCP clients such as Cline, Roo Code, etc.
Python
17.0K
5 points
M
MCP Shield
MCP - Shield is a security tool for scanning MCP server vulnerabilities, which can detect security risks such as tool poisoning attacks, data leakage channels, and cross - domain violations.
TypeScript
9.3K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
16.6K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
14.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.5K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
43.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.2K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
45.3K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.2K
4.8 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
62.4K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase