Skip to content

Repository files navigation

webviewmcp

webviewmcp is an MCP bridge for real browsers. It ships a browser extension plus a local companion binary so agents can inspect pages, interact with UI elements, and debug web apps over HTTP.

Features

  • MCP HTTP endpoint for browser automation/debugging
  • Project-based startup config via webdev.toml
  • Auto launch browser and open project tabs on start
  • Isolated browser profiles per project
  • Page structure inspection (DOM snapshot/query)
  • Element interaction (click, type, keypress, scroll)
  • Screenshot capture
  • Chromium and Firefox extension builds

Install

curl -fsSL https://github.com/naqerl/webdevmcp/releases/latest/download/install.sh | bash

Installer output includes local extension payload paths for manual browser installation.

Workflow

  1. Go to your project directory:
cd /path/to/project
  1. Run tool:
webdev
  1. If webdev.toml is missing, companion prompts for:
  • Browser (chromium / firefox / webkit)
  • Links to open (array)
  • Project profile name
  • Headless mode
  1. Companion writes webdev.toml, launches browser with isolated project profile, opens configured tabs, and starts MCP server.

If you run browsers manually, install extension manually from installer output paths.

MCP endpoint:

  • http://127.0.0.1:8787/mcp

Example webdev.toml:

browser = "chromium"
project = "my-app"
headless = false
links = ["http://localhost:3000", "http://localhost:5173"]

Development notes are in AGENTS.md.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages