This MCP server enables AI assistants to build, test, and debug Tauri v2 applications by providing comprehensive automation, monitoring, and debugging tools.
Core Capabilities:
Setup & Configuration: Get step-by-step instructions for installing and configuring the MCP Bridge plugin in Tauri projects with guided workflows
UI Automation: Take screenshots, find DOM elements (CSS selectors, XPath, text), click/type/scroll/swipe, execute JavaScript in webview context, get DOM snapshots and computed CSS styles, and wait for conditions
Window Management: List, inspect, resize, and manage multiple windows with detailed state information
IPC & Backend Integration: Execute Tauri commands, emit custom events, monitor real-time IPC traffic between frontend and Rust backend, capture command/event data with filtering, and retrieve app metadata and backend state
Logging & Debugging: Stream console logs (webview JavaScript), Android logcat, iOS simulator logs, and system logs for comprehensive debugging
Mobile Development: List and work with iOS simulators and Android emulators/devices for mobile app development
Session Management: Start/stop automation sessions with multi-app support, connecting to multiple running Tauri apps simultaneously via WebSocket (port 9223)
Guided Workflows: Use slash commands like
/setupand/fix-webview-errorsto streamline common development tasks
Key Features:
Cross-platform support (Linux, Windows, macOS, Android, iOS)
18 specialized tools for Tauri v2 applications
Direct Tauri integration via custom plugin (no external automation drivers)
Rich context provision with screenshots, DOM state, and logs for AI understanding
Provides tools for managing Android emulators, reading logcat logs, and launching Android Virtual Devices (AVDs) for Tauri mobile development.
Provides tools for managing iOS simulators, reading device logs, and launching simulators for Tauri mobile development.
Enables AI assistants to build, test, and debug Tauri v2 applications with UI automation (screenshots, clicks, typing), IPC monitoring, mobile device management (Android emulators and iOS simulators), CLI integration, configuration management, and log streaming capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Tauritake a screenshot of the current app state"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Tauri
Give your AI assistant superpowers for Tauri development
Documentation · Getting Started · Available Tools
A Model Context Protocol (MCP) server that enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug Tauri® 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 |
🔍 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 development)
Tauri CLI:
npm install -g @tauri-apps/cli@nextFor mobile: Xcode (macOS) or Android SDK
1. Configure Your AI Assistant
Use install-mcp to add the server to your AI assistant:
Supported clients: claude-code, cursor, windsurf, vscode, cline, roo-cline, claude, zed, goose, warp, codex
Restart your AI assistant after adding the configuration.
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:
Examine your project to see what's already configured
Show you what changes are needed (Cargo.toml, plugin registration, etc.)
Ask for your permission before making any modifications
That's it! The AI handles all the setup details while keeping you in control. 🎉
If you prefer to set up manually, see the Getting Started guide or the plugin documentation.
💬 Slash Commands (Prompts)
Command | Description |
| Set up or update the MCP bridge plugin in your Tauri project |
| Find and fix JavaScript errors in your webview |
Just type the command in your AI assistant to start a guided workflow.
🧰 Available Tools (18 total)
Tool | Description |
| Get setup/update instructions for the MCP Bridge plugin |
Tool | Description |
| Start/stop/status automation session |
| Find elements by selector |
| Read console, Android, iOS, or system logs |
| Click, scroll, swipe, focus, long-press |
| Capture webview screenshots |
| Type text or send key events |
| Wait for elements, text, or events |
| Get computed CSS styles |
| Execute JavaScript in webview |
| Get structured accessibility tree snapshot |
| List windows, get info, or resize |
Multi-Window Support: All webview tools accept an optional
windowIdparameter to target specific windows. Usemanage_windowwithaction: "list"to discover available windows.
Tool | Description |
| Execute Tauri IPC commands |
| Get app metadata and state |
| Start/stop IPC monitoring |
| Get captured IPC traffic |
| Emit custom events |
Tool | Description |
| List Android devices and iOS simulators |
🏗️ Architecture
Why this approach?
✅ Rich AI context — Screenshots, DOM, and logs help the AI understand your app's state
✅ Cross-platform — Works on Linux, Windows, macOS, Android, and iOS
✅ No external drivers — No Selenium, Playwright, or browser automation needed
✅ Native integration — Direct access to Tauri's IPC and backend
🧑💻 Development
See specs/releasing.md for details.
📚 Documentation
Full Documentation — Guides, API reference, and examples
MCP Server Package — Server implementation details
MCP Bridge Plugin — Tauri plugin documentation
🤝 Contributing
Contributions are welcome! Please:
Follow existing code patterns
Add tests for new features
Update documentation
Ensure
npm testandnpm run standardspass
📄 License
MIT © hypothesi
Trademark Notice
TAURI® is a registered trademark of The Tauri Programme within the Commons Conservancy. https://tauri.app/
This project is not affiliated with, endorsed by, or sponsored by The Tauri Programme within the Commons Conservancy.