An MCP server for kubectl, enabling AI assistants to interact with Kubernetes clusters through a standardized protocol.
The kubectl-mcp
plugin implements a Model Context Protocol (MCP) server for kubectl. This server enables AI assistants like Amazon Q to interact with kubectl functionality directly through a standardized protocol, allowing for seamless integration of kubectl commands into AI-powered workflows.
Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context and tools to Large Language Models (LLMs). It enables AI assistants to:
The kubectl MCP plugin exposes all kubectl commands as tools that can be invoked by AI assistants. The implementation consists of several key components:
main.go
: Entry point that starts the MCP serverpkg/mcp/server.go
: Creates and configures the MCP server with all kubectl commandspkg/mcp/tools.go
: Handles the registration of kubectl commands as MCP toolsmcp-go
library to implement the Model Context ProtocolTo use the kubectl MCP plugin with Amazon Q Chat, you need to register it in the Amazon Q configuration file.
Create or edit the file at $HOME/.aws/amazonq/mcp.json
with the following content:
{
"mcpServers": {
"kubectl": {
"command": "kubectl-mcp",
"args": []
}
}
}
This configuration tells Amazon Q Chat to:
kubectl-mcp
command to start the MCP serverkubectl___
To install the kubectl MCP plugin:
Build the plugin:
make kubectl-mcp
Move the binary to a location in your PATH:
sudo mv kubectl-mcp /usr/local/bin/
Verify the installation:
kubectl plugin list | grep mcp
To quickly test the MCP server, you can run the following command in your terminal:
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | kubectl-mcp | jq
Core AWS MCP server providing prompt understanding and server management capabilities.
APISIX Model Context Protocol (MCP) server is used to bridge large language models (LLMs) with the APISIX Admin API, supporting querying and managing all resources in Apache APISIX.
Provides comprehensive analytics for Solana wallets, including real-time portfolio insights and detailed DeFi activity tracking.
Interact with Twelve Data APIs to access real-time and historical financial market data for your AI agents.
Integrates with Lemon Squeezy to manage subscriptions, checkouts, and products.
Navigate your Aiven projects and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
A security-focused MCP server for performing safe operations on an Ubuntu system, featuring robust security controls and audit logging.
A read-only MCP server for Azure Data Catalog, powered by CData's JDBC driver.
A Python MCP server for Microsoft Entra ID (Azure AD) directory, user, group, device, sign-in, and security operations via Microsoft Graph.
A read-only server for querying live Workday data using LLMs, powered by the CData JDBC Driver.