Translates HTML, Blazor, and XAML into a local HTML preview.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add layout \ -- npx -y @eacpartners/[email protected]
Environment
EAC_LAYOUT_PREVIEW_DIR (optional, not in the config above): 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 (optional, not in the config above): 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 (optional, not in the config above): 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 (optional, not in the config above): 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 (optional, not in the config above): 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 (optional, not in the config above): 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.We don't run packages, so we can't list this server's tools.