LAM-mcp
by Gafoor2005
Overview
Browser automation and intelligent web interaction for AI agents using a Model Context Protocol (MCP) server with session-based context analysis.
Installation
uv run python -m browser_mcp_server.serverEnvironment Variables
- BROWSER_TYPE
- BROWSER_HEADLESS
- BROWSER_TIMEOUT
- BROWSER_WINDOW_SIZE
- BROWSER_USER_AGENT
- BROWSER_DOWNLOAD_DIR
Security Notes
The server exposes powerful tools like `execute_javascript` and `set_cookie` which allow arbitrary code execution in the browser and cookie manipulation respectively. If the MCP client (AI agent) is compromised or misconfigured, these tools could be used for malicious purposes. The `BROWSER_DOWNLOAD_DIR` is configurable but defaults to `/tmp/downloads`, which needs careful management in a production environment to prevent uncontrolled file system writes. While the server itself doesn't contain obvious hardcoded secrets or malicious patterns, the inherent capabilities provided require the calling agent and the execution environment to be highly secure and sandboxed.
Similar Servers
playwright-mcp
Provides a Model Context Protocol (MCP) server for LLMs to automate browser interactions using Playwright's accessibility tree, avoiding pixel-based vision models.
mcp-chrome
Transforms the Chrome browser into an AI-controlled automation tool, enabling large language models to interact with web pages, analyze content, and manage browser functions.
mcp
This server provides Hyperbrowser's Model Context Protocol (MCP) interface, offering tools for web scraping, structured data extraction, crawling, and general-purpose browser automation using AI agents like OpenAI's CUA and Anthropic's Claude Computer Use.
scrapegraph-mcp
Provides AI-powered web scraping, structured data extraction, multi-page crawling, and agentic automation capabilities for language models.