Browser Mutation
БесплатноНе проверенMCP server that captures visual browser edits and converts them into structured code implementation patches.
Описание
MCP server that captures visual browser edits and converts them into structured code implementation patches.
README
Browser Mutation captures visual edits made in the Codex in-app browser and turns them into structured implementation intent for Codex.
It is intended for user-owned local development pages such as http://localhost:5174, http://127.0.0.1:3000, and similar loopback targets. Local HTML files can be served through the built-in loopback static server.
What It Includes
Browser Mutation is a community MIT project. It ships as:
- a standalone local collector/proxy
- a Codex skill
- a Codex plugin manifest
- an MCP server implementation
Why Browser Mutation
Browser Use can already highlight and annotate browser targets during automation. Browser Mutation is for a different step: turning a visual edit into implementation intent that Codex can apply to source code.
Use Browser Mutation when you need:
- before/after records for text, style, layout, icon, move, resize, reparent, reorder, note, and delete changes
- element identity, selector hints, neighboring layout context, and computed style snapshots
- optional React dev-mode source hints when available
- explicit selected-element or session notes for implementation instructions
- Canva-like move guidance with nearby DOM snapping, spacing labels, axis lock, and center-only snap controls
- a captured edit payload after the user presses Send
- repeatable handoff from a human visual edit to a source-code patch
In short: Browser Use is useful for opening, inspecting, and interacting with browser pages. Browser Mutation captures what changed and why, so Codex can translate a visual edit into code.
Move Mode
Move mode is designed for precise visual alignment without turning the page into a noisy layout editor.
- Snap lines align against nearby DOM elements, including center, edge, and spacing references.
- Spacing guides use a different color from snap lines and are included in the move payload.
- Hold
Shiftwhile dragging to lock the dominant axis. - Hold
Cwhile dragging to prefer center alignment when edge snaps are too close. - Hold
Altwhile dragging to bypass snapping temporarily. - Move edits are staged first. The move button changes to a check icon; click it to record the final position. Pressing Send also records one pending move before posting the payload.
- Elements moved across stacked surfaces are promoted during the drag so they can be positioned over headers, composers, and other higher layers.
Quick Start For Codex Users
In a new Codex thread, this should be enough:
Install this Codex skill/plugin:
https://github.com/JosPMSilva/Browser-mutation
Requirements: git, node, and Codex Desktop on Windows, macOS, or Linux.
Clone the repo into the standard local plugin location:
mkdir -p ~/plugins
git clone https://github.com/JosPMSilva/Browser-mutation.git ~/plugins/browser-mutation
cd ~/plugins/browser-mutation
node scripts/install-codex.mjs
node scripts/doctor.mjs
Restart Codex Desktop. In Codex, open Plugins > Local Codex Tools > Browser Mutation, click Add to Codex or enable Browser Mutation, and make sure both Browser_mutation and Mutation toggles are enabled.
Start a fresh Codex thread after enabling so the skill list and MCP config are reloaded.
Updating From Git
For an existing install, update the plugin files without rewriting Codex config:
cd ~/plugins/browser-mutation
git pull
node scripts/update-codex.mjs
Do not rerun node scripts/install-codex.mjs for normal updates. The installer is for first install or deliberate config repair only.
Then open a local app in the Codex in-app browser and ask:
Use Browser Mutation on this page.
Local Collector
node scripts/start-collector.mjs --target http://localhost:5174
For a static HTML file or folder:
node scripts/start-collector.mjs --file ./index.html
node scripts/start-collector.mjs --root ./dist
The local collector starts a browser proxy for the target page and records the edits sent from the Browser Mutation overlay. See the usage guide for the full workflow.
The overlay defaults to Interact mode so normal app clicks pass through. Use Select element, Alt+Click, or Ctrl+Alt+S only when selecting an element for mutation. Use Ctrl+Alt+I to return to Interact and Ctrl+Alt+D to dock the panel.
Documentation
Development
Run the MCP probe:
node scripts/doctor.mjs
License
MIT
Установка Browser Mutation
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jospmsilva/browser-mutationFAQ
Browser Mutation MCP бесплатный?
Да, Browser Mutation MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Browser Mutation?
Нет, Browser Mutation работает без API-ключей и переменных окружения.
Browser Mutation — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Browser Mutation в Claude Desktop, Claude Code или Cursor?
Открой Browser Mutation на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Browser Mutation with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
