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

@agentproto/plugin-local-browser

v0.1.0

Published

@agentproto/plugin-local-browser — bridge a real local Chrome profile (cookies, logins, extensions) into the agentproto daemon as an MCP server. Picks one of the user's existing Chrome profiles, clones it into `~/.agentproto/chrome-profile/`, installs `ch

Readme

@agentproto/plugin-local-browser

Bridge a real local Chrome profile (cookies, signed-in sessions, extensions) into the agentproto daemon as a proxied MCP server. After setup, every host connected over the daemon's tunnel sees the 29 chrome-devtools-mcp browser tools (navigate_page, click, fill, take_screenshot, evaluate_script, …) alongside the daemon's built-in workspace tools.

Status: alpha.

How it works

  1. Reads ~/Library/Application Support/Google/Chrome/Local State and presents your existing Chrome profiles (Default, Profile 1, …) with display name + signed-in email.
  2. Clones the profile you pick into ~/.agentproto/chrome-profile/. The clone inherits cookies, login state, and extensions; caches and lock files are skipped so the copy is ~5–10× smaller than the source. Lives at its own user-data-dir so it can run alongside your daily Chrome without lock conflicts.
  3. Installs chrome-devtools-mcp into ~/.agentproto/chrome-mcp/ (plugin-owned npm prefix). Resolved-by-absolute-path so the daemon's MCP proxy can spawn it without going through any npx shim — important because the daemon itself is typically launched via npm exec @agentproto/cli@latest, and nested npm-exec calls misinterpret <pkg>@<version> specs.
  4. Writes an entry into ~/.agentproto/imported-mcps.json pointing at the installed bin with --userDataDir set to the clone and --chromeArg=--profile-directory=<name> set to your chosen profile.
  5. Restart the daemon (~/.agentproto/start-daemon-prod.sh) — its MCP proxy picks up the new import and surfaces the browser tools through /mcp to every tunnel-connected host.

Install + setup

npx -y -p @agentproto/plugin-local-browser agentproto-browser setup

The picker is interactive. To script it:

npx -y -p @agentproto/plugin-local-browser agentproto-browser setup \
  --profile "Profile 1" --yes

Re-running setup re-clones and replaces the registered entry — the imported-mcps row stays at a single, stable id.

Status / remove

agentproto-browser status     # show the registered entry + clone dir
agentproto-browser remove     # unregister (leaves the clone on disk)

Claude Code skill (optional)

The package ships a Claude Code skill at skill/local-browser/SKILL.md that teaches agents when to drive the browser, which of the 29 tools to reach for, and the safety rails to apply. Drop it into your project or user skills dir:

PKG=$(npm root -g)/@agentproto/plugin-local-browser
cp -r "$PKG/skill/local-browser" .claude/skills/local-browser
# or, for cross-project use:
cp -r "$PKG/skill/local-browser" ~/.claude/skills/local-browser

After that, /local-browser (or any conversation that triggers the description) loads the guidance into context.

Security

Chrome's remote debugging protocol has no authentication — anything that can reach it can read every cookie, send mail as you, post as you. Mitigations baked into this plugin:

  • chrome-devtools-mcp is spawned as a stdio child of the daemon. There's no listening port on the host; the only way in is through the daemon's /mcp endpoint, which is gated by the daemon's own bearer token + tunnel JWT.
  • The clone lives at its own user-data-dir, so a compromised automation profile can't reach into your daily Chrome's session state once the clone is taken.

You should still treat the cloned profile as a sensitive credential — it carries every cookie that was live when you ran setup.

License

MIT.