
Mcp Server Tauri
io.github.Hushlor由 GitHub 帳號 Hushlor 發布v0.14.3更新於 Oct 24, 2026
A Model Context Protocol server for use with Tauri v2 applications
概覽
讓 AI 助理透過操作 Tauri v2 桌面應用的 webview 介面、IPC、日誌與行動裝置來建置、測試與除錯應用程式。
- 可以做什麼
- 檢視並操作應用介面:尋找元素、點擊、捲動、輸入、等待、讀取計算樣式、截圖、取得 DOM 快照、以視覺化方式選取元素以及管理視窗
- 在 webview 中執行 JavaScript,並檢視或操作原生 Windows 對話框
- 處理 Tauri IPC:執行指令、讀取後端狀態、發出事件,以及啟動或停止 IPC 監控以擷取通訊
- 讀取主控台、Android logcat、iOS 與系統日誌,並列出 Android 裝置與 iOS 模擬器
- 依連接埠或 bundle ID 管理多個執行中應用程式的自動化工作階段,並取得橋接外掛的安裝說明
- 適用情境
- 適合在開發或除錯 Tauri v2 應用程式時使用,讓助理直接重現介面流程、檢查 IPC 呼叫、擷取日誌或確認行動裝置目標,而不必由你手動執行每一步。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行,需要 Node.js。Tauri 應用程式需整合 tauri-plugin-mcp-bridge Rust 外掛(除錯建置),伺服器透過 WebSocket(例如 9223 連接埠)與其通訊。未宣告需要帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Server Tauri,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@hushlor/tauri-mcp-server
A Model Context Protocol (MCP) server that enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug Tauri® v2 applications.
Independent downstream fork: Hushlor maintains this distribution independently of hypothesi/mcp-server-tauri, preserving the upstream MIT license and attribution.
Features
Quick Start
1. Add the MCP Bridge Plugin to Your Tauri App
Note: The npm package
@hushlor/tauri-plugin-mcp-bridgeis optional—only needed if you want to call the plugin from your app's frontend code. The MCP server communicates with the Rust plugin directly via WebSocket.
2. Configure Your AI Assistant
Use aix to add the server to your AI assistant:
Supported clients: claude-code, cursor, windsurf, vscode, cline, roo-cline, claude, zed, goose, warp, codex
Terminal CLI
If you want to call the same tools directly from a shell, install the companion CLI package:
The CLI keeps the underlying MCP server warm in the background so stateful commands such as driver_session work across separate invocations.
Multi-App Support
The MCP server supports connecting to multiple Tauri apps simultaneously. Each app runs on a unique port, and the most recently connected app becomes the "default" app.
Key Features:
- Connect to multiple apps on different ports
- Default app used when no
appIdentifierspecified - Target specific apps using port number or bundle ID
- Stop individual sessions or all sessions at once
Example Usage:
Available Tools (22 total)
Setup & Configuration
UI Automation
IPC & Plugin
Mobile Development
Links
License
MIT © Hushlor. Original upstream copyright and attribution are preserved in the package 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.
來源:packages/mcp-server/README.md,提交 06ff367
工具
0版本歷史
3- v0.14.3最新Oct 6, 2026
- v0.14.2Oct 6, 2026
- v0.14.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分