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

winjavadriver-mcp

v1.0.4

Published

MCP server for Windows desktop automation via WinJavaDriver

Readme

winjavadriver-mcp

MCP server for AI-driven Windows desktop automation via WinJavaDriver.

Enables AI agents (Claude, GPT, etc.) to automate Windows desktop applications through the Model Context Protocol using token-efficient smart tools.

Installation

npm install -g winjavadriver-mcp

Or install from source:

git clone https://github.com/glaciousm/winjavadriver.git
cd winjavadriver/mcp
npm install
npm run build

Prerequisites

  • Windows 10/11
  • Node.js 18+
  • WinJavaDriver server — auto-downloaded on first use, or download manually

Configuration

Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "winjavadriver": {
      "command": "winjavadriver-mcp"
    }
  }
}

Or if running from source:

{
  "mcpServers": {
    "winjavadriver": {
      "command": "node",
      "args": ["<path-to-repo>/mcp/dist/index.js"],
      "env": {
        "WINJAVADRIVER_PORT": "9515"
      }
    }
  }
}

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | WINJAVADRIVER_PORT | 9515 | Port for WinJavaDriver server |

Smart Tools (AI-Optimized)

These tools compose multiple WebDriver calls into single, token-efficient operations:

| Tool | Description | |------|-------------| | win_observe | Screenshot + element summary in one call — primary "look at the screen" tool | | win_explore | Concise element summary with positions @(x,y) and no-id warnings | | win_interact | Find + act in one call (click, type, clear, clear_and_type, right_click, double_click, read) | | win_batch | Execute multiple find-and-act steps in sequence (fill a form in one call) | | win_read_all | Bulk read text/attributes from multiple elements | | win_wait_for | Server-side polling (element_visible, element_gone, text_equals, etc.) — zero token cost during wait | | win_diff | Show what changed since last explore (new, removed, changed elements) | | win_hover | Hover over element using W3C Actions API | | win_form_fields | Discover form fields (Edit, ComboBox, CheckBox) with current values | | win_menu | Navigate menu path by clicking items in sequence (e.g., File > Save As) | | win_select_option | Select option from ComboBox/ListBox — expands, finds, clicks | | win_grid_edit | Batch-edit multiple MSFlexGrid cells in one call |

Recommended AI Agent Workflow

  1. win_observe — see the screen (screenshot + element summary)
  2. win_interact or win_batch — perform actions
  3. win_diff or win_observe — verify results
  4. win_wait_for — when timing matters (dialogs, loading)

Standard Tools

| Tool | Description | |------|-------------| | win_launch_app | Launch app with optional verbose: true for debugging | | win_attach_app | Attach to running app by window handle | | win_quit | Close session and application | | win_find_element | Find single element (name, accessibility id, class name, tag name, xpath) | | win_find_elements | Find multiple elements with optional includeInfo: true | | win_click | Click element (supports x/y offset) | | win_type | Type text into element | | win_clear | Clear element value | | win_send_keys | Send keyboard keys with repeat syntax (DOWN*5) | | win_get_text | Get element text | | win_get_attribute | Get element attribute | | win_element_info | Get element info (text, rect, className, automationId, name, enabled, displayed) | | win_screenshot | Screenshot of window, element, or entire screen (fullscreen: true) | | win_page_source | Get UI tree as XML | | win_window_handle | Get current window handle | | win_list_windows | List window handles for current process | | win_list_all_windows | List ALL visible windows (titles, handles, PIDs) | | win_switch_window | Switch to different window | | win_set_window | Maximize, minimize, or fullscreen | | win_close_window | Close current window | | win_clipboard | Read/write system clipboard | | win_get_logs | Get server verbose logs | | win_set_verbose | Enable/disable verbose logging | | win_clear_logs | Clear log buffer | | win_status | Check if server is running |

Selenium Grid Support

For remote desktop automation via Selenium Grid 4:

| Tool | Description | |------|-------------| | win_grid_connect | Connect to Grid Hub (auto-discovers nodes) | | win_grid_status | Show Hub URL, connected nodes, and sessions | | win_grid_launch_app | Launch app on a remote Grid node |

License

MIT