Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Fourth Playwright Server

FreeNot checked

A hybrid Python and Node.js MCP server that integrates Playwright browser automation with specialized tools for navigating and extracting data from the Fourth p

GitHubEmbed

About

A hybrid Python and Node.js MCP server that integrates Playwright browser automation with specialized tools for navigating and extracting data from the Fourth platform. It enables automated login, module navigation, and structured reporting through a Claude.ai Custom Connector.

README

General-purpose web automation MCP server built on FastMCP v3 and @playwright/mcp.

Gives Claude browser automation capabilities over HTTP — navigate websites, fill forms, extract data, and interact with any web application.

Architecture

Claude.ai / Cowork Plugin
    │  Streamable HTTP
    ▼
FastMCP v3 (Python)
    │
    ├── 70+ playwright_* tools (proxied via subprocess)
    ├── 22 web_* orchestration tools
    ├── 1 browser_wait_for wrapper
    └── Skills (MCP resources)

Tools

Web Automation (custom orchestration)

Tool Purpose
web_login Navigate to login page, discover form fields (auto_fill option)
web_check_auth_state Check if user is authenticated
web_navigate_and_wait Navigate + SPA-aware content waiting
web_wait_for_ready Wait for page content after any action
web_discover_navigation Identify menus, tabs, pagination
web_extract_table Extract table data (rows/csv/markdown, DOM mode)
web_extract_page_data Extract targeted page content
web_extract_links Extract links via DOM (structured data)
web_discover_form Identify form fields, types, refs
web_fill_form Batch-fill form fields
web_search Search DuckDuckGo (default), Bing, or Google with filters
web_search_and_extract Search + multi-page content extraction
web_extract_article Clean article text via DOM parsing
web_extract_metadata Page metadata (OG, JSON-LD, meta tags)
web_save_pdf Save page as PDF (currently disabled — errors unless the server enables --caps=pdf)
web_save_session Save browser session state
web_load_session Restore saved session
web_list_sessions List saved sessions
web_execute_js Run JavaScript with error handling
web_extract_structured_data CSS selector-based data extraction
web_performance Page performance metrics (TTFB, FCP, load, weight)
web_accessibility_audit Accessibility audit (alt text, labels, headings, ARIA)

Playwright Primitives (proxied)

All 70+ @playwright/mcp tools are available with a playwright_ prefix: playwright_browser_navigate, playwright_browser_snapshot, playwright_browser_click, playwright_browser_type, playwright_browser_take_screenshot, and more.

Utility

Tool Purpose
browser_wait_for Type-safe wrapper for playwright_browser_wait_for

Deployment

Railway (production)

The server deploys to Railway via Dockerfile. Set these environment variables:

Variable Required Default Description
PORT No Set by Railway HTTP port
HOST No 0.0.0.0 Bind address
OAUTH_CLIENT_ID No OAuth client ID (omit to disable auth)
OAUTH_CLIENT_SECRET No OAuth client secret
OAUTH_AUTHORIZATION_ENDPOINT No Google OIDC Authorization endpoint
OAUTH_TOKEN_ENDPOINT No Google OIDC Token endpoint
BASE_URL No http://127.0.0.1:8000 Server public URL (for OAuth redirects)

Local development

# Install dependencies
uv sync

# Start server
uv run python src/server.py
# → http://localhost:8000/health

Docker

docker build -t playwright-web-mcp .
docker run -p 8000:8000 playwright-web-mcp

Usage

Claude.ai Custom Connector

Add as a Custom Connector in Claude.ai Project settings:

  • URL: https://<your-app>.railway.app/mcp
  • Auth: OAuth 2.1 (if configured)

Cowork Plugin

Reference the MCP endpoint in your plugin's .mcp.json:

{
  "mcpServers": {
    "web": {
      "url": "https://<your-app>.railway.app/mcp"
    }
  }
}

Development

# Run tests
uv run pytest

# Lint
uv run ruff check src/

# Type check
uv run ruff format --check src/

License

Internal use — Fourth Enterprises.

from github.com/Rev4nchist/fourth-playwright-mcp

Installing Fourth Playwright Server

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Rev4nchist/fourth-playwright-mcp

FAQ

Is Fourth Playwright Server MCP free?

Yes, Fourth Playwright Server MCP is free — one-click install via Unyly at no cost.

Does Fourth Playwright Server need an API key?

No, Fourth Playwright Server runs without API keys or environment variables.

Is Fourth Playwright Server hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Fourth Playwright Server in Claude Desktop, Claude Code or Cursor?

Open Fourth Playwright Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Fourth Playwright Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All browse MCPs