npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

webmcp-devtools-server

v2.1.0

Published

MCP Bridge Server for WebMCP DevTools — exposes browser WebMCP tools to AI clients like Claude and Cursor. Supports Resources, Prompts, and Site Profiles.

Readme

webmcp-devtools-server

MCP Bridge Server for WebMCP DevTools — exposes browser WebMCP tools to AI clients (Cursor, Claude Desktop, etc.) via the Model Context Protocol.

How It Works

AI Client (Cursor/Claude) ←stdio→ MCP Server ←WebSocket→ Chrome Extension ←→ Browser Page

The server acts as a bridge between AI clients and browser-based WebMCP tools:

  1. Connects to the WebMCP DevTools Chrome extension via WebSocket
  2. Exposes browser tools through MCP meta-tools, Resources, and Prompts
  3. AI clients can discover, execute, and read page content from any browser tab

Setup

With Cursor

Add to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "webmcp-devtools": {
      "command": "npx",
      "args": ["-y", "webmcp-devtools-server@latest"]
    }
  }
}

With Claude Desktop

Add to Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "webmcp-devtools": {
      "command": "npx",
      "args": ["-y", "webmcp-devtools-server@latest"]
    }
  }
}

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | WEBMCP_PORT | 3789 | WebSocket server port for extension connection |

MCP Tools

webmcp_list_tools

Lists all WebMCP tools available in the browser, grouped by tab. Returns tab_id for targeting specific tabs.

webmcp_call_tool

Executes a WebMCP tool by name.

| Parameter | Type | Description | |-----------|------|-------------| | tool_name | string | Name of the tool to execute | | arguments | string | JSON string of arguments |

webmcp_scan_page

Scans a browser page for interactive elements (forms, buttons, links, API calls) and returns discoverable tool definitions.

| Parameter | Type | Description | |-----------|------|-------------| | tab_id | number (optional) | Target tab ID (defaults to active tab) |

webmcp_create_tool

Injects a tool definition into a browser page, making it callable via webmcp_call_tool.

| Parameter | Type | Description | |-----------|------|-------------| | tool_definition | object | Tool definition with name, description, inputSchema, executionType | | tab_id | number (optional) | Target tab ID (defaults to active tab) |

webmcp_save_profile

Saves a set of tool definitions as a reusable site profile for automatic injection.

webmcp_list_profiles

Lists all saved site profiles.

MCP Resources

Dynamic resources for reading page content from any browser tab:

| Resource URI | Description | |-------------|-------------| | webmcp://tab/{tabId}/page | Page metadata (title, URL, meta tags, OpenGraph) | | webmcp://tab/{tabId}/content | Visible text content of the page | | webmcp://tab/{tabId}/tables | All HTML tables extracted as structured data | | webmcp://tab/{tabId}/forms | Form elements with their current values and states | | webmcp://tab/{tabId}/links | All links on the page with text and URLs | | webmcp://tab/{tabId}/selection | Currently selected text in the browser |

MCP Prompts

Contextual prompt templates for AI-assisted page interaction:

| Prompt | Description | |--------|-------------| | page-context | Builds a comprehensive context from page metadata, tools, and content | | operate-page | Guides AI to perform a specific operation using available tools | | extract-data | Guides AI to extract structured data from page content |

Usage

  1. Install the WebMCP DevTools Chrome extension
  2. Open a page with WebMCP tools
  3. Click the Bridge button in the extension's side panel
  4. The AI client can now discover and call browser tools, read page content, and use prompts

License

MIT