MCP server that gives AI agents web browsing capabilities via Playwright.
- Navigate - Browse URLs, go back in history
- Screenshot - Capture viewport images
- Scroll - Scroll to position, direction, or text
- Execute JS - Run JavaScript on pages
# Install
npm install -g @tcehjaava/webinteractiontools
# Add to Claude
claude mcp add webinteractiontools "webinteractiontools"
Tool | Description |
---|---|
navigate |
Go to URL with custom timeout/wait conditions |
goBack |
Navigate to previous page |
screenshot |
Capture current viewport |
scrollToPosition |
Scroll to Y coordinate |
scrollDirection |
Scroll up/down/top/bottom |
scrollToText |
Find and scroll to text |
executeJavaScript |
Run JS code on page |
# Setup
npm install
npm run build
# Dev mode
npm run dev
# Add local build to Claude
claude mcp remove webinteractiontools
claude mcp add webinteractiontools node dist/index.js
Server not connecting? Start manually:
webinteractiontools