Selenium Mcp
@amandeep-sg
Selenium Mcp について
MCP tools build using selenium to automate web testing or scraping
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"selenium_mcp": {
"command": "python3",
"args": [
"-m",
"venv",
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Selenium Mcp?
Selenium Mcp is a Python server that bridges AI assistants or custom MCP clients with Selenium Webdrivers by exposing Selenium webdriver functionalities as MCP tools, enabling web automation, web testing, and web scraping.
How to use Selenium Mcp?
Clone the repository, create a Python virtual environment, install dependencies from requirements.txt, then run python server.py. Optionally set a Google GenAI API key in a .env file as GEMINI_API_KEY and use the built-in lightweight MCP client for testing.
Key features of Selenium Mcp
- Humanised error handling for LLM reconfiguration
- Comprehensive element interaction with visibility checks
- Full navigation control: open URLs, forward, backward, refresh
- Supports creating and quitting browser sessions
- Manages cookies (add, delete, get, clear)
- Performs clicks (left, right, double, drag‑and‑drop)
- Scrolls and resizes browser windows
Use cases of Selenium Mcp
- Automate web form filling and submission
- Perform web scraping and capture page content as Markdown, HTML, or screenshots
- Execute JavaScript to interact dynamically with webpages
- Upload and download files through browser automation
- Handle browser alerts and dialogs programmatically
FAQ from Selenium Mcp
How does Selenium Mcp differ from other Selenium automation tools?
It exposes Selenium Webdriver capabilities as MCP tools, allowing an AI assistant or MCP client to directly use them without writing raw Selenium code, with built‑in error interpretation for LLMs.
What are the runtime dependencies?
Python 3.10+, FastMCP 3.1.1, Selenium 4.41.0, and Google GenAI. It can communicate via stdio when hosted locally or via HTTP when hosted on a cloud server.
Where does data (cookies, downloads, screenshots) live?
Data is managed within the browser session controlled by the Selenium Webdriver; screenshots and saved files are stored on the local filesystem.
What transports and authentication are supported?
The MCP server uses stdio for local communication and HTTP for cloud deployment. Authentication is not explicitly described; the built‑in client uses a Gemini API key for the AI assistant integration.
What are the current limitations of Selenium Mcp?
It currently only supports one browser (Chrome via Selenium), with future plans to add Firefox, Edge, Safari, and Chrome DevTools/BiDi support.
「ブラウザ自動化」の他のコンテンツ
Fastcrw
usFast, lightweight Firecrawl/Tavily alternative in Rust. Web scraper, crawler & search API with MCP server for AI agents. Drop-in Firecrawl-compatible API (/scrape, /crawl, /search). 2.3x faster than Tavily, 1.5x faster than Firecrawl in 1K-URL benchmarks. 6 MB RAM, single binary.
X Twitter Scraper
Xquik-devTwitter scraper API skill for tweet search, advanced Twitter search, profile tweets, follower export, media download, monitors, webhooks, MCP, and posting automation: send tweets and replies.
Firecrawl Mcp Server
mendableai🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
playwright-server MCP server
blackwhite084Puppeteer MCP Server
merajmehrabiThis MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
コメント