claude-linux-mcp
Linux Desktop — Claude Desktop 확장 프로그램
Claude Desktop 확장 프로그램으로, Claude에게 Linux/X11 환경에서의 완전한 데스크톱 제어 권한(스크린샷, 마우스, 키보드, 창 관리, 클립보드, 앱 실행)을 부여합니다.
Windows-MCP와 동일한 역할을 Linux에서 수행합니다. claude-terminal-mcp와 함께 사용하도록 설계되었습니다. 터미널은 셸을 담당하고, 이 확장 프로그램은 GUI를 담당합니다.
⚠️ 보안 — 읽어주세요
이 확장 프로그램을 설치하면 Claude가 사용자의 데스크톱을 완전히 제어할 수 있게 됩니다. 키보드와 마우스로 할 수 있는 모든 작업을 Claude가 이 도구를 통해 수행할 수 있습니다:
마우스를 어디든 이동하여 클릭 (대화 상자, "예" 버튼, 열려 있는 채팅 창의 전송 버튼 포함)
현재 포커스된 창에 입력 (비밀번호 필드 포함)
클립보드 읽기 및 쓰기 (최근 복사한 모든 내용이 노출될 수 있음)
애플리케이션 실행
창 닫기 (저장되지 않은 작업 포함)
이 확장 프로그램 설치는 누군가에게 사용자의 책상에 앉아 키보드와 마우스를 직접 조작할 수 있는 권한을 주는 것과 같습니다. Claude가 상호작용하기를 원치 않는 민감한 데이터가 있는 기기, 공유 시스템, 또는 채팅을 방치할 예정이라면 설치하지 마십시오.
claude-terminal-mcp에서 사용하는 차단 목록 방식의 보호는 여기서는 적용하기 어렵습니다. 마우스 클릭은 그저 마우스 클릭일 뿐이며, 의도를 패턴 매칭할 수 없기 때문입니다. v0.1의 안전 장치는 다음과 같습니다: (1) 이 README에서의 솔직한 안내, (2) 시스템 상태를 변경하는 모든 도구에 destructiveHint: true 주석을 달아 Claude의 추론 레이어가 이를 인지하도록 함, (3) 설치 과정에서 명시적인 확장 프로그램 개발자 모드(빨간색 "확인되지 않음" 경고) 요구.
Related MCP server: desktop-mcp
기능
14가지 도구:
도구 | 목적 |
| 전체 화면(또는 |
| id/pid/geometry/title과 함께 보이는 창 목록 나열. |
| 창을 전면으로 가져옴. |
| 창 이동/크기 조정. |
| 창을 정상적으로 닫도록 요청. |
| 포인터를 절대 화면 좌표로 이동. |
| 왼쪽/가운데/오른쪽 클릭; 좌표 선택 사항. |
| 시작점에서 끝점까지 드래그. |
| N번 클릭만큼 위/아래/왼쪽/오른쪽으로 스크롤. |
| 포커스된 창에 문자열 입력. |
|
|
| CLIPBOARD 선택 영역을 텍스트로 읽기. |
| CLIPBOARD에 문자열 쓰기. |
| 애플리케이션을 분리된 프로세스로 실행 (예: |
모두 작고 잘 알려진 X11 CLI 도구를 호출하며, npm 의존성이 없습니다.
요구 사항
디스플레이 서버: X11. Wayland는 v0.1에서 지원되지 않습니다. Wayland의 보안 모델은 프로세스 간 입력 주입을 의도적으로 차단하기 때문입니다. 현재 세션을 확인하려면:
echo $XDG_SESSION_TYPEwayland라고 표시되면 로그아웃한 후 로그인 화면에서 "Ubuntu on Xorg"(또는 배포판에 해당하는 항목)를 선택하십시오.
시스템 도구 (1회 설치):
sudo apt install xdotool wmctrl xclipgnome-screenshot은 Ubuntu GNOME에 포함되어 있습니다. 다른 데스크톱 환경(DE)을 사용하는 경우 스크린샷 도구를 설치하십시오:
# One of:
sudo apt install gnome-screenshot # GNOME, works everywhere
sudo apt install scrot # Minimal CLI
sudo apt install maim # Modern replacement for scrotOCR (선택 사항, screenshot_text용 — v0.2에서 추가됨):
sudo apt install tesseract-ocr tesseract-ocr-eng
# Add tesseract-ocr-<lang> for other languages (fra, deu, nld, …).tesseract가 설치되어 있지 않으면 screenshot_text만 사용할 수 없으며, 나머지 14개 도구는 정상적으로 작동합니다.
Claude Desktop: Linux에서 ≥ 0.10.0 (최신 Node가 번들로 포함되어 있어 별도의 시스템 Node가 필요하지 않음).
설치
최신 릴리스에서
LinuxDesktop.mcpb를 다운로드합니다.Claude Desktop → Settings → Extensions → Extension Developer 섹션 → Install Extension →
.mcpb파일을 선택합니다.빨간색 "개발자 정보가 Anthropic에 의해 확인되지 않음" 경고를 검토합니다. 출처를 신뢰한다면 Install을 클릭합니다.
All extensions로 돌아가서 Linux Desktop이 켜져 있는지 확인합니다.
채팅에서 커넥터/도구 선택기를 열고 해당 대화에 대해 Linux Desktop을 활성화합니다.
첫 번째 도구 호출 시 서버가 누락된 X11 유틸리티를 감지하고 sudo apt install …과 같은 명확한 설치 오류 메시지를 반환하므로, 무엇이 누락되었는지 확인하기 위해 전체 README를 읽을 필요는 없습니다.
사용 예시
Claude에게 다음과 같이 요청해 보세요:
"스크린샷을 찍고 화면에 무엇이 있는지 알려줘."
"열려 있는 창 목록을 보여줘."
"Firefox 창을 포커스해줘."
"gnome-terminal을 열고
nvtop을 입력해줘.""'hello world'를 클립보드에 복사해줘."
"Claude Desktop 창을 화면 왼쪽 상단 모서리로 드래그하고 800×600 크기로 조정해줘."
"활성 창에서 아래로 세 번 스크롤해줘."
알려진 제한 사항 (v0.1)
X11 전용. Wayland는 완전히 다른 접근 방식(
ydotool+ 권한 있는 데몬, 스크린샷을 위한 포털 API)이 필요합니다. Wayland 지원 추가는 로드맵에 있지만 간단하지 않습니다.AT-SPI UI 검사 불가. v0.1은 좌표와 창 제목을 기반으로 작동합니다. 의미론적 타겟팅("전송 버튼 클릭")은 AT-SPI 검사가 필요한데, 이는 Electron/Chromium 앱에서 복잡하며 별도의 v0.2 작업이 필요합니다.
OCR 없음. 스크린샷은 PNG이며 Claude가 비전 기능을 통해 읽습니다. 대부분의 경우 잘 작동하지만, "화면에서 '취소'라는 단어를 찾아 클릭하라"는 기본 기능은 없습니다.
노란색 "도구 결과를 제출할 수 없습니다" 배너. 이는 동적 도구 로딩 단계에서 발생하는 미관상의 문제입니다. 기본 파일 시스템 확장 프로그램에서도 발생하며, 이 확장 프로그램의 버그가 아닙니다.
개인정보 보호 정책
데이터는 사용자의 기기를 떠나지 않습니다. 이 확장 프로그램은 완전히 로컬에서 실행됩니다:
데이터 수집: 없음. 확장 프로그램은 본사로 데이터를 전송하거나, 텔레메트리를 수집하거나, 자체적으로 네트워크 요청을 하지 않습니다.
데이터 사용 및 저장: 스크린샷은
/tmp/claude-linux-mcp/shots/에 저장되어 Claude가 동일한 대화 내에서 나중에 참조할 수 있도록 합니다. 그 외에는 확장 프로그램 자체에 의해 유지되는 데이터가 없습니다.클립보드:
clipboard_get()은 현재 X11 CLIPBOARD 선택 영역에 있는 내용을 읽어 도구 결과로 Claude Desktop에 전달합니다. 채팅에 붙여넣는 것과 동일하게 취급하십시오. 클립보드에 민감한 데이터가 있는 경우 요청하지 마십시오.제3자 공유: 없음. 이 확장 프로그램에 의해 Anthropic, 확장 프로그램 작성자 또는 제3자에게 전송되는 데이터는 없습니다. (Claude Desktop 자체는 일반적인 채팅 흐름의 일부로 도구 입력/출력을 Anthropic에 전송합니다. 이는 Anthropic과 사용자 간의 관계이며, 이 확장 프로그램과는 무관합니다.)
보존:
/tmp/claude-linux-mcp/는 재부팅 시마다 삭제됩니다. 수동으로 삭제하려면rm -rf /tmp/claude-linux-mcp를 사용하십시오.권한 범위: 모든 도구는 사용자의 권한으로 실행됩니다. 터미널에 입력하거나 마우스로 수행하는 작업과 동일합니다.
문의 / 질문: https://github.com/LukeLamb/claude-linux-mcp/issues에서 이슈를 생성해 주십시오.
라이선스
MIT. 자유롭게 사용하십시오. 출처 표기를 권장하며, 보증은 제공되지 않습니다.
Available Tools
15 toolsclipboard_getARead-only
Read the current X11 CLIPBOARD selection as text.
Inputs: no named parameters.
clipboard_setADestructive
Write a string to the X11 CLIPBOARD selection.
Inputs: text (required).
close_windowADestructive
Request a window matching the given title pattern to close (gracefully, via the WM close hint).
Inputs: title_pattern (required).
focus_windowADestructive
Bring a window matching the given title pattern (substring, case-insensitive per wmctrl) to the foreground.
Inputs: title_pattern (required).
key_pressADestructive
Press a keyboard combination using xdotool's keysym notation. Examples: 'ctrl+c', 'alt+Tab', 'super', 'Return', 'Escape', 'Page_Down'.
Inputs: combo (required).
launch_appADestructive
Launch an application via a shell command (e.g. "firefox", "gnome-terminal", "code /path/to/project"). The process is detached from this server.
Inputs: command (required).
list_windowsARead-only
List all visible windows with id, pid, desktop, geometry (x/y/width/height), hostname, and title.
Inputs: no named parameters.
mouse_clickADestructive
Click a mouse button. If x and y are provided, the pointer moves there first; otherwise clicks at the current pointer location.
Inputs: button, x, y.
mouse_dragBDestructive
Drag from (x1, y1) to (x2, y2) while holding the given button (default left).
Inputs: x1 (required), y1 (required), x2 (required), y2 (required), +1 more.
mouse_moveADestructive
Move the mouse pointer to absolute screen coordinates (x, y).
Inputs: x (required), y (required).
mouse_scrollADestructive
Scroll in a direction (up/down/left/right) by N clicks (default 3).
Inputs: direction (required), amount.
move_windowADestructive
Move and/or resize a window matching the given title pattern. Any of x, y, width, height omitted leaves that dimension unchanged.
Inputs: title_pattern (required), x, y, width, +1 more.
screenshotARead-only
Capture a screenshot of the full screen (or the active window if active_window=true). Saves a PNG under /tmp/claude-linux-mcp/shots/ and returns the path.
Inputs: path, active_window.
screenshot_textARead-only
Take a screenshot and OCR it with tesseract. Returns the recognized text plus the path to the underlying PNG. Use when Claude needs to READ what is on screen (log windows, error dialogs, terminal output in non-focused windows) rather than just see the image. Requires tesseract-ocr installed.
Inputs: active_window, path, lang.
type_textADestructive
Type a string into the currently-focused window (emits keystrokes). Use key_press for special/modifier combos.
Inputs: text (required), delay.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Each tool has a clearly distinct purpose covering clipboard operations, window management, keyboard input, mouse actions, app launching, and screenshot capture. No two tools overlap in functionality.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., clipboard_get, close_window, mouse_click). The naming scheme is predictable and easy to parse.
15 tools is perfectly scoped for a desktop automation MCP server. Each tool addresses a distinct action without unnecessary redundancy, covering the essential operations for window management, input, and clipboard.
The tool surface covers the full lifecycle of desktop automation: window discovery and manipulation, input simulation (keyboard, mouse, clipboard), app launching, and screenshot capture with optional OCR. No obvious gaps are present for typical use cases.
Maintenance
Related MCP Connectors
Lets Claude, ChatGPT and other AI chats work on your Linux computers: terminal, files and browser.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Remote desktop MCP: let AI see, click, type and run terminal commands on your own Windows or Mac.
Related MCP Servers
- AlicenseAqualityCmaintenanceGive Claude Desktop terminal, filesystem, and background-job access on your local Linux machine. Zero-dependency MCP extension, MIT-licensed.85MIT
- AlicenseAqualityDmaintenanceEnables LLMs to capture desktop screenshots and control the mouse and keyboard on Linux, including Wayland, through MCP.111MIT
- AlicenseAqualityBmaintenanceEnables Claude Code and Codex to see and drive an X11 desktop through screenshots, mouse, keyboard, and accessibility-tree actions while keeping the user's own pointer and focus separate.18Apache 2.0
- AlicenseNot gradedqualityBmaintenanceGrants Claude Code desktop-control capabilities on Linux, including screenshots, mouse movement and clicks, keyboard input, window listing and focusing, and clipboard access.3MIT