live-preview-mcp
Allows starting and managing live previews of Angular applications through framework auto-detection.
Provides integration with Cloudflare tunnels to expose live previews via public URLs.
Enables running application previews in Docker containers with security hardening.
Allows starting and managing live previews of Expo projects through framework auto-detection.
Allows starting and managing live previews of Express applications through framework auto-detection.
Allows starting and managing live previews of Flutter projects through framework auto-detection.
Allows starting and managing live previews of Next.js projects through framework auto-detection.
Provides integration with ngrok tunnels to expose live previews via public URLs.
Allows starting and managing live previews of Vite projects through framework auto-detection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Live Preview MCP Server
Version 1.1 (post red-team hardening) — Production-grade Model Context Protocol server that lets any MCP-capable AI assistant start, manage, and embed live application previews in an iframe.
Security Hardening (v1.1)
No shell injection: Docker and process spawn always use argument arrays (
shell: false).Safe environment: Only an explicit allow-list of env vars is passed; dangerous keys (
NODE_OPTIONS,LD_PRELOAD, etc.) are stripped.Symlink-safe path checks:
realpathSyncbefore allow-list validation.WebSocket rate limiting + per-preview connection caps.
Process-liveness readiness: readiness probe also verifies the child process is still alive.
Concurrent preview limit (default 10).
Docker:
CapDrop: ALL,no-new-privileges, non-root user where possible, AutoRemove + startup orphan reaper.Stronger log redaction (JWT, AWS keys, GitHub/Slack/OpenAI tokens, etc.).
Token length increased to 32 random bytes.
Related MCP server: Somewhere MCP
Features
MCP Tools:
start_preview,stop_preview,get_preview_status,get_preview_logs,list_previews,reload_preview,update_preview_config,share_preview,get_mobile_qr,set_auth_tokenFramework Auto-Detection: Vite, Next.js, CRA, Vue, Angular, Express, static, Expo, Flutter
HTTP Dashboard + Reverse Proxy with framing headers removed
Optional Docker, Cloudflare/ngrok tunnels, mobile QR, token auth, Cloud-IDE awareness
Requirements
Node.js ≥ 18
Optional: Docker,
cloudflared,ngrok
Install & Build
cd live-preview-mcp
npm install
npm run buildRun
node dist/index.jsMCP Client Configuration
{
"mcpServers": {
"live-preview": {
"command": "node",
"args": ["/absolute/path/to/live-preview-mcp/dist/index.js"],
"env": {
"PORT": "9000",
"ALLOWED_DIRS": "/path/to/projects"
}
}
}
}License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Cloud sandboxes for AI agents: run code, files, previews, browsers, Linux desktops, Android.
Build and embed a live AI product demo from your code, track buyer Q&A, and sync demo leads to CRM.
Build, preview and publish small web apps for a group of people from your AI assistant.
Deploy apps from GitHub, read build/runtime logs, and manage your app's users from your AI agent.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to scaffold, edit, live-preview, and deploy full-stack apps with built-in database, email, and push notification capabilities through natural language.19MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to build, deploy, and inspect apps through a hosted backend service, including reading platform docs, deploying raw source, inspecting logs, verifying live pages in browsers, and managing project tasks.MIT

Roar AI MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to deploy and manage hosted apps from git repos, read logs, add Postgres databases and domains, manage API keys and budgets, and send requests to 200+ AI models. Connects over remote Streamable HTTP with OAuth sign-in, so users need no API keys, installs, or local server.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to rent disposable cloud dev environments with a terminal, real browser, repo checkout, git gateway, and live view, so they can build, test, run dev servers, inspect pages, and push branches while keeping keys off the VM.3Apache 2.0