Tauri MCP Server

by hypothesi

595 downloads
Not rated
GitHub

About

Build, test, and debug mobile and desktop apps with the Tauri framework faster with automated UI interaction, screenshots, DOM state, and console logs from your app under development.

Details

Author
hypothesi
Downloads
595
Categories
Developer Tools, Other, Automation

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Tauri MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Build, test, and debug mobile and desktop apps with the Tauri framework faster with automated UI interaction, screenshots, DOM state, and console logs from your app under development.

Give your AI assistant superpowers for Tauri development

Documentation·Getting Started·Available Tools

AModel Context Protocol (MCP) serverthat enables AI assistants like Claude, Cursor, and Windsurf to build, test, and debugTauri®v2 applications. Screenshots, DOM state, and console logs from your running app give the AI rich context to understand what's happening—and tools to interact with it.

Disclaimer: This MCP was developed using agentic coding tools. It may contain bugs.

- Node.js20+ and npm
- Rustand Cargo (for
Tauridevelopment)
- Tauri CLI:npm install -g @tauri-apps/cli@next
- For mobile: Xcode (macOS) or Android SDK

Useaixto add the server to your AI assistant:

npx -y @a1st/aix add mcp tauri --command 'npx @hypothesi/tauri-mcp-server' --user

Supported clients:claude-code,cursor,windsurf,vscode,cline,roo-cline,claude,zed,goose,warp,codex

[!TIP]aixautomatically detects your installed AI assistants and configures them.

Restart your AI assistantafter adding the configuration.

If you want to call the tools directly from a terminal instead of from an MCP client:

npm install -g @hypothesi/tauri-mcp-cli tauri-mcp driver-session start --port 9223 tauri-mcp webview-screenshot --file screenshot.png

The CLI uses MCPorter keep-alive support sodriver_sessionstate survives across separate commands.

Ask your AI assistant to help configure your Tauri app:

"Help me set up the Tauri MCP Bridge plugin"
- Examine your projectto see what's already configured
- Show you what changes are needed(Cargo.toml, plugin registration, etc.)
- Ask for your permissionbefore making any modifications

That's it! The AI handles all the setup details while keeping you in control. 🎉

If you prefer to set up manually, see theGetting Started guideor theplugin documentation.

Just type the command in your AI assistant to start a guided workflow.

Multi-Window Support: All webview tools accept an optionalwindowIdparameter to target specific windows. Usemanage_windowwithaction: "list"to discover available windows.

┌─────────────────────────────────────────────────────────────────┐ │ AI Assistant │ │ (Claude, Cursor, Windsurf) │ └─────────────────────────┬───────────────────────────────────────┘ │ MCP Protocol (stdio) ▼ ┌─────────────────────────────────────────────────────────────────┐ │ MCP Server (Node.js) │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │ │ │ Manager │ │ Driver │ │ Monitor │ │ │ │ CLI/Config │ │ UI Automation│ │ Logs/IPC Events │ │ │ └──────────────┘ └──────┬───────┘ └──────────────────────┘ │ └─────────────────────────────┼───────────────────────────────────┘ │ WebSocket (port 9223) ▼ ┌─────────────────────────────────────────────────────────────────┐ │ Tauri Application │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ MCP Bridge Plugin (Rust) │ │ │ │ IPC Commands • Events • Backend State │ │ │ └──────────────────────────────────────────────────────────┘ │ │ ┌──────────────────────────────────────────────────────────┐ │ │ │ Webview (DOM/UI) │ │ │ └──────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘

- ✅Rich AI context— Screenshots, DOM, and logs help the AI understand your app's state
- ✅Cross-platform— Works on Linux, Windows, macOS, Android, and iOS
- ✅No external drivers— No Selenium, Playwright, or browser automation needed
- ✅Native integration— Direct access to Tauri's IPC and backend

# Clone and install git clone https://github.com/hypothesi/mcp-server-tauri.git cd mcp-server-tauri npm install # Build all packages npm run build # Run tests npm test # Development mode npm run dev -w @hypothesi/tauri-mcp-server
mcp-server-tauri/ ├── packages/ │ ├── mcp-server/ # MCP server (TypeScript) │ ├── tauri-plugin-mcp-bridge/ # Tauri plugin (Rust + JS bindings) │ └── test-app/ # Test Tauri application ├── docs/ # VitePress documentation └── specs/ # Architecture specs
# Release plugin (Cargo + npm) npm run release:plugin patch # Release server (npm only) npm run release:server patch

- Full Documentation— Guides, API reference, and examples
-
MCP Server Package— Server implementation details
-
MCP Bridge Plugin— Tauri plugin documentation
- Follow existing code patterns
- Add tests for new features
- Update documentation
- Ensurenpm testandnpm run standardspass

This project is tested with BrowserStack.

TAURI® is a registered trademark of The Tauri Programme within the Commons Conservancy.https://tauri.app/

This project is not affiliated with, endorsed by, or sponsored by The Tauri Programme within the Commons Conservancy.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Drives an Android emulator or a real device over adb: screenshots, UI hierarchy with true device-pixel coordinates, tap and type, app lifecycle, logcat, and Gradle builds and tests.

Interact with Android devices using the Android Debug Bridge (ADB).

Control Android devices via the Android Debug Bridge (ADB).

An agentic toolkit to control, debug, and profile iOS and Android apps.

The deepest Android Debug Bridge MCP server — 147 tools from UI to baseband.

MCP server which expose Android's app runtimes to coding agents.

A plugin-based MCP server for React Native runtime debugging, inspection, and automation. Connects to Metro bundler via Chrome DevTools Protocol — no app code changes needed for most features.

Turn natural language into powerful Perfetto trace analysis. Quickly explain jank, diagnose ANRs, spot CPU hot threads, uncover lock contention, and find memory leaks.

Enables AI assistants like Claude Code to capture logs, execute code, inspect state, and control navigation in your React Native app.

Connects to the React Native application debugger to retrieve console logs from Metro.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.