Skip to main content
Glama

Rod MCP 服务器

哇!太棒了,现在你可以使用 Rod 的 MCP 服务器了!🚀

Rod-MCP 通过使用Rod为您的应用程序提供浏览器自动化功能。该服务器提供了许多实用的 mcp 工具,使 LLM 能够与网页进行交互,例如点击、截屏、将页面保存为 PDF 等。

特征

  • 🚀 由 Rod 提供支持的浏览器自动化

  • 🎯 丰富的网页交互能力

    • 元素单击

    • 屏幕截图

    • PDF生成

    • 还有更多...

  • 🎨 无头/GUI 模式支持

  • ⚡ 高性能和稳定性

  • 🔧 易于配置和扩展

  • 🤖 专为法学硕士互动而设计

Related MCP server: browser-mcp

安装

先决条件

  • Go 1.23 或更高版本

  • Chrome/Chromium浏览器

步骤

  1. 克隆存储库:

git clone https://github.com/go-rod/rod-mcp.git
cd rod-mcp
  1. 安装依赖项:

go mod tidy
  1. 构建项目:

go build

用法

基本用法

  1. 克隆 Repo 并自行构建或前往下载版本

  2. 配置 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 许可证 - 请参阅许可证文件

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/go-rod/rod-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server