Cloudera Data Visualization MCP Server
Provides tools for interacting with Cloudera Data Visualization (CDV) API, enabling management of groups, users, roles, segments, filter associations, workspaces, datasets, visuals, data connections, jobs, migrations, and debugging operations.
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., "@Cloudera Data Visualization MCP Serverlist all workspaces"
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.
Cloudera Data Visualization MCP Server
A Model Context Protocol server that exposes the full Cloudera Data Visualization (CDV) REST API to AI agents. This lets LLMs list, create, update, and delete CDV resources—groups, users, roles, segments, filter associations, workspaces, datasets, visuals, and data connections—as well as run jobs, query the data API, import/export migrations, and perform operational debugging tasks.
Tools
Groups
Tool | Description |
| List all groups |
| Get a group by ID |
| Create a new group |
| Update a group by ID |
| Delete a group by ID |
Users
Tool | Description |
| List all users |
| Get a user by ID |
| Update a user by ID |
| Edit a user's profile by username |
Roles
Tool | Description |
| List all roles |
| Get a role by ID |
| Create a new role |
| Update a role by ID |
| Delete a role by ID |
Segments
Tool | Description |
| List all segments |
| Get a segment by ID |
| Create a new segment |
| Update a segment by ID |
| Delete a segment by ID |
Filter Associations
Tool | Description |
| List all filter associations |
| Get a filter association by ID |
| Create a new filter association |
| Update a filter association by ID |
| Delete a filter association by ID |
Workspaces
Tool | Description |
| List all workspaces |
| Get a workspace by ID |
| Create a new workspace |
| Update a workspace by ID |
| Delete a workspace by ID |
Datasets
Tool | Description |
| List all datasets |
| Get a dataset by ID |
| Create a new dataset |
| Update a dataset by ID |
| Delete a dataset by ID |
Visuals
Tool | Description |
| List all visuals (charts/dashboards) |
| Get a visual by ID |
| Create a new visual (raw API body) |
| Update a visual by ID |
| Delete a visual by ID |
| Create a chart visual — only exposes patterns confirmed to work via the API |
Supported visual_type values for create_smart_visual:
Type | Use case | Notes |
| Bar chart — one measure vs. one dimension | Measure on x, dimension on y |
| Grouped bars — one SUM measure, split by color dimension | Use |
| Pie chart — SUM measure by dimension | Dimension auto-placed on |
All other CDV chart types require configuration in CDV's interactive builder and are blocked here to prevent broken visuals.
What is blocked and why:
Pattern | Error returned | Alternative |
| CDV generates | Use |
| Unsupported visual type | Use CDV's builder; use |
Columns starting with | CDV tokenizer bug produces | Choose a different column |
Date/timestamp columns as dimensions | CDV bracket conversion fails for TIMESTAMP | Use CDV's builder for time-series |
|
| Use |
Deleting dashboards | Cascade-deletes ALL linked chart visuals | Record visual IDs first; use |
Connections
Tool | Description |
| List all data connections |
| Get a connection by ID |
| Create a new connection |
| Update a connection by ID |
| Delete a connection by ID |
| Export a connection definition by ID |
Migrations
Tool | Description |
| Export all CDV artifacts as a migration bundle |
| Import a CDV migration bundle |
Data API
Tool | Description |
| Query |
| Query |
| Query |
| Query |
Jobs
Tool | Description |
| Trigger a job run |
| Run an existing extract job |
| Create a new extract job definition |
Debugging / Operations
Tool | Description |
| Retrieve GC monitor statistics |
| Trigger a GC monitor action |
| Retrieve GC statistics |
| Trigger a GC stats action |
| Get log levels for all loggers |
| Set the default log level |
| Get log level for a specific logger |
| Set log level for a specific logger |
| Get current cProfile tracing state |
| Toggle cProfile tracing on/off |
| Reset the cache for a data connection |
| Reset the cache for a dataset |
Examples
Cloudera Agent Studio — AI Assisted Supply Chain
The screenshots below show the CDV MCP Server being used inside Cloudera Agent Studio as part of an AI-powered supply chain workflow. The user asked a natural language question and the agent automatically:
Discovered the available connections and datasets
Explored the
procurement_transactionstable schemaPlanned the right visualization type and column mapping
Called
create_smart_visualto build a stacked bar chart in CDVCalled
create_dashboardto make it visible in the Logistics MCP Demo workspace
Prompt: "Which suppliers are driving the most urgent spend? Build a stacked bar chart in Data viz."
Step 1 — Agent plans the visualization
The agent reasons through the dataset, identifies supplier_name as the dimension, priority_code as the color grouping, and total_price (sum) as the measure, then maps these to a trellis-groupedbars visual type.

Step 2 — Visual created and linked in CDV
The agent confirms the visualization details, creates the chart via create_smart_visual, wraps it in a dashboard with create_dashboard, and returns a direct link to the new artifact in the Logistics MCP Demo workspace.

Agent Workflow Guidance
CDV Data Hierarchy
CDV organizes data in three layers, each building on the one below:
Connection (links to an external database, e.g. Impala, Hive, Spark SQL)
└── Dataset (points to a specific table or query within that connection)
└── Visual / Dashboard (chart or dashboard built on a dataset)Agents must respect this hierarchy when exploring or creating resources.
Discovery — Always Check Before Creating
Before creating anything, always discover what already exists at each level.
Step 1 — Connections
Call list_connections to see what data sources are registered in CDV.
Present the list to the user and identify which connection holds their data.
Only offer create_connection if no suitable connection exists and the user explicitly asks for one.
Step 2 — Datasets
Call list_datasets to see what datasets already exist (these are built on top of connections).
Present the results and ask the user which dataset to use.
Only offer create_dataset if no suitable dataset exists on the right connection and the user explicitly confirms they want a new one. Note that create_dataset requires a dc_id — the connection ID from Step 1.
Step 3 — Visuals / Dashboards
Call list_visuals to see what charts/dashboards already exist before building new ones.
Only call create_smart_visual or create_visual once the dataset has been confirmed.
Never assume anything needs to be created. CDV instances typically already have connections, datasets, and even visuals the user can reuse.
Correct flow:
User: "Build me a bar chart of shipment costs"
Agent: list_connections() ← discover data sources
Agent: "I found these connections: ..."
Agent: list_datasets() ← discover existing datasets
Agent: "Which dataset should I use?"
User: "Use supplier_shipping_performance"
Agent: list_workspaces() ← identify target workspace
Agent: create_smart_visual(...) ← now build the visualIncorrect flow (avoid):
User: "Build me a bar chart of shipment costs"
Agent: create_connection(...) ← ❌ never skip discovery
Agent: create_dataset(...) ← ❌ never create without confirming first
Agent: create_smart_visual(...)Workspace Discovery — Same Rule Applies
Always call list_workspaces before creating a visual or dashboard. Identify the correct workspace ID from the list; only call create_workspace if the user explicitly requests a new one.
Visual Creation Workflow
When create_smart_visual is used:
Call
list_connections→ understand available data sources.Call
list_datasets→ confirm dataset with user (note whichdc_idit belongs to).Call
list_workspaces→ identify the target workspace ID.Call
create_smart_visualwithdataset_id,workspace_id, and column specs.If the Smart Visual API returns 404 (not available on all CDV instances), the tool automatically falls back to the standard admin API using the provided
workspace_id.
Environment Variables
Variable | Required | Description |
| Yes | Base URL of your CDV deployment (e.g. |
| Yes | CDV API key — sent as |
| No | Transport protocol: |
Usage with Claude Desktop
Add the following to the mcpServers section of your claude_desktop_config.json:
Option 1: Direct installation from GitHub (Recommended)
{
"mcpServers": {
"cdv-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/kevintalbert/cdv-mcp-server@main",
"run-server"
],
"env": {
"CDV_BASE_URL": "https://my-cdv-instance.example.com",
"CDV_API_KEY": "your-api-key-here",
"CDV_USERNAME": "vizapps_admin",
"CDV_PASSWORD": "vizapps_admin"
}
}
}
}Option 2: Local installation (after cloning the repository)
{
"mcpServers": {
"cdv-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/path/to/CDV-MCP-Server",
"run",
"src/cdv_mcp_server/server.py"
],
"env": {
"CDV_BASE_URL": "https://my-cdv-instance.example.com",
"CDV_API_KEY": "your-api-key-here",
"CDV_USERNAME": "vizapps_admin",
"CDV_PASSWORD": "vizapps_admin"
}
}
}
}For Option 2, replace /path/to/CDV-MCP-Server with your local path.
Local Development
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync
# Run the server (stdio transport, default)
uv run run-server
# Run with HTTP transport
MCP_TRANSPORT=http uv run run-serverYou can also create a .env file in the project root with your credentials:
CDV_BASE_URL=https://my-cdv-instance.example.com
CDV_API_KEY=your-api-key-here
CDV_USERNAME=vizapps_admin
CDV_PASSWORD=your-cdv-passwordTransport
The MCP server's transport protocol is configurable via the MCP_TRANSPORT environment variable:
stdio(default) — communicate over standard input/output. Useful for local tools, CLI scripts, and integrations like Claude Desktop.http— expose an HTTP server. Useful for web-based deployments and microservices.sse— use Server-Sent Events (SSE) transport. Useful for existing web-based deployments that rely on SSE.
Authentication
The server uses two separate authentication mechanisms with different capability levels:
Credential | Env Var | Required | Unlocks |
CDV Admin API Key |
| Always | Data exploration, admin CRUD, connections, datasets, workspaces, users, groups, migrations, jobs |
CDV Username + Password |
| Optional |
|
Without CDV_USERNAME / CDV_PASSWORD
When session credentials are absent, chart and dashboard creation tools are not registered in the MCP server at all — they will not appear in the agent's tool list. The server operates in a read/explore-only mode for visuals:
✅
query_dataapi— run SQL queries, explore data✅
list_connections,list_datasets,list_workspaces— discover resources✅
list_visuals,get_visual— inspect existing dashboards✅ All admin tools (users, groups, roles, datasets, etc.)
❌
create_smart_visual— not available❌
create_dashboard— not available❌
create_visual/update_visual/delete_visual— not available
Why two credentials?
CDV's admin API (arc/adminapi/v1/visuals) creates visual metadata (title, type, dataset) but does not persist shelf configurations (which columns appear on which axes). Shelf data is stored through CDV's UI API (arc/reports/report/{id}), which requires a browser-style session login. Without CDV_USERNAME/CDV_PASSWORD, visuals would be created as empty skeletons that render blank in CDV's frontend.
The session is cached in memory and reused across tool calls within a server process.
Copyright (c) 2025 - Cloudera, Inc. All rights reserved.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/kevintalbert/CDV-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server