Native macOS browser exposing an MCP server so AI agents can drive a real WKWebView.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A native macOS web browser that exposes itself as a Model Context Protocol server, so AI agents can drive a real WKWebView the same way a person would β navigate, click, fill forms, read the DOM, take screenshots, run JavaScript, and capture network and console activity.
Built with SwiftUI + WKWebView. The MCP server runs in-process over local HTTP with bearer-token authentication and DNS-rebinding defense.
β¬ Download the latest macOS build β signed, notarised .dmg for Apple Silicon.
After downloading, open the DMG and drag MCP Browser to your Applications folder.


Most "browser-as-a-tool" stories for agents fall into two camps:
MCP Browser is the third option: a real browser window on your Mac that you log into, navigate, and use yourself β and that an LLM can drive through MCP when you ask it to. Cookies, history, bookmarks, and downloads stay local. The agent sees the same page you do.
8833 (configurable) β POST /mcp for JSON-RPC, GET /mcp for SSE-style statusHost header validated against 127.0.0.1 / localhostMCPRegistrarnavigate, back, forward, reload, current_url, current_titlelist_tabs, new_tab, switch_tab, close_tabclick, fill, submit, hover, press_key, type_text, scroll, find_in_page, get_element, accessibility_treeread_text, read_page, page_metadata, screenshot, pdf_export, render_html, eval_js, find, list_links, list_formsget_cookies, set_cookie, storage, clear_sessionlist_bookmarks, open_bookmark_folderconsole_logs, network_log, dialogdownload, upload_file (gated by user permission)wait_for, emulate, resizeSee MCP Browser/MCP/MCPToolCatalog.swift for the authoritative list.
401 Unauthorizeddialog interactions127.0.0.1, never the public network/Applications and launch it.MCP Browser.xcodeproj in Xcode.MCP Browser scheme.CLI build:
The project ships with the original author's signing settings. If you're forking to build and ship your own copy:
MCP Browser target in Xcode β Signing & Capabilities β pick your own team. This rewrites DEVELOPMENT_TEAM in MCP Browser.xcodeproj/project.pbxproj.PRODUCT_BUNDLE_IDENTIFIER from com.moosia.mcp-browser to something you own.Most MCP clients accept an HTTP transport block. Example for claude_desktop_config.json:
The bundled MCP Clients settings tab can write this for you for the clients it knows about (Claude Desktop, Codex, etc.) β pick the client, hit Add MCP Browser, and it'll patch the file in place.
The token rotates each time you click Regenerate token in Settings β Connection. Re-patch your clients after rotating.
PersistentStore (file-backed) and SwiftData where appropriate.UserDefaults. It's regenerated from Settings β Connection whenever you want to revoke existing clients.Key files
MCP/MCPServer.swift β NWListener-based HTTP/JSON-RPC server, auth, rebind defenseMCP/MCPCoordinator.swift β routes tool calls to the focused window's active tabMCP/MCPToolCatalog.swift β registry of every exposed toolMCP/MCPSecret.swift β Keychain-backed bearer tokenBrowser/BrowserTab.swift β per-tab @Observable model wrapping WKWebViewBrowser/WebViewHost.swift β NSViewRepresentable bridgeMCP Browser deliberately runs un-sandboxed so it can:
~/Library/Application Support / ~/.configIt does not:
127.0.0.1)Host header doesn't match 127.0.0.1 or localhost (DNS-rebinding defense)If you're audit-minded, the entire HTTP surface is in MCP Browser/MCP/MCPServer.swift and is roughly 400 lines.
See CONTRIBUTING.md for how to file bugs, request features, and submit pull requests.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-browser)<a href="https://allmcps.com/mcp/mcp-browser"><img src="https://allmcps.com/api/badge/mcp-browser?style=directory" alt="MCP Browser on AllMCPs" /></a>