{"by":"felarof","descendants":17,"id":45618536,"kids":[45628682,45622851,45621402,45623693,45620611,45621299],"score":46,"text":"Hey HN, we just shipped a browser with an inbuilt MCP server!<p>We&#x27;re a YC startup (S24) building BrowserOS — an open‑source Chromium fork. We&#x27;re a privacy‑first alternative to the new wave of AI browsers like Dia, Perplexity Comet. Since launching ~3 months ago, the #1 request has been to expose our browser as an MCP server.<p>-- Google beat us to launch with chrome-devtools-mcp (solid product btw), which lets you build&#x2F;debug web apps by connecting Chrome to coding assistants. But we wanted to take this a step further: we packaged the MCP server directly into our browser binary. That gives three advantages:<p>1. MCP server setup is super simple — no npx install, no starting Chrome with CDP flags, you just download the BrowserOS binary.<p>2. with our browser&#x27;s inbuilt MCP server, AI agents can interact using your logged‑in sessions (unlike chrome-devtools-mcp which starts a fresh headless instance each time)<p>3. our MCP server also exposes new APIs from Chromium&#x27;s C++ core to click, type, and draw bounding boxes on a webpage. Our APIs are also not CDP-based (Chrome Debug Protocol) and have robust anti-bot detection.<p>-- Few example use cases for BrowserOS-mcp are:<p>a) *Frontend development with Claude Code*: instead of screenshot‑pasting, claude-code gets WYSIWYG access. It can write code, take a screenshot, check console logs, and fix issues in one agentic sweep. Since it has your sessions, it can do QA stuff like &quot;test the auth flow with my Google Sign‑In.&quot; Here&#x27;s a video of claude-code using browserOS to improve the css styling with back-and-forth checking: <a href=\"https:&#x2F;&#x2F;youtu.be&#x2F;vcSxzIIkg_0\" rel=\"nofollow\">https:&#x2F;&#x2F;youtu.be&#x2F;vcSxzIIkg_0</a><p>b) *Use as an agentic browser:* You can install BrowserOS-mcp in claude-code or Claude Desktop and do things like form-filling, extraction, multi-step agentic tasks, etc. It honestly works better than Perplexity Comet! Here&#x27;s a video of claude-code opening top 5 hacker news posts and summarizing: <a href=\"https:&#x2F;&#x2F;youtu.be&#x2F;rPFx_Btajj0\" rel=\"nofollow\">https:&#x2F;&#x2F;youtu.be&#x2F;rPFx_Btajj0</a><p>-- *How we packaged MCP server inside Chromium binary*: We package the server as a Bun binary and expose MCP tools over HTTP instead of stdio (to support multiple sessions). And we have a BrowserOS controller installed as an extension at the application layer which the MCP server connects to over WebSocket to control the browser. Here&#x27;s a rough architecture diagram: <a href=\"https:&#x2F;&#x2F;dub.sh&#x2F;browseros-mcp-diag\" rel=\"nofollow\">https:&#x2F;&#x2F;dub.sh&#x2F;browseros-mcp-diag</a><p>-- *How to install and use it:* We put together a short guide here: <a href=\"https:&#x2F;&#x2F;git.new&#x2F;browseros-mcp\" rel=\"nofollow\">https:&#x2F;&#x2F;git.new&#x2F;browseros-mcp</a><p>Our vision is to reimagine the browser as an operating system for AI agents, and packaging an MCP server directly into it is a big unlock for that!<p>I&#x27;ll be hanging around all day, would love to get your feedback and answer any questions!","time":1760718127,"title":"Show HN: We packaged an MCP server inside Chromium","type":"story","url":"https://github.com/browseros-ai/BrowserOS/blob/main/docs/browseros-mcp/how-to-guide.mdx"}