
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
web-developer-mcp
Advanced tools
A Model Context Protocol (MCP) server that provides web development tools for AI assistants. Enables browser automation, DOM inspection, network monitoring, and console analysis through Playwright.
A Model Context Protocol (MCP) server that provides web development tools for coding AI assistants like Claude Code, Cursor, and other AI-powered development environments. This server enables AI assistants to inspect web pages, monitor network requests, extract HTML, analyze console output, and examine DOM elements in real-time through a Playwright-powered browser.
Perfect for debugging web applications, testing UI components, analyzing API behavior, and understanding page behavior during development.
When working with AI coding assistants, you often need to:
This MCP server provides your AI assistant with direct browser access to help with these tasks.
Add this server to your AI assistant's MCP configuration (see Configuration section below for specific setup instructions).
git clone https://github.com/Artmann/web-developer-mcp.git
cd web-developer-mcp
bun install
Start the MCP server:
bun start
The server will start and wait for MCP client connections from your AI assistant.
Add this server to your AI assistant's MCP configuration:
Or manually add to your MCP configuration file:
{
"web-developer-mcp": {
"command": "npx",
"args": ["web-developer-mcp"]
}
}
Add this server using the Claude Code CLI:
claude mcp add -s user web-developer-mcp npx web-developer-mcp
browser-navigateNavigate the browser to a specific URL and start monitoring the page.
Parameters:
url (string): The URL to navigate toExample use case: Navigate to http://localhost:3000 to debug your
development server
browser-reloadReload the current page and refresh console logs.
No parameters required
Use case: Refresh the page after code changes or to clear current state
click-elementClick on an element (button, link, etc.) using a CSS selector.
Parameters:
selector (string): CSS selector for the element to click (e.g.
"button.submit", "#login-btn")Example use cases:
fill-inputFill a form input field with text.
Parameters:
selector (string): CSS selector for the input element (e.g.
"input[name=email]", "#username")value (string): The text value to enter into the fieldExample use cases:
submit-formSubmit a form element.
Parameters:
selector (string): CSS selector for the form element (e.g. "form#login",
"form[name=contact]")Example use cases:
browser-consoleRetrieve all console messages (logs, errors, warnings) from the current page.
No parameters required
Returns: All console output captured since navigation, including:
console.log, console.info)console.warn)console.error)inspect-elementsGet detailed information about DOM elements including styles, position, visibility, and attributes.
Parameters:
selector (string): CSS selector to query elements (e.g. .button,
#header, div[data-test])Returns: JSON with element details including:
Example use cases:
extract-htmlExtract raw HTML markup of elements for testing or analysis (similar to React Testing Library queries).
Parameters:
selector (string): CSS selector to extract HTML from (e.g. .alert,
[role=dialog])Returns: Raw HTML markup of matching elements
Example use cases:
network-requestsList all network requests captured since page load with optional filtering.
Parameters:
filter (string, optional): Filter requests by URL substring (e.g. "api",
"/users")statusRange (string, optional): Filter by HTTP status code range (e.g.
"400-499", "500-599") or single status (e.g. "404")Returns: JSON list of network requests with:
Example use cases:
network-inspectGet detailed information about a specific network request including headers, body, and response data.
Parameters:
id (string, optional): Request ID from network-requests outputurlPattern (string, optional): URL pattern to find the most recent matching
requestReturns: Detailed request/response information including:
Example use cases:
network-clearClear the network request buffer to start fresh monitoring.
No parameters required
Use case: Clear request history to focus on new requests after page changes
Add this to your .cursorrules, CLAUDE.md, or AI assistant configuration:
# Web Developer MCP
You have access to browser automation tools via web-developer-mcp:
**Browser:** `browser-navigate(url)`, `browser-reload()`
**Interactions:** `click-element(selector)`, `fill-input(selector, value)`, `submit-form(selector)`
**Console:** `browser-console(filter?, head?, tail?)` - Get logs/errors/warnings
- Filter by text: `browser-console(filter='[error]')`
- Last N logs: `browser-console(tail=10)`
**DOM:** `inspect-elements(selector)`, `extract-html(selector)`
**Network:** `network-requests(filter?, statusRange?, head?, tail?)`, `network-inspect(id|urlPattern)`, `network-clear()`
- Failed requests: `network-requests(statusRange='400-599')`
- API calls: `network-requests(filter='/api/', tail=5)`
Use for debugging web apps, interacting with pages, analyzing network requests, inspecting console errors, or examining DOM elements.
browser-navigate → http://localhost:3000browser-consolenetwork-requests with filter "api"network-inspect with specific request IDinspect-elements with CSS selectorextract-html with component selectorinspect-elements for styling verificationbrowser-consolenetwork-requestsnetwork-requests with URL filternetwork-inspectnetwork-clearfill-input with field selectors and valuessubmit-form with form selectorbrowser-consolenetwork-requests to verify form submissionFAQs
A Model Context Protocol (MCP) server that provides web development tools for AI assistants. Enables browser automation, DOM inspection, network monitoring, and console analysis through Playwright.
We found that web-developer-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.