live-preview-mcp
Live Preview MCP Server
Versión 1.1 (tras el endurecimiento de red-team) — Servidor del Model Context Protocol de grado de producción que permite a cualquier asistente de IA compatible con MCP iniciar, gestionar e incrustar vistas previas de aplicaciones en vivo en un iframe.
Endurecimiento de seguridad (v1.1)
Sin inyección de shell: Docker y la creación de procesos siempre utilizan arrays de argumentos (
shell: false).Entorno seguro: Solo se pasa una lista de permitidos explícita de variables de entorno; las claves peligrosas (
NODE_OPTIONS,LD_PRELOAD, etc.) se eliminan.Comprobaciones de rutas a prueba de enlaces simbólicos:
realpathSyncantes de la validación de la lista de permitidos.Limitación de velocidad de WebSocket + límites de conexión por vista previa.
Comprobación de disponibilidad del proceso vivo: la sonda de disponibilidad también verifica que el proceso hijo sigue vivo.
Límite de vistas previas simultáneas (por defecto 10).
Docker:
CapDrop: ALL,no-new-privileges, usuario no root cuando sea posible, AutoRemove + recolector de huérfanos al inicio.Redacción de registros más sólida (JWT, claves de AWS, tokens de GitHub/Slack/OpenAI, etc.).
Longitud del token aumentada a 32 bytes aleatorios.
Related MCP server: Runbox Website Builder MCP
Características
Herramientas MCP:
start_preview,stop_preview,get_preview_status,get_preview_logs,list_previews,reload_preview,update_preview_config,share_preview,get_mobile_qr,set_auth_tokenAuto-detección de frameworks: Vite, Next.js, CRA, Vue, Angular, Express, static, Expo, Flutter
Panel HTTP + Proxy inverso con las cabeceras de encuadre eliminadas
Opcionales: Docker, túneles de Cloudflare/ngrok, código QR móvil, autenticación por token, compatibilidad con Cloud-IDE
Requisitos
Node.js ≥ 18
Opcionales: Docker,
cloudflared,ngrok
Instalación y compilación
cd live-preview-mcp
npm install
npm run buildEjecución
node dist/index.jsConfiguración del cliente MCP
{
"mcpServers": {
"live-preview": {
"command": "node",
"args": ["/absolute/path/to/live-preview-mcp/dist/index.js"],
"env": {
"PORT": "9000",
"ALLOWED_DIRS": "/path/to/projects"
}
}
}
}Licencia
MIT
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.
Related MCP Servers
- Flicense-qualityCmaintenanceDeploy, manage, and scale applications directly from your AI assistant.3
- Alicense-qualityFmaintenanceProvides a remote coding environment for AI to publish static websites as live URLs, with live code editing and sandbox execution.3117ISC
- Flicense-qualityDmaintenanceEnables AI assistants to securely execute Python and JavaScript code in sandboxed environments, with file management and package installation.46
- Alicense-qualityDmaintenanceEnables AI assistants to create isolated Kubernetes Pod sessions for real-time shell command execution, file management, and Node.js code execution, with automatic TTL-based cleanup.MIT
Related MCP Connectors
Your AI builds, deploys, and runs full-stack apps on a hosted workspace created at first sign-in.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Create account-free website previews and publish durable sites from AI agents with Revdoku.
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/copperlang2007/live-preview-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server