mcp-browser-automation

Python-based MCP toolset with Echo server for testing and Browser Automation server using browser-use and LangChain for AI-driven web interactions

GitHubスター

0

ユーザー評価

未評価

フォーク

0

イシュー

0

閲覧数

1

お気に入り

0

README
MCP Tools Project

This project implements two MCP (Model Context Protocol) servers:

  1. Echo MCP Server: A simple echo server for testing MCP communication
  2. Browser-use MCP Server: A browser automation server using browser-use and LangChain
Requirements
  • Python 3.12+
  • Virtual environment
  • Required packages (see requirements.txt)
Installation
  1. Create and activate virtual environment:
python -m venv .venv
.\.venv\Scripts\activate  # Windows
source .venv/bin/activate  # Linux/Mac
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
# Create .env file with your OpenAI API key
OPENAI_API_KEY=your_api_key_here
MCP Servers
Echo Server

Simple echo server that demonstrates basic MCP functionality:

  • Echo messages as resources
  • Echo messages as tools
Browser-use Server

Browser automation server that:

  • Uses browser-use library for web automation
  • Integrates with LangChain and OpenAI
  • Provides browser automation capabilities through MCP
Usage
  1. Start Echo server in development mode:
mcp dev echo_server.py
  1. Start Browser-use server in development mode:
mcp dev browser_use_mcp.py
Configuration

MCP server configurations are stored in .cursor/mcp.json.

作者情報
Letlhogonolo Fanampe (DJ Papzin)

AI/ML Engineer | Generative AI | NLP | Computer Vision | Data Science | Python | Hackathon Winner | Web Development Certified | Former Analytical Chemist

Global

11

フォロワー

53

リポジトリ

0

Gist

1

貢献数

トップ貢献者

スレッド