hypothesi/mcp-server-tauri
A local MCP server and Rust bridge for debugging running Tauri v2 apps
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
An MCP client launches the TypeScript server on Node.js and exchanges MCP messages over stdio. The server handles configuration, UI driving, and log or IPC monitoring. To reach the running Tauri v2 app, it connects over WebSocket on port 9223 to an in-process Rust bridge plugin. That bridge gives the tool interface access to the app's Webview and Tauri IPC rather than just a browser tab.
The workspace separates packages/mcp-server, packages/tauri-plugin-mcp-bridge (Rust and JavaScript bindings), and packages/test-app. The separate tauri-mcp CLI provides a terminal entry point and uses MCPorter keep-alive to preserve driver session state across invocations. In either workflow, the plugin is an application dependency, not something the client can attach to an arbitrary Tauri binary.
Key Capabilities & Differentiators
The 19-tool surface covers setup, UI automation, IPC diagnostics, and mobile device discovery. UI tools combine screenshots with structured accessibility-tree snapshots, selector-based lookup, and a visual picker that returns element metadata and a screenshot. A session can drive input, wait for elements, text, or events, and execute JavaScript. Webview tools accept an optional windowId, so a workflow can enumerate windows and then inspect the intended one.
IPC tools capture traffic, query backend state, invoke Tauri commands, and emit events. This lets a debugging session follow a UI action into the application backend instead of inferring the result solely from the rendered page. Logs span the Webview console, Android logcat, iOS, and system sources; device discovery covers Android devices and iOS simulators. Mobile support does not imply that desktop window operations are available on mobile.
Trade-offs & Limitations
General-purpose browser automation is simpler when all you need to validate is a Web frontend. The extra bridge is justified when a bug crosses the Tauri Webview and Rust backend or depends on which application window is active. The corresponding cost is app-side installation, rebuilds, and version coordination. Neither the UI tools nor the presence of a test app makes this a replacement for a regression runner with assertions and reports.
Treat the bridge as a privileged development interface: JavaScript execution and IPC invocation can change app state, while screenshots and logs can expose sensitive data. Keep it out of production builds unless you have explicitly reviewed the exposure, and restrict access to trusted development environments. MIT permits commercial use, but it does not determine where your MCP client processes captured data.
Hardware & Deployment Guide
Install Node.js 20+ and npm for the server or CLI, and use Rust, Cargo, and the Tauri CLI for the app. Register the bridge in the Tauri project, launch the app, and configure your MCP client to run npx @hypothesi/tauri-mcp-server as a stdio process. For terminal use, install @hypothesi/tauri-mcp-cli and run tauri-mcp driver-session start --port 9223 before issuing Webview commands.
Mobile development adds Xcode on macOS or the Android SDK. The local server and bridge have no specified GPU or model-hosting requirement; a mobile simulator and the chosen AI client have separate resource needs. Release v0.13.2 fixed Android and iOS compilation by gating desktop window actions. The Tauri 2.12.0 CLI compatibility build was published on the tauri-2-12-0 npm channel without replacing latest, so check which channel matches your app when selecting package versions.
Tauri v2 teams that can add a development-time plugin and need to diagnose UI failures with screenshots, DOM structure, and IPC data from the running app.
Browser-only checks are sufficient, you cannot modify the target app, or you need a production observability platform or a standalone regression runner.
Quick Start & Installation
npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mcp-server-tauri ★ | 342 | +4 | TypeScript | MIT | A local MCP server and Rust bridge for debugging running Tauri v2 apps |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
| chrome-devtools-mcp | 60.4k | +801 | 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 |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/hypothesi/mcp-server-tauri.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mcp-server-tauri
What has to be installed on each side of the integration?
Does the server need a GPU, and how should I size the development machine?
Can we run it locally for commercial development?
When is it a better fit than direct browser automation?
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