PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverstesting-and-qa-toolsmcp-tauri-automation
返回「testing-and-qa-tools」

mcp-tauri-automation

modelscope·@Radek44/mcp-tauri-automation

testing-and-qa-tools0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

MCP Tauri Automation

Automate Tauri desktop apps with AI. An MCP server that lets Claude Code test, debug, and interact with your Tauri applications through natural language.

What is this?

Testing Tauri apps usually means:

  • Manually clicking through UIs for every change
  • Writing complex test scripts for simple interactions
  • Taking screenshots manually to debug visual issues
  • Switching between code editor and running app constantly

With this MCP server:

  • Ask Claude to "click the submit button and check the result"
  • Get instant screenshots of your app state
  • Test UI flows through natural language
  • Automate repetitive testing while you code

Quick Start

1. Install tauri-driver

cargo install tauri-driver

2. Install this MCP server

git clone <repo-url>
cd mcp-tauri-automation
npm install && npm run build

3. Add to your MCP config

<details> <summary><b>Claude Code (Recommended)</b></summary>

Use the Claude Code CLI to register the server:

# Simplest setup - works with any Tauri app
# (you'll specify which app to launch when you ask Claude)
claude mcp add --transport stdio tauri-automation \
  --scope user \
  -- node /absolute/path/to/mcp-tauri-automation/dist/index.js

Replace /absolute/path/to/mcp-tauri-automation with the actual path where you cloned this repo. For example:

  • Linux/macOS: ~/projects/mcp-tauri-automation/dist/index.js
  • Windows: C:/Users/YourName/projects/mcp-tauri-automation/dist/index.js

Optional: Set a default app path

If you mainly work with one Tauri app, you can set it as the default:

claude mcp add --transport stdio tauri-automation \
  --env TAURI_APP_PATH=/path/to/your-app/src-tauri/target/debug/your-app \
  --scope user \
  -- node /absolute/path/to/mcp-tauri-automation/dist/index.js

** Can I test multiple apps?** Yes! The TAURI_APP_PATH is just a convenience default. You can still launch any other Tauri app by specifying its path when you ask Claude (e.g., "Launch my calculator app at ~/projects/calculator-app/target/debug/calculator").

Advanced: Customize defaults

claude mcp add --transport stdio tauri-automation \
  --env TAURI_SCREENSHOT_DIR=./my-screenshots \
  --env TAURI_DEFAULT_TIMEOUT=10000 \
  --scope user \
  -- node /absolute/path/to/mcp-tauri-automation/dist/index.js

All environment variables have sensible defaults and are optional:

  • TAURI_APP_PATH: No default (specify when launching, or set here for convenience)
  • TAURI_SCREENSHOT_DIR: ./screenshots (relative to where you run Claude Code)
  • TAURI_WEBDRIVER_PORT: 4444 (where tauri-driver listens)
  • TAURI_DEFAULT_TIMEOUT: 5000 ms (how long to wait for UI elements)

Managing servers:

# List all configured servers
claude mcp list

# Get details for a specific server
claude mcp get tauri-automation

# Remove a server
claude mcp remove tauri-automation

# Inside Claude Code, check server status
/mcp

Alternative: JSON format

<details> <summary>Click to see JSON configuration format</summary>
claude mcp add-json tauri-automation '{
  "type": "stdio",
  "command": "node",
  "args": ["/absolute/path/to/mcp-tauri-automation/dist/index.js"],
  "env": {
    "TAURI_APP_PATH": "/optional/default/app/path"
  }
}'
</details>

Scope options:

  • --scope user: Available to you across all projects (recommended)
  • --scope local (default): Available only to you in the current project
  • --scope project: Shared with everyone in the project via .mcp.json file
</details> <details> <summary><b>Claude Desktop</b></summary>

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "tauri-automation": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-tauri-automation/dist/index.js"]
    }
  }
}

Optional: Add environment variables

{
  "mcpServers": {
    "tauri-automation": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-tauri-automation/dist/index.js"],
      "env": {
        "TAURI_APP_PATH": "/path/to/your/default/app"
      }
    }
  }
}
</details> <details> <summary><b>Claude Code (Manual Config)</b></summary>

Edit ~/.config/claude-code/mcp_config.json:

{
  "mcpServers": {
    "tauri-automation": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-tauri-automation/dist/index.js"]
    }
  }
}

Optional: Add environment variables

{
  "mcpServers": {
    "tauri-automation": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-tauri-automation/dist/index.js"],
      "env": {
        "TAURI_APP_PATH": "/path/to/your/default/app"
      }
    }
  }
}

Note: Using the claude mcp add command (see "Claude Code (Recommended)" above) is easier and less error-prone than manual editing.

</details> <details> <summary><b>Other MCP Clients</b></summary>

Any MCP client that supports stdio transport can use this server. Pass the environment variables via the client's configuration mechanism.

</details>

4. Start tauri-driver

Before using the MCP server, start tauri-driver in a separate terminal:

# In a separate terminal, keep this running
tauri-driver

Why is tauri-driver separate?

tauri-driver is a standalone WebDriver server that controls Tauri apps. Keeping it separate means:

  • You can restart your MCP server without losing app state
  • Multiple tools can connect to the same driver instance
  • It runs on a known port (4444) that's easy to configure

Future improvement: This MCP server could be enhanced to auto-start tauri-driver if it's not running. Interested in contributing? See Contributing below!

5. Use with Claude

Launch my Tauri app, click the "Start" button, and take a screenshot

Or if you didn't set a default app path:

Launch my calculator app at ~/projects/calculator/target/debug/calculato…

相关 MCP Servers(来自「testing-and-qa-tools」)

GroundNG

暂无描述。

@GroundNG/QA-MCP

QA-MCP自测平台

一个由人工智能驱动的MCP服务器,通过自然语言提示实现测试的记录、执行和发现,从而自动化的网络测试工作流程。

@Ilikepizza2/QA-MCP

a11y无障碍审计与修复MCP服务器

一个MCP(模型上下文协议)服务器,用于使用axe-core对网页进行无障碍审计。在代理循环中使用结果与您喜欢的AI助手(Cline/Cursor/GH Copilot)结合,并让它们为您修复无障碍问题!

@priyankark/a11y-mcp

Android-Ui-MCP

暂无描述。

@infiniV/Android-Ui-MCP

cameroncooke

暂无描述。

@cameroncooke/XcodeBuildMCP

fefergrgrgrg

暂无描述。

@fefergrgrgrg/frontend-review-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/radek44-mcp-tauri-automation/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

cargo install tauri-driver ``` **2. Install this MCP server**

基本信息

分类
testing-and-qa-tools / app-automation
运行方式
No
许可证
MIT License
详情文件
radek44-mcp-tauri-automation.md