codex-browser
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., "@codex-browserNavigate to the Codex MCP documentation and wait for my login."
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.
Codex Browser
Codex Browser is a visible, persistent Chromium workspace for Codex on Windows. It lets Codex work through a browser over a local MCP server while keeping login, MFA, captcha, consent, and other sensitive steps under the user's control.
Codex Browser is early alpha software. It currently supports Windows x64 only. Preview installers are unsigned, so verify that downloads come from this repository's Releases page.
What It Does
Runs a visible Electron/Chromium browser with persistent tabs and site sessions.
Exposes navigation, page inspection, safe element actions, waits, downloads, and document tools over MCP.
Pauses for manual login, MFA, captcha, consent, file selection, and other sensitive interactions.
Stores session recovery data and optional saved logins with Windows
safeStorageencryption.Downloads PDFs into a local library with page-based reading and full-text search.
Learns reviewed browser workflows from sanitized local task traces and runs them with guarded element matching.
Related MCP server: superpowers-chrome
Requirements
Windows 10 or Windows 11, x64.
Git.
Node.js
20.19or later, or22.12or later. Current Node.js LTS is recommended.npm, which is included with Node.js.
Codex desktop, Codex CLI, or the Codex IDE extension only if you want Codex to use the MCP tools.
Install On Windows
Download the latest Codex-Browser-Setup-*-x64.exe from GitHub Releases. The installer supports English and Simplified Chinese, lets you choose the installation directory, and creates Start menu and optional desktop shortcuts.
The preview installer is not code-signed. Windows SmartScreen can therefore show an unrecognized-app warning even when the file came from the official release. Check the published SHA-256 file before running it.
Install From Source
Open PowerShell and run:
git clone https://github.com/sj18259360196-source/CodexBrowser.git
cd CodexBrowser
npm ci
npm run build
npm startThe first launch creates a local browser profile under %APPDATA%\codex-browser. It does not use or modify your normal Chrome profile.
After the first build, you can start the desktop by running npm start or by double-clicking start-local.cmd. The launcher installs missing dependencies and builds missing output automatically.
Connect It To Codex
The public repository does not yet publish a one-click Codex plugin. Source installations can connect directly through the included STDIO MCP server.
From the cloned repository, run:
$repo = (Resolve-Path .).Path
codex mcp add codex-browser -- node "$repo\dist\mcp\index.mjs"
codex mcp listThen restart Codex or start a new task so the MCP tools are loaded. The MCP server attempts to launch the visible desktop automatically when a browser tool is called. You can also start it first with npm start.
If the Codex CLI is not available on PATH, add the same server in Settings > MCP servers:
Name:
codex-browserTransport:
STDIOCommand:
nodeArguments: the absolute path to
dist\mcp\index.mjsin your cloneWorking directory: the repository root
Save the server and restart the Codex host. See the official Codex MCP documentation for the current configuration surfaces.
Example requests after setup:
Use Codex Browser to open this website and ask me when login is required.
Find this paper through my authorized session, save the PDF, and cite the relevant pages.
Show me the current browser tabs and summarize the active page.Using The Desktop
Use the address field and tab controls normally, or let Codex call the MCP tools.
Complete passwords, MFA, captchas, consent prompts, and sensitive controls in the visible browser.
Closing the window keeps the tray process and session available. Use the full exit action to stop the browser completely.
Use the key button in the session bar to clear saved logins.
Only access sites, accounts, and documents you are authorized to use.
Codex Browser does not bypass paywalls, DRM, captchas, institutional limits, or site access controls.
Local Data And Privacy
Application data is stored locally under %APPDATA%\codex-browser:
state/runtime-state.jsonstores sanitized task and download metadata plus the last safe page.state/session-cookies.encstores encrypted session-cookie recovery data for the current Windows user.state/login-credentials.encstores optional exact-site logins encrypted for the current Windows user.library/downloadsstores downloads;library/documentsandlibrary/index.jsonstore imported PDFs and extracted text.browser-skills/skills.jsonstores reviewed workflows;browser-skills/traces.jsonstores sanitized learning traces for up to 30 days.
Raw cookies, authorization headers, saved credentials, signed URL query parameters, and browser profile files are not returned through MCP. The desktop and MCP server communicate through a local named pipe rather than a listening web port.
Browser Skills
Browser skills are local declarative workflows managed by Codex Browser. Successful supported MCP operations can produce a draft skill after temporary IDs, element references, query strings, filled values, and other sensitive details are removed. A user must review a draft before enabling it.
During execution, elements are resolved again from semantic features such as role, accessible name, text, placeholder, type, and link path. Missing or ambiguous targets stop the run. Confirmation-risk actions require approval, and repeated failures mark a skill stale.
Imported .cbskill files contain JSON-only commands. Arbitrary scripts, executable URL schemes, credentials, verification values, unknown methods, and external run statistics are rejected. Imports remain disabled until reviewed.
MCP Tools
The server exposes tools in these groups:
Browser state and tabs:
browser_capabilities,browser_status,browser_tabs,session_checkNavigation and inspection:
browser_navigate,browser_observe,browser_snapshot,browser_waitInteraction and control:
browser_act,browser_back,browser_forward,browser_reload,browser_pause,browser_resume,browser_stopHuman handoff:
auth_request_login,auth_complete, browser assistance, and dialog toolsWorkflow learning:
browser_skill_list,browser_skill_match,browser_skill_run,browser_skill_learn,browser_skill_feedbackFiles and research:
paper_find_downloads,paper_download,downloads_list,document_import,document_list,document_read,document_search
Use browser_capabilities after connecting to inspect the exact tool set and current limits.
Build A Windows Installer
This repository can build an unpacked x64 application or an assisted NSIS installer:
npm run package:win
npm run installer:win
npm run smoke:packageArtifacts are written to release/. The NSIS installer supports English and Simplified Chinese, allows installation-directory selection, and creates Start menu and optional desktop shortcuts.
These local artifacts are unsigned. Windows SmartScreen may warn about them. Do not distribute an installer as an official release until it has been built from a reviewed commit, tested on a clean Windows account, and preferably code-signed.
Development
Use the renderer-only preview for layout work:
npm run devOpen http://127.0.0.1:5173. The web preview does not include Electron's browser bridge, so desktop-only controls are disabled. Use npm start for the functional browser.
Run the project checks before opening a pull request:
npm run typecheck
npm run build
npm run smoke:mcp
npm run smoke:actions
npm run smoke:runtime
npm run smoke:credentials
npm run smoke:advanced
npm run smoke:skills
npm run smoke:skills-runtimeDevelopment history is indexed in WORKLOG.md. Bug reports and focused pull requests are welcome through this repository's Issues and Pull Requests pages.
Troubleshooting
nodeornpmis not recognized: install a supported Node.js version, then open a new PowerShell window.Electron is missing: run
npm cifrom the repository root.The MCP server says the build is missing: run
npm run build.Codex does not show the tools: check
codex mcp list, then restart Codex or start a new task.The desktop does not start automatically: run
npm startonce and check.runtime\main.login the repository.A site asks for login or verification: complete it manually in the visible browser, then let Codex verify the session before continuing.
Current Limitations
Windows x64 is the only supported platform.
Preview installers are not code-signed.
The public repository does not yet include a distributable one-click Codex plugin; direct MCP setup is required.
Website changes can invalidate saved browser workflows and require review or relearning.
PDF text extraction does not provide OCR for every scanned document.
License
Codex Browser is available under the MIT License. Report suspected vulnerabilities through the process in SECURITY.md.
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/sj18259360196-source/CodexBrowser'
If you have feedback or need assistance with the MCP directory API, please join our Discord server