MCP-Ambari-API
JSON →Automate Apache Ambari operations with AI/LLM: Natural language commands for Hadoop cluster management, service control, configuration monitoring, and real-time status tracking via Model Context Protocol (MCP) tools.
Install
pip install -U Tools · 17
- get_cluster_info Retrieve comprehensive information about the Ambari cluster including services, hosts, and overall status.
- get_service_status Get the current status of a specific service in the Ambari cluster.
- get_host_details Retrieve detailed information about hosts in the Ambari cluster.
- get_alert_history Fetch alert history for the cluster or specific components.
- get_ongoing_requests List currently ongoing requests in the Ambari cluster.
- start_service Start a specified service in the Ambari cluster.
- stop_service Stop a specified service in the Ambari cluster.
- get_configuration Retrieve configuration details for a specific service or component.
- check_configuration Check and validate configuration settings for a service.
- get_hdfs_report Generate an HDFS dfsadmin-style report including capacity and usage metrics.
- get_service_summary Get a summary of all services and their statuses in the cluster.
- get_capacity_metrics Retrieve capacity metrics for the cluster or specific components.
- query_ambari_metrics Query Ambari Metrics Service (AMS) for time-series data with dynamic metric discovery.
- list_ams_app_ids List available application IDs from Ambari Metrics Service.
- list_ams_metric_names List available metric names for a given application ID from Ambari Metrics Service.
- get_user_queries Retrieve user queries or audit logs from the Ambari cluster.
- track_request Track the status of a specific request by its ID in the Ambari cluster.
Environment variables
AMBARI_HOSTAMBARI_PORTAMBARI_METRICS_HOSTAMBARI_METRICS_PORTREMOTE_SECRET_KEYFASTMCP_HOSTFASTMCP_PORT
Links
★ 1 GitHub stars