Web automation and testing server using SHAFT Engine (Selenium-based)
Connect SHAFT MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Web automation and testing server using SHAFT Engine (Selenium-based). The shaft mcp mcp server is what makes that connection.
SHAFT MCP is a Model Context Protocol (MCP) server that enables Claude Desktop to perform web automation tasks using the SHAFT Engine (a Selenium-based test automation framework). This gives Claude powerful browser automation capabilities including:
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
driver_initialize — Launch browser (Chrome/Firefox/Safari/Edge)driver_quit — Close browserbrowser_navigate — Navigate to URLbrowser_refresh — Refresh pagebrowser_maximize_window — Maximize browser windowbrowser_set_window_size — Set custom window sizebrowser_fullscreen_window — Set fullscreen modeelement_click — Click elements using locators (ID, CSS, XPath, etc.)element_click_ai — Click elements using AI (natural language)element_click_js — JavaScript-based clickingelement_double_click — Double-click elementselement_hover — Hover over elementsConfiguration is passed through the environment: GITHUB_PERSONAL_ACCESS_TOKEN, REMOTE_DRIVER_ADDRESS. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the browser automation options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. SHAFT MCP's toolset — driver_initialize, driver_quit, browser_navigate and 11 more — is a fair guide to whether it matches your workflow. It is maintained by ShaftHQ; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| driver_initialize | Launch browser (Chrome/Firefox/Safari/Edge) |
| driver_quit | Close browser |
| browser_navigate | Navigate to URL |
| browser_refresh | Refresh page |
| browser_maximize_window | Maximize browser window |
| browser_set_window_size | Set custom window size |
| browser_fullscreen_window | Set fullscreen mode |
| element_click | Click elements using locators (ID, CSS, XPath, etc.) |
| element_click_ai | Click elements using AI (natural language) |
| element_click_js | JavaScript-based clicking |
| element_double_click | Double-click elements |
| element_hover | Hover over elements |
| element_type | Type text into elements |
| element_type_ai | Type using AI element detection |
**For macOS and Windows:**
```json
{
"mcpServers": {
"shaft-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "REMOTE_DRIVER_ADDRESS=http://host.docker.internal:4444/wd/hub",
"ghcr.io/shafthq/shaft-mcp:latest"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| GITHUB_PERSONAL_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| REMOTE_DRIVER_ADDRESS | Configuration value read at startup. | Optional |
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.