MCP Server Tauri
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.
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
Maintainer
Works with
Installation
NPM
npx -y @hypothesi/tauri-mcp-serverManual Installation
npx -y @hypothesi/tauri-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-codeAdd 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.
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 9223Configure 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"]
}
}
}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.
MCP Server Tauri Alternatives — Similar Browser Automation Servers
Looking for alternatives to MCP Server Tauri? Here are other popular browser automation servers you can use with Claude, Cursor, and VS Code.
Chrome DevTools MCP
★ 40.6kAI-powered Chrome automation server with natural language element detection. Control Chrome browser through MCP protocol for testing, debugging, and performance analysis. Features 91% accuracy in element location, works with free AI models, and suppo
UI TARS Desktop
★ 34.9k📇 🏠 - Browser automation capabilities using Puppeteer, both support local and remote browser connection.
Playwright
★ 32.8kA production-ready browser automation server that enables AI assistants to interact with web pages using tools for navigation, element interaction, and data extraction. It features a built-in Inspector UI and robust crash recovery for reliable automa
Page Agent
★ 18.0kJavaScript in-page GUI agent. Control web interfaces with natural language.
Chrome
★ 11.7kAn extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation,
LAMDA
★ 7.8kThe most powerful Android RPA agent framework, next generation mobile automation.
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.
Set Up MCP Server Tauri in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.