datahub-cm-mcp
Provides read-only access to Cloudera Manager metrics for CDP Public Cloud DataHubs, including host status, CPU/memory usage, disk usage, and metric timeseries queries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@datahub-cm-mcpShow me CPU and memory usage per host for datahub zzengaws732-dm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
datahub-cm-mcp
Read-only Cloudera Manager metrics for a CDP Public Cloud DataHub, over Knox.
Sibling to cdp-pc in this suite — a separate process with its own auth plane
(the suite's design rule). Where cdp-pc is the control plane (list/describe via
the cdp CLI + ~/.cdp API key), this is the data plane: each DataHub's own
Cloudera Manager, read via cdp-proxy-api/cm-api with workload user + password.
Why this exists: in CDP Public Cloud every DataHub runs its own Cloudera Manager, reachable through Knox. So "CM = private-cloud only" is not true for PC. This MCP turns the infra team's manual
top/free/dfround into natural-language questions.
Tools (all read-only, GET only)
Tool | Answers | CM source |
| per-host cores, RAM, health, roles |
|
| per-host CPU% + memory% (latest) — the |
|
| per-filesystem capacity/used/% — the |
|
| per-host trend for one whitelisted metric (spikes) |
|
cluster_name comes from cdp-pc's list_datahubs. The CM endpoint is auto-discovered
from describe-cluster (no registry table).
Related MCP server: mcp-grafana
Auth (how credentials are given)
Discovery (control plane):
cdp datahub describe-cluster→ reads theCM-APIendpoint URL. Reuses~/.cdp/credentials.CM REST (data plane): HTTP Basic over Knox = CDP workload username + workload password (Knox mode
PAM). Username:CDP_WORKLOAD_USERenv, elsecdp iam get-userworkloadUsername, else$USER. Password:CM_PASSWORD/CDP_WORKLOAD_PASSWORDenv, else macOS Keychain (account=zzeng,service=cdp-workload-impala). No password is stored on disk.TLS verified by default;
CM_INSECURE=trueto skip (corp MITM).
Setup
cd tools/datahub-cm-mcp
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt # minimcp + mcp<2
# workload password already in Keychain? (shared with Impala)
security find-generic-password -a zzeng -s cdp-workload-impala -w >/dev/null && echo "pw ok"Register into Claude (from the suite): tools/cdp-pc-mcp/register-all.sh already lists
datahub-cm. Or manually:
claude mcp add datahub-cm -e "PYTHONPATH=$PWD/src" -- "$PWD/.venv/bin/python" -m datahub_cm_mcp.stdio_mainSmoke test (no Claude)
export PATH="$HOME/.local/bin:$PATH" # cdp CLI
PYTHONPATH=src .venv/bin/python -c "
from datahub_cm_mcp import cm
import json; print(json.dumps(cm.resource_usage('zzengaws732-dm'), indent=2, ensure_ascii=False))"Expected: per-host cpu_pct / mem_pct from live Cloudera Manager.
Demo talk track (JP, copy-paste): demo-scenario-jp.md.
Notes / limits
Prereq: the DataHub (and its environment) must be AVAILABLE. Stopped → discovery errors clearly (no CM-API endpoint).
The CM
/clusterslist can be empty through the PC Knox proxy; all tools here work at host level, which is what infra monitoring needs.Read-only: no config-change / command tools. Adding those would need a deliberate, separately-scoped write plane.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceA read-only MCP server that enables users to query Databricks SQL, browse metadata, and monitor Delta Lake tables. It also supports tracking Databricks Jobs, DLT Pipelines, and cluster metrics through natural language interfaces.254MIT
- Flicense-qualityCmaintenanceIn-cluster MCP server for read-only diagnostics of Grafana, Prometheus, Alertmanager, and Loki, enabling metric queries, alert listings, and log queries through Grafana datasource proxies with Kubernetes RBAC authentication.
- Alicense-qualityAmaintenanceA read-only MCP server for querying telemetry data from configurable backends. Provides tools to list sources, describe schemas, run bounded queries, and compute aggregates.MIT
- Flicense-qualityCmaintenanceMCP server for Cloudera Manager and CDP cluster administration, enabling monitoring, configuration, and troubleshooting of Hadoop ecosystem services through natural language.1
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zz22394/datahub-cm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server