Integrations
Provides tools to manipulate and append CSS styles to web pages, including the ability to implement dark mode and other style changes.
Enables interaction with Firefox browser, allowing for retrieving page content, modifying CSS styles, and searching browser history.
Mentioned in examples for history search functionality, allowing search through browser history for GitHub-related visits.
浏览器-mcp
浏览器扩展和 MCP 服务器允许您与正在使用的浏览器进行交互。
用法
Copy
工具
所有可用的工具都列在server/src/tools.ts
中。
get_current_page_markdown
从当前浏览器浏览页面获取markdown。
例子:
Copy
append_style
为当前浏览器浏览页面附加一个css样式。
例子:
Copy
history_search
搜索浏览器历史记录。
例子:
Copy
路线图
- [ ] 将扩展发布到扩展商店。
- [ ] 编写文档。
- [ ] 添加更多工具。
建造
Copy
扩大
Copy
构建后,扩展将位于extension/.output
目录中。
服务器
Copy
server/dist/cli.js
是 MCP 服务器入口。
贡献
添加新工具
- 将工具模式添加到
server/src/tools.ts
中的tools
数组中。 - 在
extension/calls.ts
中添加扩展可调用处理程序。 - 在
server/src/tools.ts
中添加一个工具处理程序。使用call
函数调用扩展处理程序。
执照
AGPL-3.0-或更高版本
This server cannot be installed
一个 MCP 服务器,允许 AI 助手与浏览器交互,包括获取页面内容为 markdown、修改页面样式和搜索浏览器历史记录。