Rod MCP 服务器
哇!太棒了,现在你可以使用 Rod 的 MCP 服务器了!🚀
Rod-MCP 通过使用Rod为您的应用程序提供浏览器自动化功能。该服务器提供了许多实用的 mcp 工具,使 LLM 能够与网页进行交互,例如点击、截屏、将页面保存为 PDF 等。
特征
🚀 由 Rod 提供支持的浏览器自动化
🎯 丰富的网页交互能力
元素单击
屏幕截图
PDF生成
还有更多...
🎨 无头/GUI 模式支持
⚡ 高性能和稳定性
🔧 易于配置和扩展
🤖 专为法学硕士互动而设计
安装
先决条件
Go 1.23 或更高版本
Chrome/Chromium浏览器
步骤
克隆存储库:
git clone https://github.com/go-rod/rod-mcp.git
cd rod-mcp
安装依赖项:
go mod tidy
构建项目:
go build
用法
基本用法
克隆 Repo 并自行构建或前往下载版本
配置 MCP:
{
"mcpServers": {
"rod-mcp": {
"command": "rod-mcp",
"args": [
"-c", "rod-mcp.yaml"
]
}
}
}
配置
配置文件支持以下选项:
serverName:服务器名称,默认为“Rod Server”
browserBinPath:浏览器可执行文件路径,为空则使用系统默认浏览器
headless:是否以无头模式运行浏览器,默认为false
browserTempDir:浏览器临时文件目录,默认为“./rod/browser”
noSandbox:是否禁用沙盒模式,默认为false
proxy:代理服务器设置,支持socks5代理
项目结构
rod-mcp/
├── assets/ # Static resources
├── banner/ # Banner resources
├── cmd.go # Command line processing
├── main.go # Program entry
├── resources/ # Resource files
├── server.go # Server implementation
├── tools/ # Tool implementation
├── types/ # Type definitions
└── utils/ # Utility functions
贡献指南
欢迎提交 Pull Request 或者创建 Issue!
执照
该项目采用 MIT 许可证 - 请参阅许可证文件
Related MCP Servers
- Asecurity-licenseAqualityAn MCP service that automates Chrome browser control while bypassing anti-bot detection mechanisms, enabling web scraping, testing and automation on sites with sophisticated bot protection.Last updated -166MIT License
- -security-license-qualityAn MCP server that allows users to interact with their browser through natural language commands, enabling actions like getting page content as markdown, modifying page styles, and searching browser history.Last updated -1
- -security-license-qualityA session-based MCP server that provides advanced browser automation capabilities, allowing users to control browsers, navigate websites, interact with elements, capture screenshots, generate PDFs, and manage cookies through natural language.Last updated -1MIT License
- Asecurity-licenseAqualityAn MCP server that enables LLM applications to control web browsers via Browserbase, supporting features like web navigation, screenshots, cookie management, and persistent contexts.Last updated -142,054