browser-migrate
Allows reading/exporting bookmarks and history from Brave (Chromium-based), and writing bookmarks directly to Brave profiles with safety checks and backups.
Allows reading/exporting bookmarks, history, and tabs from Firefox and Zen (Gecko-based). Currently read/export-only; write is future work.
Allows reading/exporting bookmarks, history, and tabs from Safari (WebKit). Requires Full Disk Access. Currently read/export-only; write is future work.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@browser-migrateMigrate my bookmarks from Firefox to Chrome"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
browser-migrate
Move your browser profile (bookmarks, history, tabs) between browsers. macOS, CLI.
You test a lot of browsers — Chrome, Arc, Dia, Comet, Helium, Firefox, Zen, Safari — and switching means leaving your browsing life behind in the old one. This moves it.
Status: M4 (Chromium + Firefox/Zen + Safari; bookmarks, history, tabs)
Supported for read/export: Chrome, Dia, Brave, Edge (Chromium); Firefox, Zen (Gecko); Safari (WebKit). Data types: bookmarks + history everywhere; tabs from Gecko (mozLz4 sessions) and Safari. Direct bookmark write currently targets Chromium; other engines are read/export-only (write is future work).
Safari reads require Full Disk Access (grant it to your terminal in System
Settings → Privacy & Security). Without it, doctor says so instead of failing.
The bundle format is documented in FORMAT.md.
browser-migrate list # supported + installed browsers
browser-migrate doctor # bookmark / history counts per browser
browser-migrate export <browser> <outDir> # export a profile to a portable bundle
browser-migrate migrate --from <a> --to <b> # copy bookmarks a → b [--dry-run]
browser-migrate import --in <dir> --to <b> # import a bundle → b [--dry-run]
browser-migrate restore <backupDir> # undo a write
browser-migrate extensions <browser> # list installed extensions + store links
browser-migrate extensions <a> --open <b> # open a's extension store pages in bExtensions can't be migrated as data (they're installed programs; state is keyed
to per-browser IDs, and browsers block silent install). browser-migrate reads the
installed list and gives store links — extensions <a> --open <b> opens each store
page in the destination browser so you just click Install. Same-engine reuses the
store ID; cross-engine is a name match (different store).
Two migration paths:
Portable / universal —
exportwrites a bundle (manifest.json,bookmarks.json,history.json,bookmarks.html). The Netscapebookmarks.htmlimports into any browser via its UI. Zero risk.Direct —
migrate/importwrite bookmarks straight into a Chromium profile. Every write: (a) refuses while the dest browser is running, (b) backs up the profile first (~/.browser-migrate/backups, undo withrestore), (c) writes aBookmarksfile with a correct Chrome checksum and strips the stale MAC fromLocal Stateso Chrome accepts it. The checksum algorithm is verified against a real ChromeBookmarksfile.
Import enforces the bundle version policy: same major proceeds, newer-major is refused (upgrade the tool), older-major proceeds.
Cross-machine: the export bundle is machine-independent — export on your old
Mac, copy the bundle dir over, import (or open bookmarks.html) on the new one.
Passwords never travel in a bundle (they'd be plaintext and Keychain is machine-bound).
Related MCP server: Glance
MCP server (drive it from Claude)
The same operations are exposed as MCP tools so Claude (or any MCP client) can run them directly. Register with Claude Code:
claude mcp add browser-migrate -- bun run /ABSOLUTE/PATH/browser-migrate/src/mcp.tsOr add to a client's mcpServers config:
{ "browser-migrate": { "command": "bun", "args": ["run", "/ABSOLUTE/PATH/src/mcp.ts"] } }Tools: list_browsers, doctor, export_profile, migrate, import_bundle,
restore. Writing tools (migrate, import_bundle) back up first and refuse while
the destination browser is running — the same safety as the CLI. Preview with
dryRun: true.
Architecture
Hub-and-spoke. One adapter per browser reads into a neutral intermediate format; export writes out of it. Adding a browser is one adapter file — N+M, not N×M.
source profile ─(adapter.read)─▶ Intermediate ─(export)─▶ bundle + bookmarks.htmlsrc/core/intermediate.ts— neutral format +epochToUnixMs(the one place the three engine time formats get normalized).src/core/adapter.ts—Adapterinterface +capabilitiesmatrix.src/adapters/chromium.ts— Chrome/Dia/Brave/Edge (shared Chromium layout).src/adapters/gecko.ts— Firefox/Zen (places.sqlite, profiles.ini, mozLz4 tabs).src/adapters/safari.ts— Safari (plist viaplutil, History.db, FDA-aware).
Roadmap
M2 ✓ — direct
migrate/importbehind backup+guard, Chromium checksum +Local StateMAC strip,--dry-run,restore, bundle version policy.M3 ✓ — Firefox/Zen adapters (
places.sqlitebookmarks + history, epoch +place:filtering), cross-machine via portable bundle.M4 ✓ — Safari read (plist bookmarks + Core-Data history, FDA-aware); tabs in the neutral format; Gecko tabs via a hand-rolled
mozLz4decoder;FORMAT.md.
Deferred, on purpose (with reasons):
Arc — bookmarks live in an undocumented
StorableSidebar.json. Not built blind; needs a real Arc profile to verify against (wasn't installed here).Chromium open-tab read — SNSS is an append-only pickled binary format; a real spike. Gecko/Safari tabs work today.
Non-Chromium bookmark write and Safari/Gecko write — writing
places.sqlite/ Safari plists is risky and unverifiable without writing into a live browser; these stay read/export-only until the write can be verified.
Known ceiling (M2): the Local State MAC strip is the pragmatic approach; Chrome's
exact reset behavior is version-dependent, which is why every write is backed up.
Live-Chrome acceptance across versions is a manual spike. The checksum is verified.
Passwords ride native CSV export/import (never reimplement browser crypto) and are excluded from bundles by default.
Develop
bun install
bun test
bun run src/cli.ts list
bun run compile # single binary → ./browser-migrateMIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/navotvolkgroundup/browser-migrate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server