Navigate the product
- Live Layers and Components
- Source-aware selection
- Fixed-size artboards
- Responsive Design Lab
Foundry turns a live web project into a visual design workspace for Codex, Cursor, and Claude Code. Select real elements, refine them precisely, review one change set, then apply and verify the result in source.
Direct manipulation, with source accountability.
No account. No cloud workspace. Local runtime.Select live elements, refine measured values, and review exact changes in one connected workspace.
Install the agent connection once. Then use one command in every project. Foundry finds the real project root, validates its development integration, and refuses to modify a home folder by mistake.
npx foundry-design installFoundry installs one shared skill and MCP connection for Codex, Cursor, and Claude Code.
Restart those agents once so they can load the Foundry tools.
Open a real project and run npx foundry-design. Foundry detects, validates, and opens it.
Start Foundry for this project and keep listening for Apply with agent requests.Setup completeThe project adapter is installed and validated.
Agent listeningFoundry confirms the MCP listener is live for this project session.
Element selectedChoose a real element in the running product.
Change recordedAdjust a value and review the measured result.
Applied and verifiedThe rebuilt value matches the reviewed request.
Use the same command in every later project. Foundry discovers the nearest project root, reuses the shared connection, and only refreshes files it manages.
npx foundry-designRequires Node.js 20 or newer. Precision setup supports Next.js App Router, Vite, and plain HTML. Other local web projects can open in Basic mode without an entry-point edit.
A preview is useful. A measured, reviewed, and verified source change is useful for longer.
Choose a real element in the running product. Foundry measures what the browser rendered and traces it toward source.
Adjust layout, type, color, content, accessibility, and motion with direct controls and project-native values.
See every requested change, its scope, source mapping, and confidence before anything reaches the codebase.
Let the active coding agent update source, rebuild the product, and compare the requested values with the rendered result.
Foundry keeps navigation, editing, review, and application separate enough to stay clear, but connected enough to feel like one workspace.
The complete reference for setting up Foundry, working visually, handing changes to an agent, and keeping the process reversible.
Install from the root of a project with Node.js 20 or newer. Foundry’s complete beta workflow is currently designed around web projects.
Run one command from the project. It installs or updates Foundry, repairs the user-level agent connection, validates the integration, records a reversible manifest, and opens the session.
npx foundry-designRestart your coding agent once after the first installation. Then reopen the same project and use the agent prompt. You can queue a reviewed batch while the agent is offline and it will be claimed after the listener reconnects.
Start Foundry for this project and keep listening for Apply with agent requests.Foundry reuses an available development server and local runtime when possible, resumes the most recent session for the current source revision, and opens a per-session authenticated preview.
In Select mode, click any element to select it. Shift-click adds compatible elements. Repeat a click to cycle through overlapping targets, or use Layers for exact hierarchy navigation. In Interact mode, Option-click temporarily selects an element without leaving interaction mode.
The Inspector exposes only properties that apply to the selected element and can be represented safely. Available controls include:
Numeric fields support keyboard entry and label dragging. Preview undo and redo affect temporary visual changes, not project source.
Foundry dropdowns are theme-aware, keyboard accessible, and kept above panel clipping. Effects expose editable drop shadow, inner shadow, layer blur, and background blur values when the selected source can represent them safely.
Motion Studio discovers CSS animations, CSS transitions, and Web Animations on the selected element. You can play, pause, replay, loop, change playback speed, scrub the timeline, and edit rendered keyframe tracks before review.
Typography Studio compares Current and Candidate specimens side by side with identical copy, dimensions, settings, and context. It reports loaded-face status, line count, rendered size, and clipping before a mapped font choice enters Review.
Foundry indexes components, variants, breakpoints, themes, motion conventions, and design tokens from the project. Controls can suggest existing spacing, radius, typography, and color values instead of introducing unnecessary literals.
When a rendered value could map to more than one source expression, Foundry asks for the intended mapping. Ambiguous changes stay unresolved and cannot be included in an apply run until that choice is made.
Re-index project rebuilds the stored design graph from source, preserves the last good graph if indexing fails, and updates the live workspace only after the replacement is acknowledged.
The State Workbench uses only themes and states authored by the project. Each viewport, theme, interaction state, and motion combination is measured as applied, current, unsupported, or untested instead of being simulated.
Responsive Design Lab audits every live frame independently, reports partial connection failures, compares geometry across frames, and keeps breakpoint-specific or all-breakpoint edit scope attached to staged changes.
Design Health can surface contrast, overflow, clipping, touch-target, accessible-name, reduced-motion, and spacing issues.
Safe corrections are recorded as normal changes and still pass through Review. Intentional issues can be ignored with their evidence preserved locally.
Large viewports open at their real dimensions. Pan, Space-drag, middle-drag, trackpad movement, and explicit zoom navigate the canvas without changing responsive measurements. Closing Design Health or Design Memory returns to the same selection, panel state, pan, and zoom.
Review groups changes by element and shows the requested value, original value, scope, source evidence, mapping confidence, and affected instance count. You can edit, include, reject, or permanently delete an unapplied change. Deleting removes it from the local batch and restores its recorded original value on the canvas.
Compare temporarily returns to the canvas for before and after toggling, continuous scrubbing, side-by-side inspection, or element isolation. Returning to Review preserves approvals and edited values.
Apply with agent freezes one persistent run containing only approved, exactly mapped changes and every affected viewport, theme, and state. Queued for agent means the batch is stored locally. Handoff received means an agent has claimed a renewable lease. Applying source changes is the first state that confirms editing has begun.
If a listener disconnects before source editing begins, Foundry safely returns the run to the queue and blocks the stale claimant from updating it. Reconnect agent restores the listener without creating a duplicate run.
If the agent disappears during source editing, rebuilding, or verification, Foundry preserves the same run in Needs attention. Resume with agent requires your approval, then the next listener must reinspect the current source before continuing. Foundry does not assume that repeating a partial source edit is safe.
After editing, the agent runs relevant project checks and asks Foundry to reload the rendered surface. Foundry measures the rebuilt result against the requested values, even if Review was closed, reopened, or refreshed during the run.
A run passes only after source changed and every reviewed context returns acknowledged rendered evidence matching the request. If verification finds a mismatch, Foundry explains it and waits for explicit retry authorization.
The universal setup installs the reusable skill and MCP connection once. Agent-native routes provide the same versioned Foundry bundle through each host.
npx foundry-design installUse the npm route until Foundry completes public marketplace review. It installs the same skill and MCP bridge across projects.
npx foundry-design install-agent codexOpen the current Cursor install prompt, then run Foundry once from each product repository to add its development adapter.
Add Foundry to CursorAdd the Foundry marketplace once, install the plugin, then reload plugins before opening the product project.
/plugin marketplace add seanx24x/foundry-design-control
/plugin install foundry-design-control@foundry-design-control
/reload-pluginsInstall the release bundle from Settings, Extensions, Advanced. New MCP tools become available in a new task.
Download the MCPB bundleAfter the shared connection exists, every project needs only its development adapter and local metadata. Foundry creates that lightweight connection automatically.
npx foundry-design connectProject-scoped connections remain available as an explicit compatibility option.
npx foundry-design setup --project-agent --agent codexClaude Desktop can also use Foundry through the validated MCPB extension. Install the extension from Claude Desktop settings, then use the normal Foundry command in each project to add the development adapter.
Install one reusable Foundry skill and MCP connection for Codex, Cursor, and Claude Code.
npx foundry-design installInstall or update Foundry, repair the detected shared agent connection, validate the integration, and start or resume the visual session.
npx foundry-designMigrate legacy project agent files and refresh the shared connection to one exact release while preserving customized files.
npx foundry-design resetShow locally installed agents and recently opened projects without using an account or telemetry.
npx foundry-design companionConnect the project through the shared machine bridge and configure only its supported development integration.
npx foundry-design setup --yesStart the loopback runtime, reuse or launch the project preview, and open an authenticated Foundry session.
npx foundry-design startCheck project detection, instrumentation, agent connection, preview availability, and runtime health.
npx foundry-design doctorReport project integration, the installed MCP version, runtime health, and the live listener as separate readiness checks.
npx foundry-design statusInspect the project and output its local design graph for components, variants, tokens, and source mappings.
npx foundry-design indexExport a session as structured JSON, one agent prompt, or the complete local record.
npx foundry-design export <SESSION_ID>Add one reusable user-level skill and MCP connection for a coding agent.
npx foundry-design install-agent <cursor|claude|codex>Remove the current project from Foundry's recent-project list without deleting its development adapter.
npx foundry-design disconnectRemove Foundry-managed project integration while preserving files that contain user changes.
npx foundry-design uninstallnpx foundry-design statusStatus reports configuration, installed MCP version, runtime health, and the live listener as separate checks. It never calls a configured server connected until the active session has received a listener heartbeat.
npx foundry-design doctor --repairnpx foundry-design resetCurrent Foundry refuses to configure a home folder and searches upward for the nearest real project. Open the intended project folder, then run the reset command. It refreshes project and shared connections together.
Run npx foundry-design reset from the project. It removes Foundry-owned legacy project MCP references, refreshes the shared machine bridge, and preserves files you customized.
Run the doctor command from the project root. Confirm Node.js 20 or newer is installed and check whether another Foundry runtime is already using port 4387.
Restart the coding agent after setup, then start a new Foundry session. The authenticated preview URL must include the Foundry session parameters.
The reviewed batch is stored locally because no coding agent is listening. Restart the agent, reopen the same project, and ask it to start Foundry and keep listening. The existing run remains available and will be claimed after reconnecting.
Foundry delivered the reviewed batch, but source editing has not started yet. Use Reconnect agent or restart the listener in the same project. An abandoned claim expires safely, returns to the queue, and cannot be updated by the stale claimant.
Foundry preserves the same run in Needs attention instead of silently repeating a partial edit. Choose Resume with agent. The next listener will claim that same run and reinspect the current source before continuing.
Run the status command first. It checks the actual listener separately from configuration and reports invalid MCP configuration shapes. After installing or updating the Claude Code plugin, run /reload-plugins. After installing the Claude Desktop extension, begin a new task because an existing task cannot gain newly installed MCP tools.
Agent tools are loaded when a task begins. Reload plugins where the host provides that action, then open a new task in the same project folder. Your local Foundry project and queued review state remain available.
Open the Foundry status menu and choose Copy diagnostics. The copied report contains product version, theme, connection state, counts, and run state. It excludes project content, paths, selectors, session IDs, tokens, and preview values.
Foundry could not find a safe supported web entry, so it opens a loopback-only Basic preview. Use the generated adapter guidance when you need exact source mapping and Apply with agent, then run doctor again.
The rendered element has not been mapped precisely enough. Choose the intended source mapping in Review before sending the change to the agent.
Review the requested and rendered values. Foundry waits for explicit retry authorization and never applies another correction automatically.
Foundry runs on your machine, binds its runtime to the loopback interface, and protects every design session with a generated token. The installed product does not require an account, use a Foundry cloud service, include telemetry, or send analytics.
This public website uses Vercel Web Analytics to understand page visits. That website tracking is separate from the Foundry product and is not installed in your project.
Session data can include rendered measurements, local project paths, source locations, design changes, validation results, and apply history. Keep authenticated session URLs and exports private.
Preview overrides are temporary. A coding agent must produce a normal source change and validate the rebuilt result before Foundry marks an apply run as passed.
npx foundry-design uninstallnpx foundry-design uninstall --globalProject and machine removal are separate. Both remove only Foundry-managed integration, while files with user changes are preserved for manual review.
Install the public beta in an existing web project and design the running product with the agent already doing the implementation.