# MCP Server Tauri

> MCP Server Tauri is an open-source MCP server for developer tools. MCP server letting AI assistants build, test and debug Tauri v2 desktop apps. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, Android, iOS, vscode
- **Repository:** https://github.com/hypothesi/mcp-server-tauri/tree/HEAD/packages/mcp-server
- **MCP Registry name:** io.github.hypothesi/mcp-server-tauri
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README describes this as an MCP server that AI assistants such as Claude, Cursor and Windsurf can use to drive Tauri v2 applications. Once a small MCP Bridge plugin is added to a Tauri app's Rust code in debug builds, the server connects over WebSocket and exposes tools for taking screenshots, clicking and typing into the webview, reading computed styles, running JavaScript, and inspecting DOM snapshots.

Beyond UI automation, it captures Tauri IPC traffic, can execute commands and emit events, and reads console, Android logcat, iOS and system logs. It can also list Android emulators and iOS simulators. Several apps can run on different ports at once, with one treated as the default target.

The package is aimed at developers building Tauri apps who want an AI agent to exercise and debug their running application. A companion terminal CLI is also available for calling the same tools from a shell.

## Features

- **Webview UI automation:** Takes screenshots, clicks, types, scrolls and finds elements inside the running Tauri webview.
- **IPC traffic monitoring:** Captures Tauri IPC calls and lets the assistant inspect them and execute commands or emit events.
- **Multi-app sessions:** Connects to several Tauri apps on different ports and targets them by port or bundle ID.
- **Unified log streaming:** Reads console, Android logcat, iOS and system logs from one set of tools.
- **Mobile device listing:** Lists connected Android devices and iOS simulators.
- **Visual element picker:** Lets a user click an element in the app and returns its metadata and a screenshot to the assistant.

## Good for

- Letting an AI assistant reproduce and debug a UI bug in a running Tauri app
- Automated end-to-end checks of a Tauri v2 webview from an agent
- Inspecting IPC calls between a Tauri frontend and Rust backend during development
- Collecting logs from Android or iOS builds of a Tauri app while testing

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-server-tauri -- npx -y @hypothesi/tauri-mcp-server
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server-tauri": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hypothesi/tauri-mcp-server"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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 CSS selector, XPath, text, or ref ID
- `read_logs`: Read console, Android, iOS, or system logs
- `webview_interact`: Click, scroll, swipe, focus, long-press
- `webview_screenshot`: Capture webview screenshots (JPEG default)
- `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 DOM snapshot (accessibility or structure)
- `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

## FAQ

### Which Tauri version does it support?

The README states it is for Tauri v2 applications.

### How does the server connect to my app?

The README says the MCP server communicates with the Rust plugin directly via WebSocket, and the plugin is added to the app's Rust code under debug assertions.

### Is the frontend npm package required?

No. The README says the npm plugin package is optional and only needed to call the plugin from frontend code.

### How do I install it in my AI client?

The README suggests using the aix tool with npx to add the server to clients such as Claude Code, Cursor, Windsurf and VS Code.

### Is MCP Server Tauri free?

Yes. MCP Server Tauri is open source, so you can use and self-host it for free.

### How do I add MCP Server Tauri to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-tauri -- npx -y @hypothesi/tauri-mcp-server

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mcp-server-tauri-2
