@tcehjaava/websight
v0.1.2
Published
Web browsing capabilities for AI agents via MCP
Maintainers
Readme
🦉 WebSight
WebSight is a Model Context Protocol (MCP) server that provides web browsing capabilities to AI agents. Built on Playwright, it enables automated web interactions including navigation, clicking, scrolling, taking screenshots, and extracting content.
Available Tools
- Navigation: Navigate to URLs and go back in browser history
- Screenshots: Capture screenshots of the current viewport
- Scrolling: Scroll to specific positions, directions, or text content
- Clicking: Click on elements by text, position, or CSS selector
- Hovering: Hover over elements by text, position, or CSS selector
- Element Discovery: Get clickable elements in the viewport
- Content Extraction: Extract cleaned HTML content from specific elements
Installation
Global Installation
npm install -g @tcehjaava/websightAdd to Claude Code
After installing globally, add it to Claude Code as an MCP server:
claude mcp add websight "websight"Local Development
Setup
# Install dependencies
npm install
# Build the project
npm run buildDevelopment Scripts
# Development mode with hot reload
npm run dev
# Build the project
npm run build
# Run linting
npm run lint
# Format code
npm run format
# Run all checks (lint, format, build)
npm run checkAdd to Claude Code (Development)
# Remove if already exists
claude mcp remove websight
# Add the server
claude mcp add websight node dist/index.jsRemove from Claude Code
claude mcp remove websight