Skip to main content

Add your description here

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_browser_agent-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_browser_agent-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_browser_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a9f127dc90cd11764e5c9c56d6850499c43aebb03b465ab97bcecf304d77c48f
MD5 295f95ec19a4c35ac39f9571ca0f81f3
BLAKE2b-256 3bba61af0ca34ec66b59c5abf619f43e6e0e763674beae450894c872c7256875

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_browser_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18eeb5163aaff4d4c9d035ad11bd70a25cbcb498d4bb1387b5310282dccfa80d
MD5 4825dbd0236dd03cabf0035c0fb7cfd7
BLAKE2b-256 0d1feb074ebacd5a2b6aa799157a1bf56bf5d1b621b97c52e74c3d24a67545c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page