Tauri MCP Server
Lists Android devices and streams Android logcat logs for debugging Tauri mobile applications.
Lists iOS simulators and streams iOS logs for debugging Tauri mobile applications.
Provides tools for building, testing, and debugging Tauri v2 applications, including UI automation (screenshots, clicks, typing, scrolling, element finding), IPC monitoring and execution, native dialog inspection, log streaming (console, Android, iOS, system), and mobile device listing.
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., "@Tauri MCP Servertake a screenshot of the webview and find the login button"
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, 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.
Independent downstream fork: This distribution is maintained by Hushlor and is released independently of the original hypothesi/mcp-server-tauri project. It preserves the upstream MIT license and attribution while allowing downstream features and releases without upstream approval.
Related MCP server: Mobile Device MCP
🚀 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 aix to add the server to your AI assistant:
npx -y @a1st/aix add mcp tauri --command 'npx @hushlor/tauri-mcp-server' --userSupported clients: claude-code, cursor, windsurf, vscode, cline, roo-cline, claude, zed, goose, warp, codex
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:
npm install -g @hushlor/tauri-mcp-cli
tauri-mcp driver-session start --port 9223
tauri-mcp webview-screenshot --file screenshot.pngThe 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:
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 |
| Visually select an element in your app — returns metadata and screenshot |
Just type the command in your AI assistant to start a guided workflow.
🧰 Available Tools (22 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 |
| Inspect app-owned native Windows dialog chains and navigation controls |
| Invoke, set single/multiple paths, or select native Windows dialog controls |
| 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 |
| Visual element picker — user clicks an element, returns metadata + screenshot |
| Get metadata for element user Alt+Shift+Clicked |
| 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.
Native Windows dialogs:
native_dialog_*tools require an interactive desktop and expose only same-process dialogs whose owner chain leads to the targeted Tauri window. They support single/multi-file Open, Save, folder selection, nested confirmations, and advertised navigation controls, but not toast notifications or other applications.
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
┌─────────────────────────────────────────────────────────────────┐
│ AI Assistant │
│ (Claude, Cursor, Windsurf) │
└─────────────────────────┬───────────────────────────────────────┘
│ MCP Protocol (stdio)
▼
┌─────────────────────────────────────────────────────────────────┐
│ MCP Server (Node.js) │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │
│ │ Manager │ │ Driver │ │ Monitor │ │
│ │ CLI/Config │ │ UI Automation│ │ Logs/IPC Events │ │
│ └──────────────┘ └──────┬───────┘ └──────────────────────┘ │
└─────────────────────────────┼───────────────────────────────────┘
│ WebSocket (port 9223)
▼
┌─────────────────────────────────────────────────────────────────┐
│ Tauri Application │
│ ┌──────────────────────────────────────────────────────────┐ │
│ │ MCP Bridge Plugin (Rust) │ │
│ │ IPC Commands • Events • Backend State │ │
│ └──────────────────────────────────────────────────────────┘ │
│ ┌──────────────────────────────────────────────────────────┐ │
│ │ Webview (DOM/UI) │ │
│ └──────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────┘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
# Clone and install
git clone https://github.com/Hushlor/mcp-server-tauri.git
cd mcp-server-tauri
npm install
# Build all packages
npm run build
# Run tests
npm test
# Development mode
npm run dev -w @hushlor/tauri-mcp-servermcp-server-tauri/
├── packages/
│ ├── mcp-server/ # MCP server (TypeScript)
│ ├── cli/ # Published CLI wrapper
│ ├── tauri-plugin-mcp-bridge/ # Tauri plugin (Rust + JS bindings)
│ └── test-app/ # Test Tauri application
├── docs/ # VitePress documentation
└── specs/ # Architecture specs# Validate the current coordinated release locally (no publish/tag)
node scripts/release-package.js 0.14.0 --dry-runPublishing packages or creating and pushing tags requires explicit authorization. See specs/releasing.md for the bootstrap and coordinated release procedure.
📚 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
Other Notes
This project is tested with BrowserStack.
📄 License
MIT © Hushlor. Original upstream copyright and attribution are preserved in LICENSE; see hypothesi/mcp-server-tauri for provenance.
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAn MCP server that allows AI agents to interact with and debug Tauri applications through screenshots, DOM access, input simulation, and more.Last updated800104MIT
- Alicense-qualityAmaintenanceAn MCP server that lets AI agents control iOS and Android devices (tap, scroll, type, take screenshots, read UI trees, and run code). Works with multiple devices at the same time.Last updated54238MIT
- AlicenseAqualityBmaintenanceA minimal, secure MCP server for AI-assisted mobile development, enabling build, install, interact, and inspect Android/iOS apps.Last updated335617Apache 2.0
- Alicense-qualityDmaintenanceComprehensive MCP server for iOS Simulator automation, enabling AI agents to control simulators via tap, swipe, type, accessibility inspection, app debugging, and device management.Last updated511MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hushlor/mcp-server-tauri'
If you have feedback or need assistance with the MCP directory API, please join our Discord server