MCP.so
登录

MCP Browser

@neoforge-dev

关于 MCP Browser

NeoForge Browser MCP server - used to test the frontend

基本信息

分类

浏览器自动化

运行时

python

传输方式

stdio

发布者

neoforge-dev

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-browser": {
      "command": "uv",
      "args": [
        "venv",
        ".venv"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Browser?

MCP Browser is a headless browser interface for the Model Control Protocol (MCP) that uses Playwright for browser automation. It provides a Web UI for browser interaction and WebSocket communication for real-time updates, designed for integration with AI agents.

How to use MCP Browser?

Install via one-line command or manually with Python 3.13+ and uv. Run locally using ./simple_test.sh or ./test_local.sh, or deploy with Docker Compose after setting MCP_SECRET. Configure via environment variables like MCP_SECRET, SERVER_PORT, and PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD.

Key features of MCP Browser

  • Headless browser automation using Playwright
  • Web UI for browser interaction
  • WebSocket communication for real-time updates
  • Real-time browser event subscription system
  • Integration with MCP for AI agents

Use cases of MCP Browser

  • AI agents automating web browsing tasks
  • Real-time monitoring of browser events for testing
  • Headless browser control through MCP protocols
  • Live DOM, console, and network event inspection

FAQ from MCP Browser

What are the prerequisites for MCP Browser?

Python 3.13+, uv for dependency management, and Docker (for containerized usage). XQuartz (X11) is required for visualization on Mac.

How do I install MCP Browser?

Use the one-line installation command curl -sSL https://raw.githubusercontent.com/neoforge-dev/mcp-browser/main/install_one_line.sh | bash or clone the repo and run ./install.sh.

What environment variables does MCP Browser use?

MCP_SECRET for authentication, SERVER_PORT (default 7665), and PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD to skip browser download for headless-only mode.

How does real-time browser event subscription work?

Clients can subscribe to browser events via WebSocket endpoints like /ws/browser/events and receive page, DOM, console, and network events as they happen.

What APIs does MCP Browser expose?

It exposes a Web UI at GET /, a status endpoint at GET /api/status, WebSocket endpoints for real-time communication, and endpoints for subscribing and unsubscribing to browser events.

评论

浏览器自动化 分类下的更多 MCP 服务器