Mouse MCP logo

Mouse MCP

Control compatible uMouse hardware from AI agents on Windows with USB HID mouse actions and optional voice dictation.

Install Mouse MCP

Run the project’s own setup commands, in order.

Setup steps from the project

mouse-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Add to your MCP client
    node mcp/scripts/install-agents.mjs cursor
    
  3. 3. Install
    npm ci
    

Overview

mouse-mcp connects AI agents to compatible uMouse hardware on Windows x64 for physical mouse control and optional voice dictation. Its tools can move, click, scroll, and drag through USB HID, while status and capability tools report device and SDK information. The shared-v2 implementation coordinates access through a local daemon and supports pluggable speech-recognition providers. Reach for it when an agent must interact with desktop applications using a real hardware mouse; ordinary USB mice are not supported.

Use cases

  • Drive desktop browser interactions with physical mouse events
  • Type dictated speech into the focused Windows application
  • Inspect cursor, key, device, and foreground-window state
  • Coordinate exclusive mouse control across agent tasks

Key features

  • USB HID movement, clicking, scrolling, and dragging
  • Multi-monitor physical-pixel coordinates
  • Exclusive mouse-and-keyboard task control
  • Device, SDK, capability, and input-status tools
  • Pluggable speech-recognition providers
  • Windows x64 support with compatible uMouse hardware

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 33d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1.1kStargazers on the source repository.
Last commit29d agoMost recent push to the default branch.

How Mouse MCP works

What mouse-mcp does

mouse-mcp gives AI agents access to a compatible uMouse device on Windows x64. The hardware performs mouse movement, clicking, scrolling, and dragging through USB HID, rather than emulating those actions through an ordinary software-only mouse interface. Actions use desktop physical-pixel coordinates and can support multi-monitor layouts, including negative coordinates, in the shared-v2 source implementation.

The server also supports voice dictation. Audio is captured, segmented with voice activity detection, sent to a configurable speech-recognition provider, and returned as preview and final transcript events. Recognized text can be typed into the window that currently has focus, as shown by the project’s agent-client and WeChat demonstrations.

A compatible uMouse device and firmware are mandatory. An ordinary USB mouse cannot substitute for the required hardware.

How it works

The shared-v2 source path uses this sequence: an MCP host calls the server, a shared daemon listens on port 47192, a C++ native host communicates with the uMouse through USB HID, and Windows receives the resulting input. One daemon is used per machine and can be shared by supported hosts; it is reclaimed when idle.

Mouse and keyboard access is serialized through a control task. An agent begins a task, performs its actions, and ends the task. Only one task can drive the mouse and keyboard at a time, while dead connections are cleaned up automatically. Read-only input sensors remain separate: they can report cursor position, live key state, and foreground-window identity without intercepting input.

The downloadable legacy ZIP and the shared-v2 source implementation are different paths. The ZIP contains the legacy server and production dependencies, while the shared-v2 native host and acceptance lab belong to the source implementation rather than that ZIP package.

Setup and configuration

Use Windows x64 with Node.js 22 x64 installed separately. Connect and power on compatible uMouse hardware before testing. The packaged ZIP includes Node dependencies, native SDK DLLs, the voice preview UI, and Visual C++ runtime libraries; it does not include Node.js and does not require a separate npm install or compilation for normal use.

For a packaged installation, extract the ZIP to a permanent location and run install-agents.cmd, or execute the installer script for Claude Desktop or Cursor. The installer adds or updates an umouse configuration entry and can copy the bundled trial ASR configuration into the local data directory. A manual mcpServers entry can instead launch mcp/dist/index.js with Node, but manual setup does not configure speech recognition.

The MCPB package can be imported into a client that supports MCPB Node extensions. Its data defaults to ~/.umouse-mcp-mcpb, and speech recognition defaults to disabled; windows-speech is an optional local provider. The source project uses UMSDK_ASR_PROVIDER to select an ASR provider, with sinicloud documented as a provider for the legacy ZIP and source on Windows.

Tools and capabilities

The documented shared-v2 tools include:

  • umouse_mouse_action for movement, clicks, scrolling, and dragging, with standard or high precision.
  • umouse_control for beginning and ending exclusive mouse-and-keyboard tasks.
  • umouse_input_status for cursor, key-state, and foreground-window information.
  • umouse_status for SDK and server health checks.
  • umouse_get_capabilities for reported device capabilities.
  • umouse_list_devices for enumerating available devices.

Voice dictation uses an independent lane and does not preempt mouse control. ASR providers implement lifecycle operations for starting input, receiving PCM audio, finishing or cancelling input, and emitting preview, final-segment, warning, and terminal events.

Limitations and notes

The server is Windows x64-only and depends on compatible uMouse hardware and firmware. A reported sdkVersion confirms SDK access but does not prove that physical hardware control works, so visible results should be checked after actions. The MIT license covers the server code; native SDK binaries have separate terms.

Source-development commands include npm ci, npm run build, and npm test, but they do not create a complete shared-v2 native bundle. The packaged ZIP also does not contain the shared-v2 native host or acceptance lab.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mouse MCP

mouse-mcp is an MCP server that connects AI agents to compatible uMouse hardware on Windows through USB HID, with tools for mouse actions, control-task ownership, status, capabilities, device listing, input sensors, and optional voice dictation. It requires Windows x64, Node.js 22 x64, and compatible uMouse firmware.

Install Node.js 22 x64, connect compatible uMouse hardware, extract the Windows ZIP, and run its agent installer. Choose Claude Desktop or Cursor with the supplied command, then restart or reload the client. You can also import the MCPB package into an MCPB-compatible client.

Yes, mouse-mcp includes a Cursor installation command. Run `node mcp/scripts/install-agents.mjs cursor` from the extracted Windows package, then reload the Cursor window. The installer adds or updates the `umouse` entry in the client configuration.

No, mouse-mcp requires a compatible uMouse device and firmware. Its mouse actions use the uMouse hardware over USB HID, so a standard USB mouse is not a supported replacement.

Configure a speech-recognition provider separately when using manual setup. The MCPB package defaults speech recognition to disabled and offers `windows-speech` as an optional local provider; the `UMSDK_ASR_PROVIDER` setting selects a provider such as `sinicloud`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMouse MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mouse-mcp?style=directory)](https://allmcps.com/mcp/mouse-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mouse-mcp"><img src="https://allmcps.com/api/badge/mouse-mcp?style=directory" alt="Mouse MCP on AllMCPs" /></a>