哇!太棒了,现在你可以使用 Rod 的 MCP 服务器了!🚀
Rod-MCP 通过使用 Rod 为你的应用程序提供浏览器自动化功能。该服务器提供了许多有用的 MCP 工具,使 LLMs 能够与网页进行交互,例如点击、截图、保存页面为 PDF 等。
git clone https://github.com/go-rod/rod-mcp.git
cd rod-mcp

go mod tidy
go build
{
"mcpServers": {
"rod-mcp": {
"command": "rod-mcp",
"args": [
"-c", "rod-mcp.yaml"
]
}
}
}

配置文件支持以下选项:
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 许可证授权 - 查看 LICENSE 文件