MCP Server Tauri

v0.9.0Browser Automationstable

Enables AI assistants to build, test, and debug Tauri v2 applications with UI automation, IPC monitoring, mobile device management, and real-time access to screenshots, DOM state, and console logs.

automationcligemini-cli-extensionmcptauri
Share:
210
Stars
0
Downloads
0
Weekly
0/5

What is MCP Server Tauri?

MCP Server Tauri is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to build, test, and debug tauri v2 applications with ui automation, ipc monitoring, mobile device management, and real-time access to screenshots, dom state, and console logs.

Enables AI assistants to build, test, and debug Tauri v2 applications with UI automation, IPC monitoring, mobile device management, and real-time access to screenshots, DOM state, and console logs.

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to build, test, and debug Tauri v2 app

Use Cases

Build and test Tauri v2 apps
Automate mobile and desktop testing
Monitor IPC and UI interactions
hypothesi

Maintainer

LicenseMIT License
Languagetypescript
Versionv0.9.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @hypothesi/tauri-mcp-server

Manual Installation

npx -y @hypothesi/tauri-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MCP Server Tauri

MCP Server Tauri enables AI assistants to build, test, and debug Tauri v2 desktop and mobile applications by providing programmatic control over the application's UI, IPC layer, and device state. It exposes 21 tools covering WebView automation (finding elements, clicking, taking screenshots, injecting JavaScript), IPC command execution and monitoring, window management, log reading, and mobile device listing. The server integrates a Tauri plugin into your application that communicates over a WebSocket on port 9223, giving the AI assistant real-time visibility into DOM state, console output, and backend state — significantly accelerating the Tauri development feedback loop.

Prerequisites

  • Node.js 20+ and npm installed
  • Rust and Cargo installed (required for Tauri app development)
  • Tauri CLI v2 installed: npm install -g @tauri-apps/cli@next
  • An MCP-compatible client: Claude Desktop, Cursor, Windsurf, VS Code, or Zed
  • A Tauri v2 application project to test with
1

Install the MCP server using install-mcp

The recommended installation method uses install-mcp to automatically configure the server for your chosen AI client.

npx -y install-mcp @hypothesi/tauri-mcp-server --client claude-code
2

Add the Tauri MCP plugin to your Tauri app

The MCP server communicates with your running Tauri app through a plugin that must be added to your application. Follow the /setup prompt in your AI client once the MCP server is configured.

3

Start a driver session in your Tauri app

Before running automation, start a driver session to establish the WebSocket connection between the MCP server and your Tauri application on port 9223.

npx @hypothesi/tauri-mcp-cli tauri-mcp driver-session start --port 9223
4

Configure your MCP client manually (alternative)

If you prefer manual configuration, add this block to your claude_desktop_config.json.

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

Run your Tauri app and begin testing

Launch your Tauri v2 application normally, then use the AI client to interact with it through the MCP tools. Start with webview_screenshot to get a visual snapshot of the current UI state.

MCP Server Tauri Examples

Client configuration

Add this to claude_desktop_config.json to connect the Tauri MCP server. Supports claude-code, cursor, windsurf, vscode, cline, zed, warp, and codex clients.

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

Prompts to try

These prompts demonstrate UI automation, IPC monitoring, and debugging capabilities the server provides for Tauri v2 apps.

- "Take a screenshot of my running Tauri app"
- "Find the submit button in the WebView and click it"
- "Execute the 'get_config' IPC command and show me the result"
- "Monitor IPC traffic for the next 30 seconds and summarize what commands are being called"
- "Get the current DOM snapshot and identify any accessibility issues"
- "List connected mobile devices available for testing"

Troubleshooting MCP Server Tauri

WebSocket connection to port 9223 fails

Ensure you have started a driver session first using tauri-mcp driver-session start --port 9223, and that your Tauri app is running with the MCP plugin installed. The default port 9223 must not be occupied by another process.

webview_find_element returns no results

Use webview_dom_snapshot first to see the current DOM structure and confirm the element exists and is visible. Elements inside shadow DOM or iframes may require different selectors. The /select slash command provides interactive visual element selection.

IPC commands return errors or not found

Verify the Tauri plugin is registered in your app's Tauri configuration and the command is defined with the #[tauri::command] macro in Rust. Use ipc_get_backend_state to check which commands are currently registered and available.

Frequently Asked Questions about MCP Server Tauri

What is MCP Server Tauri?

MCP Server Tauri is a Model Context Protocol (MCP) server that enables ai assistants to build, test, and debug tauri v2 applications with ui automation, ipc monitoring, mobile device management, and real-time access to screenshots, dom state, and console logs. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MCP Server Tauri?

Install via npm with the command: npx -y @hypothesi/tauri-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with MCP Server Tauri?

MCP Server Tauri works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MCP Server Tauri free to use?

Yes, MCP Server Tauri is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MCP Server Tauri?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides