hex-dashboard-mcp
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., "@hex-dashboard-mcpdiagnose the notebook for project 'Sales Dashboard'"
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.
hex-dashboard-mcp
MCP server for building and maintaining Hex notebooks from Claude Code. Wraps the Hex API with design-system-aware chart injection, notebook diagnostics, and full cell lifecycle management.
What it does
18 tools across five categories:
Cell management — read, create, update, and delete cells (CODE, SQL, MARKDOWN). Supports positional insertion and label-based identification.
Run management — trigger runs, poll status, cancel, view history. run_and_wait blocks until completion so the published app updates automatically without manual refresh.
Chart injection — inject_plotly_chart, inject_pydeck_map, and inject_html_component write fully styled code into cells using a built-in dark design system (Inter font, indigo accent palette, dark surfaces). KPI cards, section headers, and alert banners are templated.
Diagnostics — diagnose_notebook cross-references cell sources with run errors to surface root causes. inspect_filter_behavior reproduces failures with specific filter inputs.
Design system — get_design_system returns all tokens (colors, fonts, chart defaults). apply_workspace_palette sets the chart color sequence workspace-wide.
Related MCP server: Claude Code Toolkit
Setup
Requires Python 3.11+ and a Hex API token.
python -m venv .venv
.venv/bin/pip install fastmcp httpxClaude Code Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"hex-dashboard": {
"command": "/path/to/hex-dashboard-mcp/.venv/bin/python",
"args": ["/path/to/hex-dashboard-mcp/server.py"],
"env": {
"HEX_API_KEY": "your_hex_api_key",
"HEX_API_URL": "https://app.hex.tech/api/v1"
}
}
}
}Claude Code CLI
claude mcp add --scope user --transport stdio hex-dashboard \
/path/to/hex-dashboard-mcp/.venv/bin/python /path/to/hex-dashboard-mcp/server.pySet HEX_API_KEY and HEX_API_URL in your shell environment.
Using with the Hex CLI
The official Hex CLI (brew install hex-inc/hex-cli/hex) complements this MCP well. Use each where it's strongest:
Task | Tool |
List projects, cells, runs |
|
Quick status checks |
|
Create/update/delete cells | MCP |
Inject styled charts, maps, HTML | MCP |
Run + auto-poll after edits | MCP ( |
Diagnose failures | MCP ( |
Rule of thumb: reading = CLI, writing/styling = MCP.
Skill file
CLAUDE.md contains agent instructions for Claude Code — the design system spec, workflow guidance, troubleshooting playbook, and tool selection rules. Install it as a Claude Code skill or place it alongside the server for automatic pickup.
Tools reference
Tool | Description |
| List workspace projects |
| Project details + all cells |
| Read a cell's source |
| Add a new cell (CODE/SQL/MARKDOWN) |
| Write to an existing cell |
| Remove a cell |
| Trigger a run |
| Run and block until completion |
| Poll run status |
| Recent run history |
| Cancel a running execution |
| Full diagnostic sweep |
| Test specific filter combinations |
| Write a styled Plotly chart |
| Write a styled PyDeck map |
| Write KPI cards, headers, banners |
| Return design tokens |
| Set workspace chart colors |
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.
Latest Blog Posts
- 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/richardggxcp/hex-dashboard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server