SonicloudTech/mouse-mcp
Windows MCP server for uMouse USB HID control and agent dictation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
effectConfirmed stays false; a 32-case reference run verifies observable browser outcomes.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.
You need macOS or Linux, support for ordinary mice, effect confirmation from the MCP response alone, or a ready-to-import shared-v2 bundle.
Quick Start & Installation
{
"mcpServers": {
"umouse": {
"command": "node",
"args": ["C:\\path\\to\\umouse-mcp-os-win-x64\\mcp\\dist\\index.js"]
}
}
}Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mouse-mcp ★ | 1.2k | +297 | TypeScript | MIT | Windows MCP server for uMouse USB HID control and agent dictation |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| mcp-for-blender | 37.1k | +1.1k | Python | GPL-3.0 | A local MCP bridge for inspecting and editing live Blender scenes with AI |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/SonicloudTech/mouse-mcp.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mouse-mcp
Does installing MCPB give my MCP client access to the shared-v2 daemon?
node and mcp/dist/index.js. The machine-wide daemon on port 47192 and its C++ native host belong to shared-v2 in source. Inspect the installed tool list before integrating against shared-v2 examples.What hardware and runtime should I provision? Do I need a GPU?
whisper-cpp provider, size CPU and memory for the chosen model and measure transcription on the target workstation.Does the MIT license cover the entire bundle, and is a self-hosted installation local-only?
sinicloud provider streams microphone audio to a cloud service. For a local-only MCPB deployment, keep dictation disabled or use windows-speech.When should I choose software-only automation or the standalone uMouse SDK instead?
mouse-mcp to expose compatible uMouse input to an agent over MCP on Windows. Use mouse-sdk to integrate device events and audio directly into your application, and evaluate its platform and licensing matrix separately.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy