Dashboard Agent 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., "@Dashboard Agent MCPShow user signups by month and country"
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.
Dashboard Agent MCP
An MCP Apps server for the Dashboard Graph Agent. Other agents call one MCP tool and receive both:
a concise text result for the model; and
a portable interactive dashboard rendered from a
ui://MCP App resource.
The consuming agent does not need the dashboard renderer. A compatible MCP host loads the renderer from this server and displays it in a sandboxed iframe.
Architecture
MCP host -> create_dashboard -> Dashboard Agent LangGraph API
<- structuredContent + ui://dashboard-agent/dashboard-app.html
-> embedded React/Recharts dashboardThe MCP server does not query Graph or DuckDB directly. Planning, joins, graph traversal, DuckDB fallback, localization, and source lineage remain owned by the existing Dashboard Agent backend.
The browser UI is packaged into one HTML resource at build time. MCP Apps-compatible hosts retrieve that resource from this server, so callers do not install React, Recharts, or any dashboard components.
Related MCP server: Boardstate MCP Server
Requirements
Node.js 20 or newer
A running Dashboard Agent LangGraph server, unless fixture mode is enabled
Setup
npm install
Copy-Item .env.example .env
npm run build
npm startThe MCP endpoint is http://127.0.0.1:3001/mcp and the health endpoint is http://127.0.0.1:3001/health.
When the MCP client runs in Docker Desktop, add host.docker.internal to
MCP_ALLOWED_HOSTS and connect the client to the host-published port.
For a local server without the Dashboard Agent backend:
$env:DASHBOARD_AGENT_FIXTURE = "true"
npm startDevelopment
npm run devThis runs the MCP server and the standalone dashboard view. The UI dev server uses fixture data so chart layout can be reviewed without an MCP host.
Open the standalone preview at http://127.0.0.1:5173/dashboard-app.html.
Codex project
This repository includes AGENTS.md and .codex/config.toml and can be opened directly as a Codex project at D:\git\dashboard-agent-mcp. The local Codex configuration also registers that path as trusted.
MCP client configuration
Streamable HTTP
Point a compatible MCP client at:
http://127.0.0.1:3001/mcpstdio
{
"mcpServers": {
"dashboard-agent": {
"command": "node",
"args": ["D:/git/dashboard-agent-mcp/dist/server/server/main.js", "--stdio"],
"env": {
"DASHBOARD_AGENT_URL": "http://127.0.0.1:2024",
"DASHBOARD_AGENT_ASSISTANT_ID": "dashboard_agent"
}
}
}
}Tool
create_dashboard
Input:
{
"question": "Show users by institute split by learning status",
"locale": "en",
"timezone": "Asia/Bangkok",
"maxCharts": 6
}The tool is read-only and has no external side effects. It returns a DashboardDocument in structuredContent. The MCP App receives the same document and renders the charts.
The result also contains a server-rendered PNG preview of the primary chart. This core MCP image fallback displays in clients that support tools but not the MCP Apps UI extension, without requiring a client-specific chart renderer. HTTP deployments also publish a temporary image URL and return a ready-to-copy Markdown image line. This lets text-only models place the generated graph in their final response instead of needing to understand binary MCP image content. The complete text result is already formatted as a clean final answer so the calling model can return it verbatim without exposing handoff instructions.
Set MCP_PUBLIC_BASE_URL to the URL the user's browser can reach. With a local
SSH tunnel on port 3001, use http://127.0.0.1:3001. Preview retention is
configurable through DASHBOARD_PREVIEW_TTL_MS and
DASHBOARD_PREVIEW_MAX_ENTRIES.
Dashboard command
Type /dashboard followed by the analytical question as a normal chat message.
The MCP tool description privately tells the model to route that message to
create_dashboard; no MCP prompt is published, so clients do not expand hidden
instructions into the visible composer. Because MCP has no portable hidden slash
command mechanism, /dashboard is intentionally not added to client prompt
autocomplete.
Compatibility
Interactive rendering requires an MCP Apps-compatible host. A host that only implements core MCP still receives the text summary and structured dashboard data, but it cannot display the embedded iframe without MCP Apps support.
Commands
npm run dev Run MCP server and UI dev server
npm run dev:server Run only the MCP server in watch mode
npm run dev:ui Run only the standalone UI
npm run build Type-check and build server + single-file MCP App
npm test Run unit tests
npm start Start the production MCP serverThis 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
- 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/Thachx/dashboard-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server