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

- **GitHub URL**: https://github.com/hypothesi/mcp-server-tauri
- **Official Docs / Website**: https://hypothesi.github.io/mcp-server-tauri/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (90/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.13.3 (2026-12-03) — https://github.com/hypothesi/mcp-server-tauri/releases
- **Review Snapshot**: 2026-12-03 (Note: v0.13.3 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 342 ★ total (+1 24h / +4 7d) · 46 forks
- **Topics**: `automation`, `cli`, `gemini-cli-extension`, `mcp`, `tauri`, `tauri-v2`
- **When to Use**: Best for: 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. Skip if: Browser-only checks are sufficient, you cannot modify the target app, or you need a production observability platform or a standalone regression runner.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Application bridge: A TypeScript MCP server on Node.js connects over WebSocket to a Rust plugin inside the running Tauri v2 app.
- UI inspection: Screenshots, structured accessibility snapshots, and a visual picker expose both rendered state and element metadata.
- Window targeting: Webview tools accept an optional windowId; manage_window lists windows, returns details, or resizes them where supported.
- IPC diagnostics: Capture IPC traffic, inspect backend state, and invoke commands or emit events to exercise application behavior.
- Terminal workflow: tauri-mcp uses MCPorter keep-alive so driver sessions persist across separate CLI calls.
- Mobile coverage: Device discovery and platform logs support mobile debugging; v0.13.2 gates desktop window actions to fix Android and iOS compilation.
```

## Quick Start / Clone
```bash
npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user
```
