Skip to content
Back to search

browser-mcp

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/djyde--browser-mcp/badge.svg)](/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)

  1. # browser-mcp
  2. A browser extension and MCP server that allows you to interact with the browser you are using.
  3. ![mcp](https://github.com/user-attachments/assets/8464d4dc-7192-4d89-be05-bdcbaf0b5807)
  4. ![jkXeswNy@2x](https://github.com/user-attachments/assets/18c90714-5ec7-4d9d-ac24-74af1b6c907d)
  5. ## Usage
  6. ```json
  7. {
  8. "mcpServers": {
  9. "playwright": {
  10. "command": "npx",
  11. "args": [
  12. "@djyde/mcp-browser@latest"
  13. ]
  14. }
  15. }
  16. }
  17. ```
  18. ## Tools
  19. All available tools are listed in `server/src/tools.ts`.
  20. ### `get_current_page_markdown`
  21. Get the markdown from current browser browsing page.
  22. example:
  23. ```
  24. Summarize the current page.
  25. ```
  26. ### `append_style`
  27. Append a css style to the current browser browsing page.
  28. example:
  29. ```
  30. Change the current page to dark mode.
  31. ```
  32. ### `history_search`
  33. Search the browser history.
  34. example:
  35. ```
  36. Search the browser history for "github".
  37. ```
  38. ## Roadmap
  39. - [ ] Publish the extension to extension store.
  40. - [ ] Write documentation.
  41. - [ ] Add more tools.
  42. ## Build
  43. ```bash
  44. pnpm i
  45. ```
  46. ### Extension
  47. ```bash
  48. cd extension
  49. # chrome
  50. npm run build
  51. # edge
  52. npm run build:edge
  53. # firefox
  54. npm run build:firefox
  55. ```
  56. After building, the extension will be in the `extension/.output` directory.
  57. ## Server
  58. ```bash
  59. cd server
  60. # dev
  61. npm run dev
  62. # build
  63. npm run build
  64. ```
  65. `server/dist/cli.js` is the MCP server entry.
  66. ## Contributing
  67. ### Add a new tool
  68. 1. Add the tool schema to the `tools` array in `server/src/tools.ts`.
  69. 2. Add a extension callable handler in `extension/calls.ts`.
  70. 3. Add a tool handler in `server/src/tools.ts`. Use the `call` function to call the extension handler.
  71. ## License
  72. AGPL-3.0-or-later

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.