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

@agmod/runbrowser-mcp

v0.0.2

Published

MCP server for RunBrowser — control your running Chrome browser via Playwright

Readme

@agmod/runbrowser-mcp

Standalone MCP (Model Context Protocol) server for RunBrowser — control your running Chrome browser via Playwright with your logins, extensions, and cookies already there.

Setup

Prerequisites

  1. Install the RunBrowser Extension from Chrome Web Store
  2. Click the extension icon on a tab → turns green when connected

MCP Client Configuration

Add to your MCP client settings (e.g., Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "runbrowser": {
      "command": "npx",
      "args": ["-y", "@agmod/runbrowser-mcp@latest"]
    }
  }
}

MCP Tools

The server exposes the following tools:

| Tool | Description | |------|-------------| | execute | Run Playwright code snippets with {page, state, context} in scope | | reset | Recreate CDP connection and reset browser/page/context | | snapshot | Take accessibility snapshot of the current page (fast, text-based) | | screenshot | Take screenshot with Vimium-style accessibility labels overlaid |

MCP Resources

| Resource | Description | |----------|-------------| | debugger-api | Debugger API documentation | | editor-api | Live editor API documentation | | styles-api | CSS styles inspection API documentation |

Environment Variables

RUNBROWSER_AUTO_ENABLE

Auto-create a tab when Playwright connects (no manual extension click needed).

{
  "mcpServers": {
    "runbrowser": {
      "command": "npx",
      "args": ["-y", "@agmod/runbrowser-mcp@latest"],
      "env": {
        "RUNBROWSER_AUTO_ENABLE": "1"
      }
    }
  }
}

Remote Agents (Devcontainers, VMs, SSH)

Run agents in isolated environments while controlling Chrome on your host.

On host (where Chrome runs):

npx -y runbrowser serve --token <secret>

In container/VM (where agent runs):

{
  "mcpServers": {
    "runbrowser": {
      "command": "npx",
      "args": ["-y", "@agmod/runbrowser-mcp@latest", "--host", "host.docker.internal", "--token", "<secret>"]
    }
  }
}

Or with environment variables:

{
  "mcpServers": {
    "runbrowser": {
      "command": "npx",
      "args": ["-y", "@agmod/runbrowser-mcp@latest"],
      "env": {
        "RUNBROWSER_HOST": "host.docker.internal",
        "RUNBROWSER_TOKEN": "<secret>"
      }
    }
  }
}

Use host.docker.internal for devcontainers, or your host's IP for VMs/SSH.

Programmatic Usage

import { startMcp } from '@agmod/runbrowser-mcp'

// Start MCP server (connects to stdio transport)
await startMcp()

// With remote relay server
await startMcp({
  host: 'host.docker.internal',
  token: 'your-secret-token',
})

License

MIT