/ 目錄 / 演練場 / UI-TARS Desktop
● 官方 bytedance ⚡ 即開即用

UI-TARS Desktop

作者 bytedance · bytedance/UI-TARS-desktop

ByteDance's open multimodal agent stack — vision-grounded computer-use, callable from Claude via MCP.

UI-TARS Desktop is ByteDance's open multimodal agent platform. It uses screen understanding for desktop control and exposes itself as MCP. Claude can delegate vision-grounded GUI tasks where text-only tools fall short.

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "ui-tars-desktop-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "ghcr.io/bytedance/ui-tars-desktop:latest"
      ]
    }
  }
}

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "ui-tars-desktop-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "ghcr.io/bytedance/ui-tars-desktop:latest"
      ]
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "ui-tars-desktop-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "ghcr.io/bytedance/ui-tars-desktop:latest"
      ]
    }
  }
}

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "ui-tars-desktop-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "ghcr.io/bytedance/ui-tars-desktop:latest"
      ]
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "ui-tars-desktop-mcp",
      "command": "docker",
      "args": [
        "run",
        "-p",
        "8080:8080",
        "ghcr.io/bytedance/ui-tars-desktop:latest"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "ui-tars-desktop-mcp": {
      "command": {
        "path": "docker",
        "args": [
          "run",
          "-p",
          "8080:8080",
          "ghcr.io/bytedance/ui-tars-desktop:latest"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add ui-tars-desktop-mcp -- docker run -p 8080:8080 ghcr.io/bytedance/ui-tars-desktop:latest

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: UI-TARS Desktop

Drive a GUI app via vision when DOM selectors fail

👤 Developers ⏱ ~15 min intermediate

何時使用: You're automating a desktop or canvas app that has no scripting surface.

步驟
  1. Bridge
    Run UI-TARS; register with Claude.✓ 已複製
    → Tool visible
  2. Delegate
    Ask Claude to delegate the GUI step.✓ 已複製
    → UI-TARS clicks, types
  3. Verify
    Replay the screen trace.✓ 已複製
    → Audit done

結果: GUI automation in apps with no API.

組合

與其他 MCP 搭配,撬動十倍槓桿

ui-tars-desktop-mcp + openagent-mcp

UI-TARS for vision tasks; OpenAgent for code-text tasks

Combine ui-tars-desktop-mcp with openagent-mcp: UI-TARS for vision tasks; OpenAgent for code-text tasks✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
ui_act (see docs) Run a vision-grounded GUI action 1 call
ui_observe (see docs) Capture screen state 1 call

成本與限制

運行它的成本

API 配額
Local resources + LLM
每次呼叫 Token 數
Screen-capture is heavy
費用
Free OSS; provider costs
提示
Crop the screen region you care about before sending

安全

權限、密鑰、影響範圍

最小權限: screen-capture input-injection
憑證儲存: Replays on disk
資料出站: Configured providers
切勿授予: Run with banking app visible

故障排查

常見錯誤與修復

Action misses target on Retina display

Set the DPI scale; UI-TARS defaults to 1x

替代方案

UI-TARS Desktop 對比其他方案

替代方案何時用它替代權衡
OpenAgentLower resource costLess vision grounding

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills