
Mcp Server Browser
io.github.bytedancePublished by GitHub account bytedancev1.0.0Updated Oct 24, 2026
MCP server for browser use access
Overview
Local MCP server that gives an assistant a real browser: navigate pages, click, fill forms, read text or markdown, and take screenshots.
- What you can do
- Navigate and manage tabs: open URLs, go back or forward, open, switch and close tabs, list tabs.
- Interact with pages: click, hover, fill inputs, select options, press keys, scroll.
- Read page content: get text, markdown, links, clickable elements, and run JavaScript in the console.
- Capture output: screenshots of the page or an element, vision-mode screen capture and coordinate clicks, download list.
- Expose browser console logs, downloads and screenshots as resources.
- When to use it
- Useful when an assistant needs to operate a real web page rather than just fetch it: filling in forms, walking through a multi-step site, checking what a page renders, or capturing screenshots and downloads. Also fits automated web checks driven from a chat client.
- Requirements
- Runs locally over stdio via npx from the npm package @agent-infra/mcp-server-browser; needs Node.js 18 or newer and an MCP client such as VS Code, Cursor, Windsurf or Claude Desktop. A browser (Chrome, Edge or Firefox) is used, optionally via CDP or WebSocket endpoint, executable path, proxy, user data directory and viewport arguments. DISPLAY is needed for a virtual display; a port argument enables SSE or Streamable HTTP.
Installation
In SourceWeft
- Open Mcp Server Browser in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Browser Use MCP Server
[NPM Downloads] [smithery badge] [codecov]
[Install MCP Server] [Install in VS Code] [Install in VS Code Insiders]
A fast, lightweight Model Context Protocol (MCP) server that empowers LLMs with browser automation via Puppeteer’s structured accessibility data, featuring optional vision mode for complex visual understanding and flexible, cross-platform configuration.
Key Features
- ⚡ Fast & lightweight. Utilizes Puppeteer's label index, not pixel-based input and accessibility DOM tree.
- 👁️ Vision Mode Support. Optional visual understanding capabilities for complex layouts and visual elements when structured data isn't sufficient.
- 🤖 LLM-optimized. No vision models needed, operates purely on structured data, less context reducing context token usage.
- 🧩 Flexible Runtime Configuration. Customize viewport size, coordinate system factors, and User-Agent at runtime via HTTP headers.
- 🌐 Cross-Platform & Extensible. Support for remote and local browsers, the use of a custom browser engine.
Requirements
- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client
Getting started
Local (Stdio)
First, install the Browser MCP server with your client. A typical configuration looks like this:
Install in VS Code
You can also install the Browser MCP server using the VS Code CLI:
After installation, the Browser MCP server will be available for use with your GitHub Copilot agent in VS Code.
Install in Cursor
Go to Cursor Settings -> MCP -> Add new MCP Server. Name to your liking, use command type with the command npx @agent-infra/mcp-server-browser. You can also verify config or add command like arguments via clicking Edit.
Install in Windsurf
Follow Windsuff MCP documentation. Use following configuration:
Install in Claude Desktop
Follow the MCP install guide, use following configuration:
Remote (SSE / Streamable HTTP)
At the same time, use --port $your_port arg to start the browser mcp can be converted into SSE and Streamable HTTP Server.
You can use one of the two MCP Server remote endpoint:
- Streamable HTTP(Recommended):
http://127.0.0.1::8089/mcp - SSE:
http://127.0.0.1::8089/sse
And then in MCP client config, set the url to the SSE endpoint:
url to the Streamable HTTP:
In-memory call
If your MCP Client is developed based on JavaScript / TypeScript, you can directly use in-process calls to avoid requiring your users to install the command-line interface to use Browser MCP.
Configuration
Browser MCP server supports following arguments. They can be provided in the JSON configuration above, as a part of the "args" list:
Runtime Configuration
The browser runtime requires configuration for Viewport Size, Vision Model Coordinate Factors, and User Agent. These can be passed through corresponding HTTP headers:
Note: Header names are case-insensitive.
Example:
Docker
We have unified the deployment of VNC and MCP under a single URL endpoint, The Dockerfile and DockerHub image will be published together! video
API
Tools
Resources
Development
Access http://127.0.0.1:6274/:
Extended CLI Entry
Source: packages/agent-infra/mcp-servers/browser/README.md at commit 2ff41a9
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts