← Back to directory
M

MCP Server Tauri

Community
Give your AI assistant superpowers for Tauri development
GitHub source repository ↗
★ 294 Stars Category · Dev Tools Popular Source revision 157e6480ef08
54FMRS · D
Reliability
7/20
Security and permissions
8/20
Maintenance
13/20
Documentation
14/20
Setup experience
12/20

This server provides comprehensive MCP integration for Tauri v2 development, with rich UI automation tools, IPC monitoring, and log reading. It suits Tauri developers needing AI-assisted debugging and testing. However, since the project declares potential bugs, use with caution.

Read the FMRS scoring method →

A Model Context Protocol (MCP) server and plugin for Tauri v2 development. It enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debug Tauri v2 applications by providing screenshots, DOM state, console logs, and tools to interact with the app.

Tools

get_setup_instructions
Get setup/update instructions for the MCP Bridge plugin.
driver_session
Start/stop/status automation session.
webview_find_element
Find elements by selector.
read_logs
Read console, Android, iOS, or system logs.
webview_interact
Click, scroll, swipe, focus, long-press.
webview_screenshot
Capture webview screenshots.
webview_keyboard
Type text or send key events.
webview_wait_for
Wait for elements, text, or events.
webview_get_styles
Get computed CSS styles.
webview_execute_js
Execute JavaScript in webview.
webview_dom_snapshot
Get structured accessibility tree snapshot.
webview_select_element
Visual element picker — user clicks an element, returns metadata + screenshot.
webview_get_pointed_element
Get metadata for element user Alt+Shift+Clicked.
manage_window
List windows, get info, or resize.
ipc_execute_command
Execute Tauri IPC commands.
ipc_get_backend_state
Get app metadata and state.
ipc_monitor
Start/stop IPC monitoring.
ipc_get_captured
Get captured IPC traffic.
ipc_emit_event
Emit custom events.
list_devices
List Android devices and iOS simulators.

Setup

  1. Ensure Node.js 20+, npm, Rust, Cargo, and Tauri CLI (npm install -g @tauri-apps/cli@next) are installed.
  2. Use npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user to add the server to your AI assistant (supports Claude Code, Cursor, Windsurf, etc.).
  3. Restart your AI assistant.
  4. Ask the AI to set up the MCP Bridge plugin in your Tauri app (or manually configure).
claude_desktop_config.json
{
  "mcpServers": {
    "tauri": {
      "command": "npx",
      "args": [
        "@hypothesi/tauri-mcp-server"
      ]
    }
  }
}

Fit and risk

Best for

  • Developers using Tauri v2
  • Those wanting AI assistance in building, testing, and debugging Tauri apps
  • Teams needing UI automation testing in Tauri applications

Not for

  • Non-Tauri v2 projects
  • Scenarios requiring headless browser automation (like Selenium or Playwright)
  • General web automation unrelated to Tauri development

Required permissions

  • Requires access to running Tauri app (via WebSocket port 9223)
  • May need system command execution permissions (e.g., launching simulators)
  • Requires write access to project files for plugin configuration

Risks and side effects

  • Tools may contain bugs (project states developed with agentic coding tools)
  • Executing arbitrary IPC commands could cause unexpected behavior or data modification
  • Automation features may affect app state, use with caution
  • External dependencies (like Xcode, Android SDK) may need additional setup

Troubleshooting

  1. Ensure Tauri app has MCP Bridge plugin enabled and running.
  2. Check WebSocket port 9223 is accessible and not blocked by firewall.
  3. Verify Node.js version >=20 and Tauri CLI is properly installed.
  4. Restart AI assistant to load new MCP configuration.
  5. See documentation: https://hypothesi.github.io/mcp-server-tauri

Use cases

Perform UI automation on Tauri apps, such as screenshots, clicks, and typing.
Monitor and inspect Tauri IPC calls for debugging.
Access and analyze logs from the app (console, Android, iOS).
List available mobile simulators/devices for development testing.

Supported clients

ClaudeFull support
CursorFull support
WindsurfFull support
VS CodeFull support
ClineFull support
Roo ClineFull support
ZedFull support
GooseFull support
WarpFull support
CodexFull support