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.
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 | Manage iOS simulators & Android emulators |
🛠️ CLI Integration | Run any Tauri command (
,
,
, etc.) |
⚙️ Configuration | Read/write Tauri config files with validation |
📋 Logs | Stream Android logcat, iOS device logs, 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. Add the MCP Bridge Plugin to Your Tauri App
Add to
Register in
Enable Global Tauri in
⚠️ Required: Without
withGlobalTauri, the MCP server cannot interact with your application's webview.
2. Configure Your AI Assistant
Use the Claude Code CLI:
Or manually add to your config (Cmd/Ctrl+Shift+P → "MCP: Edit Config"):
Click to install:
Or manually: Go to Cursor Settings → MCP → New MCP Server:
Click to install:
Or via CLI:
Or manually add to
In the Cascade pane, the "MCPs" icon (it looks like a plug), then click the settings icon in the top right corner.
Or, go to Windsurf Settings → Cascade and under the MCP Servers heading click Open
MCP Marketplace. Then in the Marketplace, click the gear icon to edit the config.
Add:
Follow the Cline MCP configuration guide and use:
That's it! Restart your AI assistant and you're ready to build Tauri apps. 🎉
Note: See the plugin documentation for advanced configuration options.
💬 Slash Commands (Prompts)
The server provides slash commands for guided, multi-step workflows:
Command | Description |
| Find and fix JavaScript errors in your webview. Connects to your app, retrieves console errors, analyzes them, and helps you fix the issues. |
Just type the command in your AI assistant to start a guided debugging session.
🧰 Available Tools
Tool | Description |
| List all open webview windows |
| Capture webview screenshots |
| Start/stop automation session |
| Find elements by selector |
| Click, scroll, swipe, long-press |
| Type text or send key events |
| Wait for elements, text, or events |
| Get computed CSS styles |
| Execute JavaScript in webview |
| Focus on elements |
| Get browser console logs |
| Read Android/iOS/system logs |
Multi-Window Support: All webview tools accept an optional
windowIdparameter to target specific windows. Usetauri_list_windowsto discover available windows.
Tool | Description |
| Execute Tauri IPC commands |
| Get window information |
| Get app metadata and state |
| Start/stop IPC monitoring |
| Get captured IPC events |
| Emit custom events |
Tool | Description |
| List Android devices and iOS simulators |
| Launch Android AVD or iOS Simulator |
Tool | Description |
| Run any Tauri CLI command |
| Read Tauri config files (including platform-specific) |
| Write config files with validation |
| Fetch Tauri documentation |
🏗️ 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