
hypothesi/mcp-server-tauri 是从 https://github.com/hypothesi/mcp-server-tauri. 导入的 MCP 服务器候选。
概览
hypothesi/mcp-server-tauri 是从 https://github.com/hypothesi/mcp-server-tauri. 导入的 MCP 服务器候选。
概述(AI 翻译)
赋予你的AI助手超能力以促进Tauri开发
文档 ·入门指南 ·可用工具
一个模型上下文协议(MCP)服务器,使像Claude、Cursor和Windsurf这样的AI助手能够构建、测试和调试Tauri® v2应用。来自你运行应用的截图、DOM状态和控制台日志为AI提供了丰富的上下文,帮助他们理解发生了什么——并提供了与之交互的工具。
✨ 特色
| 类别 | 能力 |
|---|---|
| 🎯 UI自动化截图、点击、打字、滚动、元素查找、可视化元素选择器 | |
| 🔍 IPC监控 | 实时捕获并检查Tauri IPC通话 |
| 📱 移动开发 | 列表 iOS 模拟器和 Android 模拟器 |
| 📋 日志 | 直播控制台、Android logcat、iOS 和系统日志 |
Disclaimer:该MCP是使用代理编码工具开发的。它可能包含bugs.
🚀 快速启动
先决条件
- Node.js 20+和NPM
- **锈迹与货物(用于Tauri开发)
- Tauri CLI:
npm install -g @tauri-apps/cli@next - 移动端:Xcode(macOS)或Android SDK
1.配置你的AI助手
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
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.
🚀 Quick Start
Prerequisites
- Node.js 20+ and npm
- Rust and Cargo (for Tauri development)
- Tauri CLI:
npm install -g @tauri-apps/cli@next - For 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 @hypothesi/tauri-mcp-server' --user
Supported clients: claude-code, cursor, windsurf, vscode, cline, roo-cline, claude, zed, goose, warp, codex
[!TIP]
aixautomatically 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 @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:
- Examine your project to see what’s already configured
安装
npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user