
phungxuananh/selenium-mcp-server
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
A Model Context Protocol (MCP) server that provides web automation capabilities through Selenium WebDriver.
概要
A Model Context Protocol (MCP) server that provides web automation capabilities through Selenium WebDriver. This server allows AI assistants to interact with web pages by providing tools for navigation, element interaction, taking screenshots, and more. - : Navigate to URLs with timeout control and page readiness checking - : List, open, switch, and close browser tabs by window handle - : Find elements by multiple criteria (text, class, ID, attributes, XPath) and interact with them through clicking and input value setting - : Get single elements, multiple elements with pagination, and direct child nodes with comprehensive filtering options - : Capture named PNG screenshots of the active tab in the default workspace location or an explicit output directory - : Record one fixed tab or one MP4 that follows active-tab switches across selected tabs, optionally with a synthetic URL header - : Retrieve CSS styles and computed style information for any element - : Execute custom JavaScript...
README
以下は原文 README の抜粋です。原文を見る。
Selenium MCP Server
A Model Context Protocol (MCP) server that provides web automation capabilities through Selenium WebDriver. This server allows AI assistants to interact with web pages by providing tools for navigation, element interaction, taking screenshots, and more.
1.1. Quick Start
1.1.1. Using Installed Package (Recommended)
# Install
pip install mcp-server-selenium
# Run
python -m mcp_server_selenium --port 9222 --user_data_dir /tmp/chrome-debug
1.1.2. Using Source Code (Development)
# Clone and setup
git clone https://github.com/PhungXuanAnh/selenium-mcp-server.git
cd selenium-mcp-server
uv sync
# Run
PYTHONPATH=src python -m mcp_server_selenium --port 9222 --user_data_dir /tmp/chrome-debug
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"selenium": {
"command": "python",
"args": [
"-m", "mcp_server_selenium",
"--port", "9222",
"--user_data_dir", "/tmp/chrome-debug-claude"
],
"env": {}
}
}
}