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

@cynosure-mcp/computer-controller

v2.0.1

Published

MCP server for desktop automation: launch apps, capture screenshots, control mouse and keyboard

Readme

@cynosure-mcp/computer-controller

MCP server for desktop automation — launch apps, capture screenshots, control mouse and keyboard. Screenshot and input coordinates use the same display geometry, including multi-monitor offsets.

Installation

npx @cynosure-mcp/computer-controller

Or install globally:

npm install -g @cynosure-mcp/computer-controller
computer-controller

Tools

| Tool | Description | | ------------------------ | --------------------------------------------- | | list_applications | Index and search installed applications | | launch_application | Launch an application by name | | get_screenshot | Capture the desktop (multi-monitor support) | | get_cursor_area | 512×512 screenshot centered on the cursor | | move_mouse | Move cursor to a position | | click_mouse | Click at current or specified position | | double_click | Double-click at current or specified position | | drag_mouse | Click-and-drag between positions | | scroll_mouse | Scroll the mouse wheel | | get_mouse_position | Get current cursor location | | type_text | Insert text at cursor | | press_key_combination | Press key combo (e.g., ctrl+c) | | control_media_playback | Control media (play/pause/stop/next/previous) | | control_volume | Control volume (up/down/mute) | | get_screen_size | Get display dimensions | | get_system_details | OS, CPU, memory, and disk info | | wait | Pause for 1–10 seconds |

The server also exposes the MCP resource computer-controller://guide with its computer-use workflow and coordinate rules. Resource inclusion is controlled by the MCP host; read it explicitly if the host does not add it to the model context.

Screenshot coordinates

Call get_screenshot first. Its text result contains the actual image dimensions and the selected display. Coordinates are zero-based pixels in that image. By default, the screenshot captures the monitor under the cursor. Pass the display number returned by the screenshot to mouse tools. If you captured display: -1 for the full desktop, omit display on mouse tools. Screenshot and mouse tools independently compute the same mapping from the current display geometry and WIDTH/HEIGHT limits; no token or global "current display" setting is needed.

Version 2 migration: GEMINI_MODE and sys_prompt_template.txt were removed; use WIDTH/HEIGHT and the guide resource. Without size limits, screenshots use native capture dimensions. Mouse tools accept an optional display number.

Omitting display captures the monitor under the cursor at capture time. display: -1 captures the full desktop. display: 0 selects the primary monitor, display: 1 the next monitor. A failed monitor capture returns an error; it never returns a different monitor or the full desktop as a successful result. Capture backends are checked against their expected pixel dimensions. On macOS, multi-monitor capture currently fails closed until a geometry-aware backend is available.

Configuration

| Variable | Required | Description | | --------------- | -------- | ------------------------------------------------------------------------------------------------------ | | DISPLAY_INDEX | No | Restrict screenshots to a monitor: 0 or unset = no restriction (screenshots default to the cursor monitor); 1 = primary; 2 = second display. | | WIDTH | No | Maximum screenshot width in pixels (1–16384). | | HEIGHT | No | Maximum screenshot height in pixels (1–16384). |

Screenshot scaling

WIDTH and HEIGHT bound the image sent to the model. Set either or both. The image keeps its aspect ratio, is never enlarged or padded, and may be smaller than both limits. With neither set, screenshots stay at native capture size. These variables do not change the operating system's display resolution. The image dimensions reported by get_screenshot are the coordinate bounds.

MCP Config

{
  "mcpServers": {
    "computer-controller": {
      "command": "npx",
      "args": ["@cynosure-mcp/computer-controller"],
      "env": {
        "WIDTH": "1000",
        "HEIGHT": "1000"
      }
    }
  }
}

License

MIT