Desktop Commander MCP
데스크톱 커맨더 MCP

간략하게 설명하자면, 두 가지 핵심이 있습니다. 터미널 명령어와 diff 기반 파일 편집입니다.
목차
이 서버는 Claude 데스크톱 앱이 컴퓨터에서 장기 실행 터미널 명령을 실행하고 MCP(Model Context Protocol)를 통해 프로세스를 관리할 수 있도록 해줍니다. + MCP 파일 시스템 서버를 기반으로 구축되어 추가 검색 및 파일 편집 기능을 제공합니다.
Related MCP server: MCP Tools
특징
출력 스트리밍으로 터미널 명령 실행
명령 시간 초과 및 백그라운드 실행 지원
프로세스 관리(프로세스 나열 및 종료)
장기 실행 명령에 대한 세션 관리
전체 파일 시스템 작업:
파일 읽기/쓰기
디렉토리 생성/나열
파일/디렉토리 이동
파일 검색
파일 메타데이터 가져오기
코드 편집 기능:
작은 변경 사항에 대한 수술 텍스트 교체
주요 변경 사항에 대한 전체 파일 다시 작성
다중 파일 지원
패턴 기반 교체
설치
먼저, Claude Desktop 앱을 다운로드하여 설치했고 npm도 설치 했는지 확인하세요.
옵션 1: Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Desktop Commander를 자동으로 설치하려면:
지엑스피1
옵션 2: npx를 통해 설치
터미널에서 이것을 실행하세요
npx @wonderwhy-er/desktop-commander setup실행 중이면 Claude를 다시 시작하세요.
옵션 3: claude_desktop_config에 직접 추가
claude_desktop_config.json에 이 항목을 추가하세요(Mac에서는 ~/Library/Application\Support/Claude/claude_desktop_config.json에 있음):
{
"mcpServers": {
"desktop-commander": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander"
]
}
}
}실행 중이면 Claude를 다시 시작하세요.
옵션 4: 현지에서 결제
복제 및 빌드:
git clone https://github.com/wonderwhy-er/ClaudeComputerCommander.git
cd ClaudeComputerCommander
npm run setup실행 중이면 Claude를 다시 시작하세요.
설정 명령은 다음을 수행합니다.
종속성 설치
서버를 빌드하세요
Claude의 데스크톱 앱 구성
필요한 경우 Claude의 구성에 MCP 서버를 추가합니다.
용법
서버는 다음과 같은 도구 범주를 제공합니다.
터미널 도구
execute_command: 구성 가능한 시간 제한으로 명령 실행read_output: 장기 실행 명령의 출력을 가져옵니다.force_terminate: 실행 중인 명령 세션을 중지합니다.list_sessions: 활성 명령 세션 보기list_processes: 시스템 프로세스 보기kill_process: PID로 프로세스 종료block_command/unblock_command: 명령 블랙리스트 관리
파일 시스템 도구
read_file/write_file: 파일 작업create_directory/list_directory: 디렉토리 관리move_file: 파일 이동/이름 변경search_files: 패턴 기반 파일 검색get_file_info: 파일 메타데이터
편집 도구
edit_block: 수술 텍스트 교체 적용(파일 크기의 20% 미만 변경 사항에 가장 적합)write_file: 전체 파일 재작성(20% 이상의 대규모 변경 사항 또는 edit_block이 실패할 때 가장 적합)
검색/바꾸기 블록 형식:
filepath.ext
<<<<<<< SEARCH
existing code to replace
=======
new code to insert
>>>>>>> REPLACE예:
src/main.js
<<<<<<< SEARCH
console.log("old message");
=======
console.log("new message");
>>>>>>> REPLACE장기 실행 명령 처리
시간이 걸릴 수 있는 명령의 경우:
execute_command시간 초과 후 초기 출력으로 반환됩니다.명령은 백그라운드에서 계속됩니다
PID와 함께
read_output사용하여 새 출력을 얻습니다.필요한 경우
force_terminate사용하여 중지하세요.
모델 컨텍스트 프로토콜 통합
이 프로젝트는 MCP 파일 시스템 서버를 확장하여 다음을 지원합니다.
Claude Desktop의 로컬 서버 지원
전체 시스템 명령 실행
프로세스 관리
파일 작업
검색/바꾸기 블록을 사용한 코드 편집
Claude MCP를 탐구하는 일환으로 제작되었습니다: https://youtube.com/live/TlbjFDbl5Us
진행 중인 작업 및 TODO
현재 개발 중이거나 계획 중인 기능은 다음과 같습니다.
더 나은 코드 검색 ( 진행 중 ) - 컨텍스트 인식 결과를 통한 향상된 코드 탐색
더 나은 구성 ( 진행 중 ) - 허용된 경로, 명령 및 셸 환경에 대한 설정이 개선되었습니다.
Windows 환경 수정 ( 진행 중 ) - Windows 플랫폼에 특정한 문제 해결
Linux 개선 사항 ( 진행 중 ) - 다양한 Linux 배포판과의 호환성 향상
WSL 지원 - Linux 통합을 위한 Windows 하위 시스템
SSH 지원 - 원격 서버 명령 실행
설치 문제 해결 가이드 - 설치 문제에 대한 포괄적인 도움말
메디아
다음 리소스를 통해 이 프로젝트에 대해 자세히 알아보세요.
기사
MCP를 탑재한 Claude가 Cursor와 Windsurf를 대체했습니다. 어떻게 이런 일이 가능했을까요? - 모델 컨텍스트 프로토콜 기능을 탑재한 Claude가 개발자 워크플로우를 어떻게 변화시키고 있는지 자세히 살펴봅니다.
동영상
Claude Desktop Commander 비디오 튜토리얼 - Commander를 효과적으로 설정하고 사용하는 방법을 시청하세요.
지역 사회
도움을 받고, 피드백을 공유하고, 다른 사용자와 소통하려면 Discord 서버 에 가입하세요.
추천사
https://www.youtube.com/watch?v=ly3bed99Dy8&lc=UgyyBt6_ShdDX_rIOad4AaABAg
https://www.youtube.com/watch?v=ly3bed99Dy8&lc=UgztdHvDMqTb9jiqnf54AaABAg
https://www.youtube.com/watch?v=ly3bed99Dy8&lc=UgyQFTmYLJ4VBwIlmql4AaABAg
https://www.youtube.com/watch?v=ly3bed99Dy8&lc=Ugy4-exy166_Ma7TH-h4AaABAg
https://medium.com/@pharmx/you-sir-are-my-hero-62cff5836a3e
기여하다
이 프로젝트가 유용하다고 생각되시면 GitHub에서 ⭐ 별점을 주세요! 다른 사람들이 이 프로젝트를 알아보고 더 발전하는 데 도움이 됩니다.
커뮤니티 여러분의 참여를 환영합니다! 버그를 발견하셨든, 기능 요청이 있으시든, 또는 코드 기여를 원하시든, 다음과 같은 방법으로 도움을 주실 수 있습니다.
버그를 발견하셨나요? github.com/wonderwhy-er/ClaudeComputerCommander/issues 에서 이슈를 열어주세요.
기능 아이디어가 있으신가요? 이슈 섹션에 기능 요청을 제출해 주세요.
코드에 기여하고 싶으신가요? 저장소를 포크하고, 브랜치를 생성한 후 풀 리퀘스트를 제출하세요.
질문이나 토론이 있으신가요? GitHub 토론 탭에서 토론을 시작하세요.
크고 작음에 관계없이 모든 기여를 환영합니다!
이 도구가 귀하의 업무 흐름에 유용하다고 생각되면 이 프로젝트를 지원해 주시기 바랍니다.
특허
MIT
Available Tools
19 toolsblock_commandB
Add a command to the blacklist. Once blocked, the command cannot be executed until unblocked.
Inputs: command (required).
create_directoryA
Create a new directory or ensure a directory exists. Can create multiple nested directories in one operation. Only works within allowed directories.
Inputs: path (required).
edit_blockA
Apply surgical text replacements to files. Best for small changes (<20% of file size). Multiple blocks can be used for separate changes. Will verify changes after application. Format: filepath, then <<<<<<< SEARCH, content to find, =======, new content, >>>>>>> REPLACE.
Inputs: blockContent (required).
execute_commandB
Execute a terminal command with timeout. Command will continue running in background if it doesn't complete within timeout.
Inputs: command (required), timeout_ms.
force_terminateC
Force terminate a running terminal session.
Inputs: pid (required).
get_file_infoA
Retrieve detailed metadata about a file or directory including size, creation time, last modified time, permissions, and type. Only works within allowed directories.
Inputs: path (required).
kill_processA
Terminate a running process by PID. Use with caution as this will forcefully terminate the specified process.
Inputs: pid (required).
list_allowed_directoriesB
Returns the list of directories that this server is allowed to access.
Inputs: no named parameters.
list_blocked_commandsB
List all currently blocked commands.
Inputs: no named parameters.
list_directoryA
Get a detailed listing of all files and directories in a specified path. Results distinguish between files and directories with [FILE] and [DIR] prefixes. Only works within allowed directories.
Inputs: path (required).
list_processesA
List all running processes. Returns process information including PID, command name, CPU usage, and memory usage.
Inputs: no named parameters.
list_sessionsB
List all active terminal sessions.
Inputs: no named parameters.
move_fileA
Move or rename files and directories. Can move files between directories and rename them in a single operation. Both source and destination must be within allowed directories.
Inputs: source (required), destination (required).
read_fileA
Read the complete contents of a file from the file system. Handles various text encodings and provides detailed error messages if the file cannot be read. Only works within allowed directories.
Inputs: path (required).
read_multiple_filesA
Read the contents of multiple files simultaneously. Each file's content is returned with its path as a reference. Failed reads for individual files won't stop the entire operation. Only works within allowed directories.
Inputs: paths (required).
read_outputC
Read new output from a running terminal session.
Inputs: pid (required).
search_filesC
Recursively search for files and directories matching a pattern. Searches through all subdirectories from the starting path. Only searches within allowed directories.
Inputs: path (required), pattern (required).
unblock_commandB
Remove a command from the blacklist. Once unblocked, the command can be executed normally.
Inputs: command (required).
write_fileA
Completely replace file contents. Best for large changes (>20% of file) or when edit_block fails. Use with caution as it will overwrite existing files. Only works within allowed directories.
Inputs: path (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools have distinct purposes, but some overlap exists between 'execute_command' and 'force_terminate'/'kill_process' in managing processes, and 'edit_block' and 'write_file' in file modification. However, descriptions clarify their specific use cases (e.g., 'edit_block' for small changes, 'write_file' for large replacements), reducing confusion.
Tool names follow a consistent verb_noun pattern throughout, such as 'create_directory', 'list_directory', 'read_file', and 'move_file'. This uniformity makes the toolset predictable and easy for agents to navigate without naming conflicts.
With 19 tools, the count is slightly high but reasonable for a desktop management server covering file operations, process control, and command execution. It provides comprehensive functionality without being overwhelmingly large, though it could be streamlined by merging some related tools.
The toolset offers complete coverage for desktop management, including CRUD operations for files and directories, process lifecycle management, command execution with safety features (blocking/unblocking), and session handling. No obvious gaps are present, supporting a wide range of agent workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseAqualityBmaintenanceAllows Claude desktop app to execute terminal commands and edit files on your computer through MCP, with features including command execution, process management, and diff-based file editing.2510,444MIT
- AlicenseNot gradedqualityCmaintenanceA custom Model Context Protocol server that gives Claude Desktop and other LLMs access to file system operations and command execution capabilities through standardized tool interfaces.23Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing file system access and management functionalities to Claude or other AI assistants.5-
- FlicenseNot gradedqualityDmaintenanceA server implementation for the Model Context Protocol (MCP) that allows Claude AI to execute commands through a command-line interface, enabling direct system interactions from within Claude.-