cdp-mcp-server
MCP server for Cloudera Manager and CDP cluster administration, enabling monitoring, configuration, and troubleshooting of Hadoop ecosystem services through natural language.
README
cdp-mcp-server
MCP (Model Context Protocol) server for Cloudera Manager / CDP cluster administration and troubleshooting.
Fork of dvergari/cloudera-mcp-server — extended with pluggable registry backends (File, Env, Iceberg) and additional service clients (YARN, Spark History Server, HDFS NameNode, Oozie).
Quick Start (general purpose — no Iceberg required)
Option 1: FileRegistry (recommended for development)
# Install
git clone https://github.com/disoardi/cdp-mcp-server.git
cd cdp-mcp-server
python3.12 -m venv .venv
source .venv/bin/activate
pip install -e .
# Configure
cp cm_instances.yaml.example cm_instances.yaml
# Edit cm_instances.yaml with your CM credentials
# Run
REGISTRY_BACKEND=file cdp-mcp
Option 2: EnvRegistry (single CM, zero config)
REGISTRY_BACKEND=env \
CM_HOST=cm.example.com \
CM_USERNAME=admin \
CM_PASSWORD=changeme \
CM_USE_TLS=false \
cdp-mcp
Claude Desktop Configuration
FileRegistry
{
"mcpServers": {
"cdp": {
"command": "/path/to/cdp-mcp-server/.venv/bin/cdp-mcp",
"env": {
"REGISTRY_BACKEND": "file",
"REGISTRY_FILE_PATH": "/path/to/cm_instances.yaml"
}
}
}
}
EnvRegistry (single CM)
{
"mcpServers": {
"cdp": {
"command": "/path/to/cdp-mcp-server/.venv/bin/cdp-mcp",
"env": {
"REGISTRY_BACKEND": "env",
"CM_HOST": "cm.example.com",
"CM_USERNAME": "admin",
"CM_PASSWORD": "changeme",
"CM_USE_TLS": "false"
}
}
}
}
Available Tools
Cloudera Manager (original dvergari tools)
list_clusters— List all managed DataHub clusterslist_services— List services on a clusterget_service_logs— Extract service logs with time range filteringget_alerts— Get cluster alerts and eventsget_service_metrics— Time-series metrics via tsqueryget_config/update_config— Read and write service configurationrun_service_command/get_command_status— Execute async CM commandsget_host_status— Host health and role inventoryget_audit_events— CM audit loglist_datahubs— Enumerate DataHub clustersrefresh_cluster_map— Rebuild cluster→CM mapping
Registry Management
registry_list— List registered CM instancesregistry_stats— Registry statisticsregistry_add— Register a new CM instanceregistry_deactivate— Deactivate a CM instanceregistry_update_field— Update a registry fieldregistry_reload— Hot-reload registry
YARN ResourceManager
get_yarn_app— Get YARN application details and diagnosticslist_yarn_apps— List YARN applications with filtersget_yarn_queue— Get YARN scheduler queue capacity/usage
Spark History Server
get_spark_app— Get Spark application summarylist_spark_apps— List Spark applicationsget_spark_stages— Get stage details (useful for debugging slow jobs)
HDFS NameNode
get_namenode_status— NameNode health, capacity, corrupt/missing blocks
Oozie
get_oozie_job— Get workflow or coordinator job detailslist_oozie_jobs— List Oozie jobs with filters
Registry Backends
| Backend | Use case | Requires |
|---|---|---|
file |
Development, small teams | cm_instances.yaml |
env |
Single CM, quick tests | env vars CM_HOST, CM_USERNAME, CM_PASSWORD |
iceberg |
Production CDP environments | Impala/HiveServer2 + Iceberg table |
License
Apache License 2.0 — see LICENSE. Original work © Davide Vergari. Modifications © Davide Isoardi.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.