# Frontend Design Loop MCP [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/alexalexalex222/frontend-design-loop-mcp  
**GitHub Stars:** 2  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/frontend-design-loop-mcp

## Description
Design-first MCP for coding agents that improves websites with screenshot-grounded iteration.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/alexalexalex222/frontend-design-loop-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
pipx install frontend-design-loop-mcp
```

2. Add to your MCP client:

```sh
frontend-design-loop-setup --install-all-detected-clients
```

3. Install:

```sh
pipx install git+https://github.com/alexalexalex222/frontend-design-loop-mcp.git
```

4. Install:

```sh
git clone https://github.com/alexalexalex222/frontend-design-loop-mcp.git
```

5. Install:

```sh
./scripts/setup.sh
```

6. Install:

```sh
FDL_SKIP_CLIENT_INSTALL=1 ./scripts/setup.sh
```

## Documentation

## What Frontend Design Loop MCP MCP server does

Frontend Design Loop MCP MCP server targets repositories containing functional but under-designed web pages. It accepts a repository path and a concrete visual goal, then works against the rendered page rather than relying only on source code. The primary design workflow can make changes, compare rendered results, and return a selected patch together with screenshots and execution artifacts.

A separate evaluation workflow is intended for cases where the host agent already owns the patch. It applies that patch in an isolated worktree, runs deterministic checks, captures screenshots, and reports proof fields such as pass status, screenshot paths, and candidate directories. An older solve workflow remains available for advanced unattended use but is not the main documented path.

## How it works

The Frontend Design Loop MCP MCP server creates an isolated worktree, starts a local preview using the command supplied by the caller, and checks the preview against the expected local origin and port. Browser automation captures the rendered page at the resulting preview URL. The design workflow then uses the selected provider and model lane for planning, generation, and vision by default.

The normal sequence is:

1. Provide a repository, design objective, preview command, and preview URL.
2. Let the server prepare the worktree and launch the preview.
3. Iterate using screenshots of the actual page.
4. Receive the winning patch, screenshots, and run artifacts for host-agent review.

The optional agent-owned toolkit exposes lower-level operations for retrieving a playbook, building context, running gates, starting or stopping previews, and capturing screenshots. It leaves planning, edits, visual review, scoring, iteration, and winner selection to the host agent.

## Setup and configuration

Install the public Python package with `pipx install frontend-design-loop-mcp`, then run `frontend-design-loop-setup --install-all-detected-clients`. A Git-based pipx installation and a repository-local setup script are also documented. The local script creates a virtual environment, installs the package and Playwright Chromium, checks detected clients, runs a doctor, and performs a stdio smoke test.

The design call can specify a provider, model, preview command, and preview URL. Planning defaults to single mode, vision is enabled, and section creativity is enabled. Split planner or vision providers require explicit configuration. Set `FDL_SKIP_CLIENT_INSTALL=1` only when using local setup without automatic client-entry installation; it is optional.

## Tools and capabilities

The documented MCP workflows are `frontend_design_loop_design`, `frontend_design_loop_eval`, and `frontend_design_loop_solve`. The additive toolkit provides `get_playbook`, `build_context`, `run_gates`, `preview_start`, `capture_screenshots`, and `preview_stop`.

Returned evaluation data can include deterministic-check status, vision status, final-pass status, run and candidate directories, screenshot files, and the patch. The Frontend Design Loop MCP MCP server also applies shell-free command parsing by default and protects preview access with local-origin, redirect, and cross-origin-subresource checks.

## Limitations and notes

This tooling is aimed at an existing repository and a concrete design goal; it is not presented as a general website generator. External preview fetching is disabled unless explicitly allowed, and inline shell or interpreter execution requires an unsafe-command setting. Automatic context collection skips common secret-bearing locations, while native provider CLIs receive a minimal allowlisted environment. Shared worktree reuse is disabled by default.

The agent-owned toolkit intentionally does not perform vision scoring, creativity judging, or patch generation. Those decisions remain with the host agent. Client-side vision is the default proof route for evaluation, allowing screenshot review without provider credentials.

_Full upstream README: https://allmcps.com/mcp/frontend-design-loop-mcp/readme_

