# Repository Briefing: SonicloudTech/mouse-mcp
> Source: https://repoforai.com/repo/SonicloudTech/mouse-mcp (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/SonicloudTech/mouse-mcp
- **Official Docs / Website**: https://sinicloud.com/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: B+ (69/100 · Maintenance 26/35 · Adoption 3/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.1 (2026-10-23) — https://github.com/SonicloudTech/mouse-mcp/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, Self-Hosted
- **Momentum**: 1,163 ★ total (+0 24h / +297 7d) · 2 forks
- **Topics**: `ai-agents`, `computer-use`, `desktop-automation`, `hardware`, `hid`, `mcp`, `mcp-server`, `model-context-protocol`, `mouse-control`, `sonicloud`, `speech-to-text`, `typescript`
- **When to Use**: Best for: Windows x64 teams with compatible uMouse hardware that need MCP-controlled physical mouse input and optional dictation. Choose a published package for legacy stdio; plan a separate native build and acceptance run if shared-v2 task arbitration or precision is a requirement. Skip if: You need macOS or Linux, support for ordinary mice, effect confirmation from the MCP response alone, or a ready-to-import shared-v2 bundle.

## Overview
```text
### Architecture & Core Mechanics
There are two distinct execution paths. The published ZIP and MCPB use the legacy TypeScript stdio runtime; the ZIP registers `mcp/dist/index.js` as the server entry point. The manifest lists `@modelcontextprotocol/sdk`, `zod`, `koffi`, `gifenc`, and `pngjs`, and the distribution includes native SDK DLLs alongside the Node dependencies.

In the shared-v2 source implementation, an MCP host sends requests to a machine-wide daemon on port 47192. A C++ native host drives compatible uMouse hardware over USB HID `0xF0/0xF1`, and the device feeds the Windows input pipeline. Multiple MCP hosts share one daemon; a begin/action/end control session gives one task exclusive input control, with automatic cleanup on disconnect and daemon reclamation when idle. Dictation is a separate path: microphone capture and voice activity detection feed an ASR provider, which emits previews and final segments without taking over mouse control.

### Key Capabilities & Differentiators
Shared-v2 `umouse_mouse_action` moves, clicks, scrolls, and drags in physical desktop pixels, including negative coordinates across monitors. `umouse_input_status` reads cursor position, live key state, and foreground window identity without intercepting input. The positioning controller seeds an 11-step gain curve from Windows pointer settings and adjusts it as it moves. Standard precision targets a residual of at most 4 px; high precision targets 1 px and can fall back to best effort. On the reference rig, standard positioning had a median of 356 ms and two frames; high precision measured a maximum residual of 1 px and a mean of 0.67 px. These are reference measurements, not cross-device guarantees.

The source ASR interface accepts `begin`, `writePcm`, `finishInput`, and `cancel` calls and emits previews, final segments, warnings, and a terminal event. Providers include Sonicloud streaming, local Windows Speech, offline CPU transcription via `whisper-cpp`, a custom HTTP WAV-to-JSON endpoint, and a disabled mode. The MCPB release exposes only disabled mode and Windows Speech.

### Trade-offs & Limitations
Compared with software-only desktop automation, the hardware path is useful when the evaluation specifically needs uMouse-generated Windows input. It does not make application effects observable through MCP: shared-v2 keeps `effectConfirmed` false, and a transport receipt or SDK version does not prove a click landed. The browser lab's reference run passed 32 of 32 cases by measuring page effects such as click counts, scroll position, drags, and target hits. Shared-v2 rejects button actions when the input desktop is unavailable, including lock screen and UAC secure-desktop cases.

The price of the hardware path is a Windows x64 and device-firmware dependency. The standalone uMouse SDK is the better fit for applications that need direct device events and audio rather than an agent tool surface; its other platform packages do not extend MCP server support. The local MCP process also does not imply local transcription: Sonicloud streams audio to its service, while Windows Speech and source `whisper-cpp` offer offline paths with recognizer or model setup. The MIT license applies to server code, not automatically to the native SDK binaries.

### Hardware & Deployment Guide
Use Windows x64, separately installed Node.js 22 x64, and a compatible powered uMouse device and firmware. The v0.1.0 ZIP bundles production dependencies, native DLLs, a voice preview UI, and VC runtime libraries; no compilation or `npm install` is needed. Keep it at a stable path. The installer can register ZCode, Claude Desktop, or Cursor and seed trial ASR configuration if none exists. Manual stdio registration does not set up ASR. Replace the ZIP's trial credentials for production.

The v0.1.1 MCPB is for clients that support MCPB Node extensions. It adds packaging and MCP Registry publication, not a runtime upgrade. It has no bundled cloud credentials and defaults dictation to disabled. Neither release contains the shared-v2 native host or acceptance lab. `npm ci`, `npm run build`, and `npm test` cover dependency installation, the TypeScript build, and default tests, but do not produce a complete shared-v2 bundle. After installation, check `umouse_status`, `umouse_get_capabilities`, and `umouse_list_devices`, then confirm a visible action in a test window.
```

## Key Capabilities
```text
- Input path: shared-v2 sends hardware actions through a C++ host and USB HID 0xF0/0xF1 into Windows input.
- Session arbitration: one daemon per machine on port 47192 serializes task control and cleans up dead connections.
- Positioning: physical-pixel coordinates include negative monitor offsets; high precision targets a residual of 1 px or less.
- Verification: `effectConfirmed` stays false; a 32-case reference run verifies observable browser outcomes.
- Dictation: a separate voice activity detection and ASR pipeline supports local, cloud, and custom providers in source; MCPB limits the choice to disabled or Windows Speech.
- Release boundary: v0.1.1 adds MCPB and Registry packaging but retains the legacy v0.1.0 stdio runtime.
```

## Quick Start / Clone
```bash
{
  "mcpServers": {
    "umouse": {
      "command": "node",
      "args": ["C:\\path\\to\\umouse-mcp-os-win-x64\\mcp\\dist\\index.js"]
    }
  }
}
```
