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

computer-control

v0.1.2

Published

Computer control MCP server — browser automation via Chrome extension, macOS desktop control via native tools.

Readme

Computer Control

MCP server for browser automation and macOS desktop control. Give your AI agent eyes and hands.

Getting Started

Browser Mode

Install the CLI and the Chrome extension:

npm i -g computer-control

Start the server (native messaging bridge is registered automatically on first run):

computer-control browser serve

Then add the MCP endpoint to your AI client (Claude Code, Cursor, etc.):

{
  "mcpServers": {
    "browser": {
      "url": "http://127.0.0.1:62220/mcp"
    }
  }
}

Mac Mode

Native macOS control — no browser needed. Install deps, run the wizard, and you're set:

brew install cliclick gifsicle
npm i -g computer-control
computer-control mac setup

Grant Accessibility and Screen Recording permissions to your terminal app when prompted.

{
  "mcpServers": {
    "mac": {
      "command": "computer-control",
      "args": ["mac", "serve"]
    }
  }
}

Tools

Browser

| Tool | Description | |------|-------------| | computer | Mouse, keyboard, and screenshots | | read_page | Accessibility tree of page elements | | find | Find elements by natural language | | navigate | Go to URL, back, forward | | form_input | Set form input values | | javascript_tool | Execute JS in page context | | get_page_text | Extract raw text content | | tabs_context | Tab group context | | tabs_create | Open new tab | | resize_window | Resize browser window | | gif_creator | Record browser actions as GIF | | upload_image | Upload image to file input |

Mac

| Tool | Description | |------|-------------| | screenshot | Capture screen or region | | mouse_click | Click at coordinates | | mouse_move | Move cursor | | mouse_scroll | Scroll in direction | | mouse_drag | Drag between points | | type_text | Type text at cursor | | key_press | Press key with modifiers | | run_applescript | Execute AppleScript | | get_active_window | Focused window info | | list_windows | List open windows | | focus_app | Bring app to foreground | | get_accessibility_tree | UI element hierarchy | | ocr_screen | Extract text via OCR | | find | Find elements by natural language | | gif_start / gif_stop / gif_export | Record screen as GIF |

CLI Reference

computer-control browser
  serve          Start MCP server (auto-registers native host)
  status         Check installation
  install        Re-register native host (or use custom extension ID)
  uninstall      Remove native host

computer-control mac
  setup          Setup wizard (deps + permissions)
  status         Check deps & permissions
  serve          Start MCP server

Troubleshooting

Extension not connecting? Run computer-control browser status to check the native host registration. Make sure Chrome is running and the extension is enabled. Restart Chrome if needed.

Permission errors on Mac? Add your terminal app to Accessibility and Screen Recording in System Settings → Privacy & Security. Restart the terminal after.

Port conflict?

lsof -i :62222  # WebSocket port
lsof -i :62220  # HTTP port

Development

git clone https://github.com/mergd/computer-use.git
cd computer-use
bun install
bun run build

# Run from source
bun src/cli.ts browser serve --skip-permissions
bun src/cli.ts mac serve

# Build extension from source
cd extension && ./build.sh

Privacy

See PRIVACY.md.

License

MIT