Cover image
Try Now
2025-04-15

杆的模型上下文协议服务器

3 years

Works with Finder

0

Github Watches

3

Github Forks

13

Github Stars

Rod MCP Server

logo

Wow! It's awesome, now you can use the MCP server of Rod!🚀


Rod-MCP provides browser automation capabilities for your applications by using Rod. The server provides many useful mcp tools enable LLMs to interact with the web pages, like click, take screenshot, save page as pdf etc.

Engilsh | 中文

Features

  • 🚀 Browser automation powered by Rod
  • 🎯 Rich web interaction capabilities
    • Element clicking
    • Screenshot capture
    • PDF generation
    • And more...
  • 🎨 Headless/GUI mode support
  • ⚡ High performance and stability
  • 🔧 Easy to configure and extend
  • 🤖 Designed for LLMs interaction

Installation

Prerequisites

  • Go 1.23 or higher
  • Chrome/Chromium browser

Steps

  1. Clone the repository:
git clone https://github.com/go-rod/rod-mcp.git
cd rod-mcp
  1. Install dependencies:
go mod tidy
  1. Build the project:
go build

Usage

Basic Usage

  1. Clone Repo and Build Self or Go to Download Release
  2. Configure MCP:
{
    "mcpServers": {
        "rod-mcp": {
            "command": "rod-mcp",
            "args": [
                "-c", "rod-mcp.yaml"
            ]
        }
    }
}

Configuration

The configuration file supports the following options:

  • serverName: Server name, default is "Rod Server"
  • browserBinPath: Browser executable file path, use system default browser if empty
  • headless: Whether to run the browser in headless mode, default is false
  • browserTempDir: Browser temporary file directory, default is "./rod/browser"
  • noSandbox: Whether to disable sandbox mode, default is false
  • proxy: Proxy server settings, supports socks5 proxy

Project Structure

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

Contribution Guidelines

Welcome to submit Pull Request or create Issue!

License

This project is licensed under the MIT License - see the LICENSE file

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    3 (1)
    Avatar
    user_7UcIdSFl
    2025-04-16

    Rod-MCP by go-rod is an outstanding tool for browser automation, providing powerful features in an easy-to-use package. The integration with Go language makes it perfect for developers looking for efficient and reliable solutions. I highly recommend checking it out: https://github.com/go-rod/rod-mcp!