edge-devtools-mcp
v0.1.0
Published
MCP server for Microsoft Edge browser control via Chrome DevTools Protocol
Maintainers
Readme
edge-devtools-mcp
MCP server for controlling Microsoft Edge via Chrome DevTools Protocol (CDP).
Installation
npx edge-devtools-mcpOr install globally:
npm install -g edge-devtools-mcp
edge-devtools-mcpSetup
1. Launch Edge with remote debugging
Windows:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --remote-debugging-port=9222 --user-data-dir="C:\edge-mcp-debug" --no-first-runmacOS:
/Applications/Microsoft\ Edge.app/Contents/MacOS/Microsoft\ Edge --remote-debugging-port=9222 --user-data-dir=/tmp/edge-mcp-debugLinux:
microsoft-edge-stable --remote-debugging-port=9222 --user-data-dir=/tmp/edge-mcp-debugIf Edge is not running, the MCP server will attempt to launch it automatically.
2. Add to Claude Code
claude mcp add -s user edge-devtools -- npx -y edge-devtools-mcp3. Add to Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"edge-devtools": {
"command": "npx",
"args": ["-y", "edge-devtools-mcp"]
}
}
}Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| EDGE_DEBUG_PORT | 9222 | Remote debugging port |
| EDGE_DEBUG_HOST | localhost | Remote debugging host |
| EDGE_PATH | auto-detect | Path to Edge executable |
| EDGE_USER_DATA_DIR | C:\edge-mcp-debug | User data directory when launching Edge |
Tools
| Tool | Description |
|------|-------------|
| list_pages | List all open tabs |
| navigate | Navigate to a URL |
| get_html | Get page or element HTML |
| take_screenshot | Screenshot page or element |
| click | Click by CSS selector or coordinates |
| type_text | Type text with real keyboard simulation |
| evaluate_js | Execute JavaScript expression |
| get_console_logs | Get captured console messages |
| get_network_requests | Get captured network requests |
License
MIT
