
# MCP Server Tauri
**Give your AI assistant superpowers for Tauri development**
[](https://www.npmjs.com/package/@hypothesi/tauri-mcp-server)
[](https://crates.io/crates/tauri-plugin-mcp-bridge)
[](LICENSE)
[](https://v2.tauri.app)
[Documentation](https://hypothesi.github.io/mcp-server-tauri) · [Getting Started](#quick-start) · [Available Tools](#available-tools)
---
A **Model Context Protocol (MCP) server** that enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug [Tauri®](https://tauri.app) v2 applications. Screenshots, DOM state, and console logs from your running app give the AI rich context to understand what's happening—and tools to interact with it.
## ✨ Features
| Category | Capabilities |
|----------|-------------|
| 🎯 **UI Automation** | Screenshots, clicks, typing, scrolling, element finding, visual element picker |
| 🔍 **IPC Monitoring** | Capture and inspect Tauri IPC calls in real-time |
| 📱 **Mobile Dev** | List iOS simulators & Android emulators |
| 📋 **Logs** | Stream console, Android logcat, iOS, and system logs |
---
> _Disclaimer: This MCP was developed using agentic coding tools. It may contain bugs._
## 🚀 Quick Start
### Prerequisites
- **Node.js** 20+ and npm
- **Rust** and Cargo (for [Tauri](https://tauri.app) development)
- **Tauri CLI**: `npm install -g @tauri-apps/cli@next`
- For mobile: Xcode (macOS) or Android SDK
### 1. Configure Your AI Assistant
Use [aix](https://aix.a1st.dev/cli/add/#aix-add-mcp) to add the server to your AI assistant:
```bash
npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user
```
Supported clients: `claude-code`, `cursor`, `windsurf`, `vscode`, `cline`, `roo-cline`, `claude`, `zed`, `goose`, `warp`, `codex`
> [!TIP]
> `aix` automatically detects your installed AI assistants and configures them.
**Restart your AI assistant** after adding the configuration.
### CLI Usage
If you want to call the tools directly from a terminal instead of from an MCP client:
```bash
npm install -g @hypothesi/tauri-mcp-cli
tauri-mcp driver-session start --port 9223
tauri-mcp webview-screenshot --file screenshot.png
```
The CLI uses MCPorter keep-alive support so `driver_session` state survives across separate commands.
### 2. Set Up the MCP Bridge Plugin
Ask your AI assistant to help configure your Tauri app:
> "Help me set up the Tauri MCP Bridge plugin"
Your AI will:
1. **Examine your project** to see what's already configured
2. **Show you what changes are needed** (Cargo.toml, plugin registration, etc.)
3. **Ask for your permission** before making any modifications
That's it! The AI handles all the setup details while keeping you in control. 🎉