/ 目录 / 演练场 / 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