browser-screenshot-mcp
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-screenshot-mcpTake a screenshot of my shared tab"
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 Screenshot MCP
Give a local MCP client screenshots of one explicitly shared browser tab without granting access to every tab.
The Chromium extension has no global tab-list, debugger, cookie, history, web-request, content-script, or all-sites permission. A tab becomes available only after you open the extension on that tab and select Share this tab. Screenshots of that exact tab are then automatic until you stop sharing it or the capture session ends.
Privacy model
A loopback-only daemon pairs with the extension using a random local token.
The extension creates an opaque capability and a video-only
tabCapturestream when you explicitly share the active HTTP(S) tab.Codex or Claude Code can list only the aliases and capabilities you shared—not the browser's tab list.
The shared tab displays an
AUTObadge and remains available across navigation and while it is in the background.The MCP client requests a screenshot for one capability. The extension reads the current frame without activating or focusing the tab.
The MCP client retrieves the image once; the bridge then deletes its in-memory copy.
There is no wall-clock share expiry. A share ends when you stop it, close the tab, restart the browser, reload the extension, or the capture stream otherwise ends. Incognito and non-HTTP(S) pages cannot begin a share. Chromium displays its own capture indicator for the lifetime of the stream.
Related MCP server: Screeny MCP Server
Requirements
Node.js 22.18.0 or newer
Chrome 116+, Brave, Edge, or another compatible Chromium browser
Codex or Claude Code with local stdio MCP support
Quick start
git clone https://github.com/szichedelic/browser-screenshot-mcp.git
cd browser-screenshot-mcp
npm ci
npm run build
REPO_DIR="$(pwd -P)"Load the extension:
Open
chrome://extensionsorbrave://extensions.Enable Developer mode.
Select Load unpacked and choose the repository's
extensiondirectory.
Pair it with the local bridge:
node "$REPO_DIR/dist/cli.js" pairing-code
node "$REPO_DIR/dist/cli.js" serveThe first command copies the code to your system clipboard and never prints it. Leave the bridge running, open the extension's Options, paste the code, keep port 39393, and save.
Add the MCP server to Codex:
codex mcp add browser-screenshot -- node "$REPO_DIR/dist/cli.js" mcp
codex mcp listOr add it to Claude Code:
claude mcp add --transport stdio --scope user browser-screenshot -- node "$REPO_DIR/dist/cli.js" mcp
claude mcp get browser-screenshotThe MCP adapter starts the bridge automatically, so the manual serve process can be stopped after setup. See Configuration for client scopes, Windows commands, token rotation, custom paths, and troubleshooting.
Use it
Open the page you want the agent to see.
Open the extension and select Share this tab. Use a non-sensitive alias such as
local-app.Navigate or switch tabs normally. The share remains bound to that same tab without requiring focus.
Ask your MCP client to list shared tabs and take a screenshot. No per-screenshot browser approval is required.
Select Stop sharing when finished.
Available MCP tools:
bridge_statuslist_shared_tabsrequest_screenshotget_screenshotstop_sharing
There is intentionally no tool for enumerating browser tabs, matching titles or URLs, activating another tab, or capturing whichever tab happens to be active.
Security boundaries
The bridge binds only to
127.0.0.1and authenticates the extension and MCP adapter.Only a user-provided alias—not the tab URL or title—is sent to the daemon.
Tab and window IDs remain inside the extension.
No audio track is requested, processed, or sent.
Screenshots are not written to disk by this project. Requests expire after two minutes and ready images are one-time reads.
The pairing token is stored in browser-local extension storage and a user-only local configuration file.
A dedicated browser profile containing only agent-safe tabs is recommended as an additional boundary.
This project does not defend against software already running as your operating-system user. Once an MCP client receives a screenshot, that client's own retention and data-handling policies apply. See Security model for the complete boundary and reporting instructions.
Development
npm run check
npm test
npm run build
node dist/cli.js doctorSee CONTRIBUTING.md before changing permissions or the bridge protocol. The protocol deliberately never carries URLs, titles, cookies, page DOM, browsing history, stream identifiers, or an unshared-tab inventory.
License
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.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI tools to capture and process screenshots of a user's screen, allowing AI assistants to see and analyze what the user is looking at through a simple MCP interface.126MIT
- Alicense-qualityCmaintenanceA privacy-first macOS MCP server that enables AI agents to capture screenshots of pre-approved application windows for development and debugging tasks.14MIT
- FlicenseAqualityDmaintenanceEnables LLMs to capture screenshots and screen recordings through MCP with chunked session-based transfers for reliable image consumption. Supports multi-monitor selection, timeline capture, and compatibility with both vision and non-vision language models.111
- Alicense-qualityBmaintenanceEnables MCP-compatible AI agents to securely control Chrome tabs via a local bridge, with explicit per-tab sharing and human approval for consequential actions.MIT
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Remote MCP for MCP consent scope receipt, structured receipts, audit logs, and reviewer-ready eviden
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/szichedelic/browser-screenshot-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server