Realtime Sales Dashboard
БесплатноНе проверенStreams simulated sales data via WebSocket and renders live KPIs, state rankings, sparkline charts, and an activity feed within an MCP App iframe.
Описание
Streams simulated sales data via WebSocket and renders live KPIs, state rankings, sparkline charts, and an activity feed within an MCP App iframe.
README
A live, auto-refreshing sales dashboard built as an MCP (Model Context Protocol) server with an embedded rich UI. The dashboard streams simulated sales data for Indian states via WebSocket, rendering KPI cards, state-level rankings, sparkline charts, and a live activity feed — all inside an MCP App iframe.
Article
Read the full article for more details on how this functionality is added -
How I Added WebSocket-Powered Realtime Streaming to MCP Apps
Demo
Key Features
- Live KPI Cards — Revenue, Orders, Conversion Rate, AOV, and New Customers with delta indicators and sparkline micro-charts
- State Rankings Chart — Horizontal bar chart (Chart.js) ranking all states by the selected metric, with toggleable state chips
- Activity Feed — Real-time stream of simulated order, conversion, and customer events across Indian cities
- WebSocket Push — Sub-2-second data refresh via a Python WebSocket server
Prerequisites
- Node.js ≥ 18
- Python ≥ 3.10
- npm (comes with Node.js)
Quick Start
1. Install dependencies
# Node.js dependencies
npm install
# Python dependencies
pip install -r requirements.txt
2. Start the WebSocket server
python ws_server.py
You should see:
🚀 WebSocket server starting on ws://localhost:8765
📡 Dashboard clients connect to: ws://localhost:8765
⏱️ Push interval: 1.8s
✅ Server listening on ws://localhost:8765
3. Start the MCP server
In a separate terminal:
# Development (with hot-reload via tsx)
npm run dev
# — or — Production
npm run build
npm start
You should see:
🚀 MCP Apps Realtime Sales Dashboard server running at http://localhost:3000
📡 MCP endpoint: http://localhost:3000/mcp
License
This project is licensed under the Apache License 2.0.
from github.com/ashitaprasad/sample-realtime-dashboard-mcp-apps
Установка Realtime Sales Dashboard
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ashitaprasad/sample-realtime-dashboard-mcp-appsFAQ
Realtime Sales Dashboard MCP бесплатный?
Да, Realtime Sales Dashboard MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Realtime Sales Dashboard?
Нет, Realtime Sales Dashboard работает без API-ключей и переменных окружения.
Realtime Sales Dashboard — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Realtime Sales Dashboard в Claude Desktop, Claude Code или Cursor?
Открой Realtime Sales Dashboard на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Realtime Sales Dashboard with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
