Skip to main content
Glama

MCP Browser Agent

by ashley-ha

MCP Browser Agent

Built at AGI House MCP Hackathon

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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

A browser automation agent that enables Claude to interact with web browsers through the Model Context Protocol, allowing for actions like navigating websites, manipulating elements, and managing browser state.

  1. Overview
    1. System Requirements
      1. Installation
        1. Installing via Smithery
        2. Manual Installation
      2. Configuration
        1. Claude Desktop Configuration
        2. Browser Configuration
      3. Features
        1. Usage
          1. Development
            1. Logging
            2. Project Structure
          2. Contributing
            1. License

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A comprehensive suite of Model Context Protocol servers designed to extend AI agent Claude's capabilities with integrations for knowledge management, reasoning, advanced search, news access, and workspace tools.
                Last updated -
                5
                TypeScript
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables Claude Desktop to browse the web, likely allowing the AI to access and interact with web content.
                Last updated -
                2
                5
                5
                JavaScript
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                Browser Agent MCP
                Last updated -
                13
                18
                TypeScript
                Mozilla Public License 2.0
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                A server implementation that enables controlling web browsers programmatically through Claude's desktop application, providing comprehensive Selenium WebDriver operations for browser automation with Chrome and Firefox support.
                Last updated -
                3
                Python
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/ashley-ha/mcp-manus'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server