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

webagent-mcp

v1.1.0

Published

MCP server for browser automation - give AI agents the power to browse the web

Readme

WebMCP

MCP Server for browser automation via Chrome extension

WebMCP enables AI agents (Claude, Cursor, etc.) to control your browser through the Model Context Protocol.

Quick Start

1. Install the MCP Server

npm install -g webagent-mcp

Or run directly:

npx webagent-mcp

2. Install Chrome Extension

Load the extension in Chrome:

  1. Go to chrome://extensions
  2. Enable "Developer mode"
  3. Click "Load unpacked"
  4. Select the webagent-extension folder

3. Configure Your AI Client

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "webagent": {
      "command": "npx",
      "args": ["webagent-mcp"]
    }
  }
}

Cursor

Add to MCP settings in Cursor preferences.


Available Tools

| Tool | Description | |------|-------------| | web_navigate | Navigate to a URL | | web_read_page | Read page content, forms, buttons | | web_click | Click elements | | web_type | Type text into inputs | | web_select | Select dropdown options | | web_scroll | Scroll page up/down | | web_press_key | Press keyboard keys | | web_analyze_form | Analyze form structure | | web_fill_form | Fill form intelligently | | web_list_tabs | List open browser tabs | | web_create_tab | Open new tab | | web_close_tab | Close a tab | | web_screenshot | Capture visible area | | web_wait | Wait for specified time |


Configuration

Environment variables:

| Variable | Default | Description | |----------|---------|-------------| | WEBMCP_WS_PORT | 8080 | WebSocket port for extension | | WEBMCP_SSE_PORT | 3000 | SSE port for HTTP mode | | WEBMCP_TOOL_TIMEOUT | 60000 | Tool execution timeout (ms) | | WEBMCP_RETRY_ATTEMPTS | 3 | Retry attempts on failure | | WEBMCP_RATE_LIMIT | 60 | Max actions per minute | | WEBAGENT_MOCK | false | Enable mock mode |


Usage Examples

Navigate and Read

User: Go to example.com and tell me what you see

AI uses:
1. web_navigate { url: "https://example.com" }
2. web_read_page {}

Fill a Form

User: Fill the contact form with my info

AI uses:
1. web_read_page {} → sees form structure
2. web_click { selector: "input[name='email']" }
3. web_type { selector: "input[name='email']", text: "[email protected]" }
4. web_click { selector: "button[type='submit']" }

Development

# Clone repo
git clone https://github.com/user/webmcp.git

# Install dependencies
cd webagent-mcp
npm install

# Run in development
npm run dev

# Run tests
npm test

License

MIT