uitars-mcp
uitars-mcp
AI 코딩 에이전트에게 로컬 GUI 그라운딩 기능을 제공하는 MCP 서버입니다. 화면상의 모든 UI 요소를 찾아 정확한 픽셀 좌표를 반환할 수 있습니다.
ByteDance의 2B 파라미터 GUI 그라운딩 모델인 UI-TARS-2B로 구동됩니다.
목적
Claude Code의 내장 컴퓨터 사용 기능은 분석을 위해 모든 스크린샷을 클라우드로 전송합니다. 이 MCP 서버는 대신 로컬 비전 모델을 실행합니다:
요소당 약 1.2초 탐색 (클라우드 왕복 지연 시간 대비)
4.1GB VRAM (최신 GPU에서 실행 가능)
완전 오프라인 — API 키나 클라우드 의존성 없음
90.7% 정확도 (ScreenSpot 데스크톱 텍스트 벤치마크 기준)
네이티브 픽셀 좌표 — 정확한 클릭 대상 반환
Related MCP server: screencye
설정
1. UI-TARS-2B 다운로드
# Requires ~4.5GB disk space
huggingface-cli download bytedance-research/UI-TARS-2B-SFT --local-dir ./ui-tars-2b2. CUDA가 포함된 PyTorch 설치
# Install CUDA-enabled PyTorch first (adjust cu126 to your CUDA version)
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu1263. uitars-mcp 설치
pip install uitars-mcp
# or from source:
pip install -e .4. Claude Code 구성
Claude Code MCP 설정(~/.claude/settings.json)에 추가하세요:
{
"mcpServers": {
"uitars-mcp": {
"command": "uitars-mcp",
"env": {
"UITARS_MODEL": "/path/to/ui-tars-2b"
}
}
}
}venv에 설치된 경우, 실행 파일의 전체 경로를 사용하세요:
{
"mcpServers": {
"uitars-mcp": {
"command": "/path/to/venv/bin/uitars-mcp",
"env": {
"UITARS_MODEL": "/path/to/ui-tars-2b"
}
}
}
}도구
도구 | 기능 | 지연 시간 |
| 설명으로 UI 요소를 찾고 클릭 좌표 반환 | ~1.2s |
| 화면에 보이는 모든 것 설명 | ~2s |
| OCR — 화면의 모든 텍스트 읽기 | ~3s |
| 요소 상태 확인 (활성화 여부, 값 등) | ~1s |
| 화면 상태를 확인하여 작업 성공 여부 검증 | ~1.5s |
| 목표 달성을 위한 다음 작업 제안 | ~1.5s |
| 엔드투엔드 지연 시간 측정 | 가변적 |
작동 원리
mss를 통해 스크린샷 촬영 (빠르고 플랫폼 독립적)1344px 너비로 크기 조정 (최적의 비전 토큰 수)
GPU에서 UI-TARS-2B 추론 실행
모델의 0-1000 정규화 좌표를 네이티브 화면 픽셀로 변환
computer-use클릭 도구에 바로 사용할 수 있는 좌표 반환
모델은 첫 호출 시 지연 로딩되며(약 3초), 이후 후속 호출을 위해 VRAM에 상주합니다.
환경 변수
변수 | 기본값 | 설명 |
| (필수) | UI-TARS-2B 모델 디렉토리 경로 |
요구 사항
Python 3.10+
4.1GB 이상의 VRAM을 갖춘 NVIDIA GPU
CUDA 지원 PyTorch
Windows 또는 Linux (macOS는 테스트되지 않음)
This server cannot be deployed
Maintenance
Related MCP Connectors
Visual testing for coding agents: your agent sees every UI change it makes and triages each diff.
A visual brain for your agents: live, reusable UI fragments and skills to pull into code.
1UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA local autonomous AI agent that watches your screen, understands the visual layout, and executes native OS commands (clicking, typing) without cloud APIs.39MIT
- AlicenseNot gradedqualityBmaintenanceEyes for text-only LLMs: decodes screenshots into exact structured text (words, coordinates, sizes, colors) using pure-code CV and OCR. Enables text-only models to reason about UI layouts without vision models or VRAM usage.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to see, locate UI elements, and operate any Windows desktop app through natural language, using accessibility-tree matching with optional vision-model fallback, plus an autonomous visual loop with introspection and meta-learning.13MIT
- AlicenseAqualityAmaintenanceEnables AI agents to automate GUI interactions across Windows, Linux, macOS, Android, iOS, and browsers using structured platform APIs first, with vision grounding as a fallback for robust cross-platform computer use.17MIT