browser-mcp
A browser extension and MCP server that allows you to interact with the browser you are using.
Usage
{
"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
pnpm i
Extension
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
cd server
# dev
npm run dev
# build
npm run build
server/dist/cli.js
is the MCP server entry.
Contributing
Add a new tool
- Add the tool schema to the
tools
array inserver/src/tools.ts
. - Add a extension callable handler in
extension/calls.ts
. - Add a tool handler in
server/src/tools.ts
. Use thecall
function to call the extension handler.
License
AGPL-3.0-or-later
Browser Extension and MCP Server
Project Details
- djyde/browser-mcp
- Last Updated: 4/19/2025
Recomended MCP Servers
MCP Server for skrape.ai, lets you input any URL and it returns clean markdown for the LLM
Antrophics Model context protocol to edit powerpoint files
A full implementation of Ethers as an AI tool for the model context protocol
A Model Context Protocol (MCP) server providing tools to read, search, and manipulate OpenFGA stores programmatically via Large...
A Model Context Protocol implementation for FHIR
服务器、网络设备巡检和运维MCP工具
MCP server for applying a Claude Shannon-inspired problem-solving pattern
OpenAPI MCP Server
A Model Context Protocol (MCP) server that enables LLMs to interact directly with Couchbase databases. Query buckets, execute...
Payload CMS MCP Server
Enable any LLM (e.g. Claude) to interactively debug any language for you via MCP and a VS Code...