This directory contains the Go implementation of all KAgent tools, migrated from the original Python implementation. The tools are designed to work with the Model Context Protocol (MCP) server and provide comprehensive Kubernetes, cloud-native, and observability functionality.
- Bash:
curl -sL https://raw.githubusercontent.com/kagent-dev/tools/refs/heads/main/scripts/install.sh | bash- Docker:
docker run -it --rm -p 8084:8084 ghcr.io/kagent-dev/kagent/tools:0.0.10- Kubernetes
helm upgrade -i -n kagent --create-namespace kagent-tools oci://ghcr.io/kagent-dev/tools/helm/kagent-tools --version 0.0.10
helm ls -AFor a quickstart guide on how to run KAgent tools using AgentGateway, please refer to the Quickstart Guide.
The Go tools are implemented as a single MCP server that exposes all available tools through the MCP protocol. Each tool category is implemented in its own Go file for better organization and maintainability.
Provides comprehensive Kubernetes cluster management functionality:
- kubectl_get: Get Kubernetes resources
- kubectl_describe: Describe Kubernetes resources in detail
- kubectl_logs: Get logs from pods
- kubectl_scale: Scale deployments and replica sets
- kubectl_patch: Patch Kubernetes resources
- kubectl_label: Add/remove labels from resources
- kubectl_annotate: Add/remove annotations from resources
- kubectl_delete: Delete Kubernetes resources
- kubectl_apply: Apply configurations from files or stdin
- kubectl_create: Create resources from files or stdin
- check_service_connectivity: Test service connectivity
- get_events: Get cluster events
- get_api_resources: List available API resources
- get_cluster_configuration: Get cluster configuration
- exec_command: Execute commands in pods
- rollout: Manage deployment rollouts
Provides Helm package manager functionality:
- helm_list: List Helm releases
- helm_get: Get information about Helm releases
- helm_upgrade: Upgrade Helm releases
- helm_uninstall: Uninstall Helm releases
- helm_install: Install Helm charts
- helm_repo_add: Add Helm repositories
- helm_repo_update: Update Helm repositories
Provides Istio service mesh management:
- istio_proxy_status: Get proxy status
- istio_proxy_config: Get proxy configuration
- istio_install: Install Istio
- istio_generate_manifest: Generate Istio manifests
- istio_analyze: Analyze Istio configuration
- istio_version: Get Istio version information
- istio_remote_clusters: Manage remote clusters
- istio_waypoint_list: List waypoint proxies
- istio_waypoint_generate: Generate waypoint proxy configuration
- istio_waypoint_apply: Apply waypoint proxy configuration
- istio_waypoint_delete: Delete waypoint proxies
- istio_waypoint_status: Get waypoint proxy status
- istio_ztunnel_config: Get ztunnel configuration
Provides Argo Rollouts progressive delivery functionality:
- verify_argo_rollouts_controller_install: Verify controller installation
- verify_kubectl_plugin_install: Verify kubectl plugin installation
- promote_rollout: Promote rollouts
- pause_rollout: Pause rollouts
- set_rollout_image: Set rollout images
- verify_gateway_plugin: Verify Gateway API plugin
- check_plugin_logs: Check plugin installation logs
Provides Cilium CNI and networking functionality:
- cilium_status_and_version: Get Cilium status and version
- upgrade_cilium: Upgrade Cilium installation
- install_cilium: Install Cilium
- uninstall_cilium: Uninstall Cilium
- connect_to_remote_cluster: Connect to remote clusters
- disconnect_remote_cluster: Disconnect from remote clusters
- list_bgp_peers: List BGP peers
- list_bgp_routes: List BGP routes
- show_cluster_mesh_status: Show cluster mesh status
- show_features_status: Show Cilium features status
- toggle_hubble: Enable/disable Hubble
- toggle_cluster_mesh: Enable/disable cluster mesh
Provides Prometheus monitoring and alerting functionality:
- prometheus_query: Execute PromQL queries
- prometheus_range_query: Execute PromQL range queries
- prometheus_labels: Get available labels
- prometheus_targets: Get scraping targets and their status
Provides Grafana dashboard and alerting management:
- grafana_org_management: Manage Grafana organizations
- grafana_dashboard_management: Manage dashboards
- grafana_alert_management: Manage alerts and alert rules
- grafana_datasource_management: Manage data sources
Provides time and date utilities:
- current_date_time: Get current date and time in ISO 8601 format
- format_time: Format timestamps with optional timezone
- parse_time: Parse time strings into RFC3339 format