Skip to main content

EAC Layout

com.eacpartners/layout

v0.3.2Updated Nov 26, 2026stdio · npm

Translates HTML, Blazor, and XAML into a local HTML preview.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add layout -- npx -y @eacpartners/[email protected]

Configuration

6 settings.

  • EAC_LAYOUT_PREVIEW_DIR
    Env var· optional
    Absolute local folder for preview HTML and PNG files. Network paths and device paths are rejected. When unset, the server uses the local cache folder on this computer.
  • EAC_LAYOUT_BROWSER
    Env var· optional
    Absolute path of an installed browser used for PNG previews. When unset, the server checks fixed Microsoft Edge and Google Chrome locations.
  • EAC_LAYOUT_SCREENSHOT
    Env var· optional
    Set to 0, false, or off to skip PNG previews and bounds measurement. When unset, a PNG is attempted. Bounds use the same installed browser and a log file that is deleted afterwards. They do not open a TCP or UDP debugging port.
  • EAC_LAYOUT_SCREENSHOT_TIMEOUT
    Env var· optional
    Seconds to wait for one PNG. The default is 30. Values are clamped from 5 to 180. One width uses that wait and may be tried once more. Several widths share an overall wait of at most 150 seconds, or the per-width wait times the number of widths plus 5 seconds for each width when that sum is smaller. Three widths at the default 30 second wait share 105 seconds. Six widths stay within 150 seconds. The result keeps the widths that finished and warns when later widths were not captured.
  • EAC_LAYOUT_NO_SANDBOX
    Env var· optional
    On Linux, 1 or true turns browser sandboxing off, 0 or false leaves it on, and unset chooses automatically for root or a known container runtime.
  • EAC_LAYOUT_BROWSER_PROFILE
    Env var· optional
    Absolute directory for a reused browser profile outside the preview folder. It must be new or empty, or a profile this server already created. Interactive browser profile folders are rejected. The marker file only records that this server created the folder. It is not a security boundary, and the value in it is not a secret. When unset, each PNG uses a fresh profile that is deleted afterwards.

Listed in the official MCP Registry since Nov 26, 2026. Mirrored daily; last checked Nov 26, 2026.