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 Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
0
Favorites
0
README
MCP Tools Project
This project implements two MCP (Model Context Protocol) servers:
- Echo MCP Server: A simple echo server for testing MCP communication
- 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
- Create and activate virtual environment:
python -m venv .venv
.\.venv\Scripts\activate # Windows
source .venv/bin/activate # Linux/Mac
- Install dependencies:
pip install -r requirements.txt
- 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
- Start Echo server in development mode:
mcp dev echo_server.py
- Start Browser-use server in development mode:
mcp dev browser_use_mcp.py
Configuration
MCP server configurations are stored in .cursor/mcp.json
.
Author Information
AI/ML Engineer | Generative AI | NLP | Computer Vision | Data Science | Python | Hackathon Winner | Web Development Certified | Former Analytical Chemist
Global
11
Followers
53
Repositories
0
Gists
1
Total Contributions
Top Contributors
Threads