MCP.so
Sign In

DrissionPage MCP Server -- 骚神出品

@wxhzhwxhzh

About DrissionPage MCP Server -- 骚神出品

基于DrissionPage和FastMCP的浏览器自动化MCP服务器,提供丰富的浏览器操作API供AI调用

Overview

What is DrissionPage MCP Server?

DrissionPage MCP Server is a browser automation MCP server built on DrissionPage and FastMCP. It provides a rich set of browser operation APIs for AI to control web pages programmatically. Designed for developers and AI agents, it runs on any system with Python and a Chrome browser, and is typically configured in editors like Cursor and VSCode.

How to use DrissionPage MCP Server?

Clone the repository and ensure Python ≥3.9, Chrome 90+, and required packages (drissionpage ≥4.1.0.18, fastmcp ≥2.4.0, uv) are installed. In your editor’s MCP settings (e.g., Cursor or VSCode), add a JSON configuration with "type": "stdio", "command": "uv", and "args": ["run", "<absolute-path-to-main.py>"]. Use the provided debug commands via npx or mcp dev to test.

Key features of DrissionPage MCP Server

  • Open, close, and manage browser connections
  • Rich page element operations (click, input, etc.)
  • Execute JavaScript code on pages
  • Support for Chrome DevTools Protocol (CDP)
  • Convenient file download and upload automation
  • Keyboard key simulation
  • Page screenshot functionality
  • Background network packet listening
  • Automatic file upload/download handling

Use cases of DrissionPage MCP Server

  • AI-driven web scraping and data extraction
  • Automated form filling and submission
  • Monitoring network traffic from a page
  • Testing web application interactions
  • Automated file downloads from sites

FAQ from DrissionPage MCP Server

What Python version is required?

Python 3.9 or higher is required, along with a recent version of pip and uv.

What browser does it support?

Chrome browser is recommended, version 90 or above.

How do I install the required Python packages?

The repository uses uv as the package runner. Dependencies listed include drissionpage ≥4.1.0.18 and fastmcp ≥2.4.0; they are resolved automatically when running with uv run.

Can I use this with editors other than Cursor and VSCode?

Yes, as an MCP server it works with any editor or tool that supports the Model Context Protocol using stdio transport. The configuration method is the same: add an MCP server entry pointing to the main.py script.

What is the difference between this and other browser automation tools?

DrissionPage MCP Server is specifically designed as an MCP server, making it easy for AI agents (like those in Cursor, Claude Desktop, or custom agents) to control a browser through standardized API calls. It combines DrissionPage’s simplified browser API with FastMCP’s server framework for seamless integration.

Comments

More IDE & Code Editors MCP clients