Skip to main content
Glama
copperlang2007

live-preview-mcp

Live Preview MCP Server

Version 1.1 (nach Red-Team-Härtung) — Produktionsreifer Server für das Model Context Protocol, der es jedem MCP-fähigen KI-Assistenten ermöglicht, Live-Anwendungsvorschauen zu starten, zu verwalten und in einem iframe einzubetten.

Sicherheitshärtung (v1.1)

  • Keine Shell-Injection: Beim Starten von Docker und Prozessen werden immer Argumentarrays verwendet (shell: false).

  • Sichere Umgebung: Es wird nur eine explizite Zulassungsliste von Umgebungsvariablen übergeben; gefährliche Schlüssel (NODE_OPTIONS, LD_PRELOAD, usw.) werden entfernt.

  • Symlink-sichere Pfadprüfungen: realpathSync vor der Zulassungslisten-Validierung.

  • WebSocket-Ratenbegrenzung + Verbindungslimits pro Vorschau.

  • Prozess-Liveness-Readiness: Der Readiness-Probe prüft auch, ob der Kindprozess noch lebt.

  • Limit für gleichzeitige Vorschauen (Standard: 10).

  • Docker: CapDrop: ALL, no-new-privileges, nach Möglichkeit Nicht-Root-Benutzer, AutoRemove + Reaper für verwaiste Prozesse beim Start.

  • Stärkere Log-Redaktion (JWT, AWS-Schlüssel, GitHub-/Slack-/OpenAI-Tokens usw.).

  • Tokenlänge erhöht auf 32 zufällige Bytes.

Related MCP server: Runbox Website Builder MCP

Funktionen

  • 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_token

  • Framework-Autoerkennung: Vite, Next.js, CRA, Vue, Angular, Express, static, Expo, Flutter

  • HTTP-Dashboard + Reverse-Proxy mit entfernten Framing-Headern

  • Optional Docker, Cloudflare/ngrok-Tunnel, mobiler QR-Code, Token-Authentifizierung, Cloud-IDE-Erkennung

Anforderungen

  • Node.js ≥ 18

  • Optional: Docker, cloudflared, ngrok

Installation und Build

cd live-preview-mcp
npm install
npm run build

Ausführen

node dist/index.js

MCP-Client-Konfiguration

{
  "mcpServers": {
    "live-preview": {
      "command": "node",
      "args": ["/absolute/path/to/live-preview-mcp/dist/index.js"],
      "env": {
        "PORT": "9000",
        "ALLOWED_DIRS": "/path/to/projects"
      }
    }
  }
}

Lizenz

MIT

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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