Browser Automation · MODEL CONTEXT PROTOCOL

MCP server Browser Use

FastAPI server implementing MCP protocol Browser automation via browser-use library.

WHAT IT CONNECTS

MCP server Browser Use 为 AI Agent 提供什么

  • **Browser Control**
  • Automated browser interactions via natural language
  • Navigation, form filling, clicking, and scrolling capabilities
  • Tab management and screenshot functionality
  • Cookie and state management
  • **Agent System**
  • Custom agent implementation in custom_agent.py
  • Vision-based element detection
  • Structured JSON responses for actions
  • Message history management and summarization
  • **Configuration**
  • Environment-based configuration for API keys and settings
  • Chrome browser settings (debugging port, persistence)
  • Model provider selection and parameters
  • Integration with browser-use library for advanced browser control
  • Custom browser automation capabilities
  • Agent-based interaction system with vision capabilities
  • Persistent state management
  • Customizable model settings
  • Operating Systems (Linux, macOS, Windows; we haven't tested for Docker or Microsoft WSL)
  • Python 3.11 or higher
  • uv (fast Python package installer)
  • Chrome/Chromium browser
  • [Claude Desktop](https://claude.ai/download)
  • Clone the repository:
  • Create and activate virtual environment:
  • Install dependencies:
  • Start the server
  • Navigation: Go to URLs, back/forward, refresh
  • Interaction: Click, type, scroll, hover
  • Forms: Fill forms, submit, select options
  • State: Get page content, take screenshots
  • Tabs: Create, close, switch between tabs
  • Vision: Find elements by visual appearance
  • Cookies & Storage: Manage browser state
  • Fork this repository.
  • Create your feature branch: `git checkout -b my-new-feature`.
  • Commit your changes: `git commit -m 'Add some feature'`.
  • Push to the branch: `git push origin my-new-feature`.
  • Submit a pull request.

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。