Skip to main content

MCP Browser Agent

smithery badge

Built at AGI House MCP Hackathon

Browser Agent MCP server

Overview

This project is a browser automation agent that uses the Model Context Protocol (MCP) to enable browser interactions. It provides a seamless integration between Claude and browser automation capabilities through our MCP server.

Thank you to Browser-Use for their browser agent capabilities that help power our MCP server!

System Requirements

  • macOS (darwin 24.2.0)
  • Python 3.12 or higher
  • uv package manager
  • Google Chrome browser (Ensure your browser is closed before running task(s).)

Installation

Installing via Smithery

To install Browser Automation Agent for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @ashley-ha/mcp-manus --client claude

Manual Installation

  1. Clone the repository:
git clone <repository-url>
cd mcp
  1. Set up the Python environment using uv:
uv venv
source .venv/bin/activate
uv sync

Configuration

Claude Desktop Configuration

Create or modify your Claude Desktop configuration file:

{
  "mcpServers": {
    "browser-use": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/mcp",
        "run",
        "browser-use.py"
      ]
    }
  }
}

Replace /ABSOLUTE/PATH/TO/browser-use with the absolute path to your project directory.

Browser Configuration

The agent is configured to use Google Chrome with the following default settings:

  • Non-headless mode for development
  • Window size: 1280x1100
  • Disabled security features for testing
  • Recording path: ./tmp/recordings

Features

  • Browser automation through MCP tools
  • State management and planning capabilities
  • Interactive element detection and manipulation
  • Configurable browser contexts
  • Logging and debugging support

Usage

The agent provides two main tools:

  1. get_planner_state: Retrieves the current browser state and planning context
  2. execute_actions: Executes planned actions in the browser

Development

Logging

The project uses Python's built-in logging with the following configuration:

  • All logs are directed to stderr
  • Custom formatting: %(levelname)-8s [%(name)s] %(message)s
  • Root logger level: INFO
  • Third-party loggers level: WARNING

Project Structure

  • browser-use.py: Main entry point and server implementation
  • tmp/recordings: Directory for browser session recordings
  • Dependencies managed through uv

Contributing

This project was built during the AGI House MCP Hackathon. Contributions are welcome!

License

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

Copyright (c) 2025 Jaeyun Ha, Ashley Ha

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for iflow-mcp_mcp-browser-agent 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-browser-agent 0.1.0
File Size Uploaded
iflow_mcp_mcp_browser_agent-0.1.0.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-browser-agent 0.1.0
File Interpreter ABI Platform
iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / iflow_mcp_mcp_browser_agent-0.1.0.tar.gz

Download URL iflow_mcp_mcp_browser_agent-0.1.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a9f127dc90cd11764e5c9c56d6850499c43aebb03b465ab97bcecf304d77c48f
BLAKE2b-256 checksum
How to use checksums
3bba61af0ca34ec66b59c5abf619f43e6e0e763674beae450894c872c7256875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl

Download URL iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18eeb5163aaff4d4c9d035ad11bd70a25cbcb498d4bb1387b5310282dccfa80d
BLAKE2b-256 checksum
How to use checksums
0d1feb074ebacd5a2b6aa799157a1bf56bf5d1b621b97c52e74c3d24a67545c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page