Back to search
browser-mcp
MCP serverGitHub
A browser extension and MCP server that allows you to interact with the browser you are using.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/djyde--browser-mcp)HTML
<a href="/listings/djyde--browser-mcp"><img src="/api/listings/djyde--browser-mcp/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 111 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # browser-mcp
- A browser extension and MCP server that allows you to interact with the browser you are using.
- 
- 
- ## Usage
- ```json
- {
- "mcpServers": {
- "playwright": {
- "command": "npx",
- "args": [
- "@djyde/mcp-browser@latest"
- ]
- }
- }
- }
- ```
- ## Tools
- All available tools are listed in `server/src/tools.ts`.
- ### `get_current_page_markdown`
- Get the markdown from current browser browsing page.
- example:
- ```
- Summarize the current page.
- ```
- ### `append_style`
- Append a css style to the current browser browsing page.
- example:
- ```
- Change the current page to dark mode.
- ```
- ### `history_search`
- Search the browser history.
- example:
- ```
- Search the browser history for "github".
- ```
- ## Roadmap
- - [ ] Publish the extension to extension store.
- - [ ] Write documentation.
- - [ ] Add more tools.
- ## Build
- ```bash
- pnpm i
- ```
- ### Extension
- ```bash
- cd extension
- # chrome
- npm run build
- # edge
- npm run build:edge
- # firefox
- npm run build:firefox
- ```
- After building, the extension will be in the `extension/.output` directory.
- ## Server
- ```bash
- cd server
- # dev
- npm run dev
- # build
- npm run build
- ```
- `server/dist/cli.js` is the MCP server entry.
- ## Contributing
- ### Add a new tool
- 1. Add the tool schema to the `tools` array in `server/src/tools.ts`.
- 2. Add a extension callable handler in `extension/calls.ts`.
- 3. Add a tool handler in `server/src/tools.ts`. Use the `call` function to call the extension handler.
- ## License
- AGPL-3.0-or-later
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.