MCP Server for Browser Agent Extension - Control Chrome browser via AI
npm install browser-agent-extension-mcpMCP Server for controlling browser through the Browser Agent Extension.
1. Install dependencies and build:
``bash`
cd mcp-server
npm install
npm run build
2. Add to Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json):`json`
{
"mcpServers": {
"browser-agent": {
"command": "node",
"args": ["C:/07.dev/browser-agent-extension/mcp-server/dist/index.js"]
}
}
}
3. Open the browser extension side panel to establish WebSocket connection.
4. Restart Claude Desktop.
- browser_navigate - Navigate to a URLbrowser_click
- - Click on an element or coordinatesbrowser_type
- - Type text into an elementbrowser_scroll
- - Scroll the pagebrowser_screenshot
- - Take a screenshotbrowser_extract
- - Extract content from an elementbrowser_evaluate
- - Execute JavaScriptbrowser_get_page_info
- - Get current page infobrowser_get_tabs
- - List all open tabsbrowser_switch_tab
- - Switch to a specific tabbrowser_press_key
- - Press a keyboard keybrowser_select_option
- - Select dropdown optionbrowser_go_back
- - Navigate backbrowser_go_forward
- - Navigate forwardbrowser_reload` - Reload page
-