MCP.so
ログイン

Tauri MCP Server

@hypothesi

Tauri MCP Server について

Build, test, debug, and interact with desktop and mobile applications with the Tauri framework.

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

公開者

hypothesi

投稿者

Matt

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "tauri": {
      "command": "npx",
      "args": [
        "-y",
        "@hypothesi/tauri-mcp-server"
      ]
    }
  }
}

ツール

24

[Tauri Desktop/Mobile Apps Only] Run Tauri CLI commands (dev, build, init, etc.). Use ONLY for projects with a src-tauri/ directory and tauri.conf.json. Do NOT use for regular web apps, Electron apps, or browser-based projects. Check for tauri.conf.json before using this tool.

[Tauri Desktop/Mobile Apps Only] Read tauri.conf.json or platform-specific configs. Use ONLY for Tauri v2 projects (look for src-tauri/ directory). For regular web apps or Electron, use standard file reading tools instead.

[Tauri Desktop/Mobile Apps Only] Modify tauri.conf.json with validation. Use ONLY for Tauri v2 projects. Validates JSON structure before writing. For other frameworks, use standard file editing tools.

[Tauri Desktop/Mobile Apps Only] Fetch Tauri v2 documentation and API reference. Use when working on Tauri projects and need framework-specific guidance. Not useful for Electron, React Native, or web-only projects.

[Tauri Mobile Apps Only] List Android emulators/devices and iOS simulators. Use for Tauri mobile development (tauri android dev, tauri ios dev). Not needed for desktop-only Tauri apps or web projects.

[Tauri Mobile Apps Only] Launch Android AVD or iOS Simulator for Tauri mobile testing. Use when developing Tauri apps for mobile platforms. Not applicable for desktop-only apps or web projects.

[Tauri Apps Only] Start/stop automation session to connect to a RUNNING Tauri app. REQUIRED before using other tauri_webview_* or tauri_plugin_* tools. Connects via WebSocket to the MCP Bridge plugin in the Tauri app. For browser automation, use Chrome DevTools MCP instead. For Electron apps, this tool will NOT work.

[Tauri Apps Only] Find DOM elements in a running Tauri app's webview. Requires active tauri_driver_session. For browser pages or documentation sites, use Chrome DevTools MCP instead.

[Tauri Apps Only] Get JavaScript console logs from a running Tauri app. Requires active tauri_driver_session. Use for debugging Tauri webview issues. For browser console logs, use Chrome DevTools MCP instead.

[Tauri Mobile Apps] Read Android logcat or iOS device logs for Tauri mobile apps. Also reads system logs on desktop. Use for debugging native/platform-level issues in Tauri apps.

[Tauri Apps Only] Click, scroll, swipe, or perform gestures in a Tauri app webview. Requires active tauri_driver_session. For browser interaction, use Chrome DevTools MCP instead.

[Tauri Apps Only] Screenshot a running Tauri app's webview. Requires active tauri_driver_session. Captures only visible viewport. For browser screenshots, use Chrome DevTools MCP instead. For Electron apps, this will NOT work.

[Tauri Apps Only] Type text or send keyboard events in a Tauri app. Requires active tauri_driver_session. For browser keyboard input, use Chrome DevTools MCP instead.

[Tauri Apps Only] Wait for elements, text, or IPC events in a Tauri app. Requires active tauri_driver_session. For browser waits, use Chrome DevTools MCP instead.

[Tauri Apps Only] Get computed CSS styles from elements in a Tauri app. Requires active tauri_driver_session. For browser style inspection, use Chrome DevTools MCP instead.

[Tauri Apps Only] Execute JavaScript in a Tauri app's webview context. Requires active tauri_driver_session. Has access to window.__TAURI__. For browser JS execution, use Chrome DevTools MCP instead.

[Tauri Apps Only] Focus a DOM element in a Tauri app's webview. Requires active tauri_driver_session. For browser focus, use Chrome DevTools MCP instead.

[Tauri Apps Only] Execute Tauri IPC commands (invoke Rust backend functions). Requires active tauri_driver_session. This is Tauri-specific IPC, not browser APIs. For Electron IPC or browser APIs, use appropriate tools for those frameworks.

[Tauri Apps Only] Get Tauri window information (size, position, state). Requires active tauri_driver_session. For browser window info, use Chrome DevTools MCP instead.

[Tauri Apps Only] Monitor Tauri IPC calls between frontend and Rust backend. Requires active tauri_driver_session. Captures invoke() calls and responses. This is Tauri-specific; for browser network monitoring, use Chrome DevTools MCP.

[Tauri Apps Only] Get captured Tauri IPC events (requires ipc_monitor started). Shows Tauri command invocations with arguments and responses. For browser network requests, use Chrome DevTools MCP instead.

[Tauri Apps Only] Emit a Tauri event to test event handlers. Requires active tauri_driver_session. Events are Tauri-specific (not DOM events). For browser DOM events, use Chrome DevTools MCP instead.

[Tauri Apps Only] Get Tauri backend state: app metadata, Tauri version, environment. Requires active tauri_driver_session. Use to verify you're connected to a Tauri app and get app info.

[Tauri Apps Only] List all Tauri webview windows (labels, titles, URLs, state). Requires active tauri_driver_session. Use to discover windows before targeting them. For browser tabs/windows, use Chrome DevTools MCP instead.

概要

What is Tauri MCP Server?

A Model Context Protocol (MCP) server that gives AI assistants (Claude, Cursor, Windsurf) the ability to build, test, and debug Tauri v2 applications. It captures screenshots, DOM state, and console logs from the running app to provide rich context, and offers tools to interact with the app directly.

How to use Tauri MCP Server?

Install the npm package (@hypothesi/tauri-mcp-server) or the Rust crate (tauri-plugin-mcp-bridge) and configure the server with your AI assistant. Refer to the project’s documentation and Getting Started guide for detailed setup instructions.

Key features of Tauri MCP Server

  • UI automation: screenshots, clicks, typing, scrolling, element finding
  • IPC monitoring: capture and inspect Tauri IPC calls in real time
  • Mobile device management: iOS simulators and Android emulators
  • CLI integration: run any Tauri command (init, dev, build, etc.)
  • Configuration: read and write Tauri config files with validation
  • Log streaming: Android logcat, iOS device logs, system logs

Use cases of Tauri MCP Server

  • AI-assisted debugging of Tauri webview errors with guided slash commands
  • Automated UI testing and interaction within an AI chat interface
  • Real-time inspection of IPC calls during development
  • Managing mobile simulator/emulator lifecycles from a conversational assistant
  • Streamlining Tauri configuration file editing with validation

FAQ from Tauri MCP Server

コメント

「開発者ツール」の他のコンテンツ