RR

raghibrm/remote-pc-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

11 stars 3 forks 품질 84 트렌드 32MIT

MCP 서버는 PC의 기능을 노출 (쉘, 파일 시스템, GPU, 스크린 샷, 배경 프로세스) Claude Code 또는 MCP 클라이언트에

개요

모든 PC의 기능을 노출 - 쉘, 파일 시스템, 배경 프로세스, 시스템 통계, 스크린 샷, UI 제어 및 파일 전송 - (Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, custom Agent - 스트리밍 HTTP에서 모델 Context Protocol)에 대해. 원격으로 구동하려는 모든 기계에 그것을 드롭 : 홈 서버, 데스크탑, 빌드 / CI 상자, 미디어 서버, 워크 스테이션, 라즈베리 파이. 별도의 기계에서, 선택의 AI 에이전트는 파일, 실행 및 모니터링 작업을 관리, 스크린 샷을 가지고, 바탕 화면 UI를 구동 할 수 있습니다. 전송은 mcp SDK의 streamable HTTP (stateless http=True)이므로 서버 재시작은 이미 연결되지 않습니다. 각 요청은 자체 유지됩니다. - stale로 이동하려면 메모리 세션이 없습니다. ⚠️ Bearer 토큰은 root-equivalent credential입니다. 서버를 만료하기 전에 보안을 참조하십시오. - 파이썬 3.

개요(AI 번역)

모든 PC의 기능을 노출 - 쉘, 파일 시스템, 배경 프로세스, 시스템 통계, 스크린 샷, UI 제어 및 파일 전송 - ** 어떤 MCP 클라이언트 ** (Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, 사용자 정의 에이전트 - 스트리밍 가능한 HTTP에 Model Context Protocol)을 사용하는 모든 것.

원격으로 구동하려는 모든 기계에 그것을 드롭 : 홈 서버, 데스크탑, 빌드 / CI 상자, 미디어 서버, 워크 스테이션, 라즈베리 파이. 별도의 기계에서, 선택의 AI 에이전트는 파일, 실행 및 모니터링 작업을 관리, 스크린 샷을 가지고, 바탕 화면 UI를 구동 할 수 있습니다.

전송은 mcp] SDK의 streamable HTTP(stateless_http=True)이므로 서버 재시작은 이미 연결되지 않습니다. 각 요청은 자체 유지됩니다. - stale로 이동하려면 메모리 세션이 없습니다.

⚠️ [T2]] 호스트의 임의 명령을 서버 시작으로 실행합니다. Bearer 토큰은 root-equivalent credential입니다. 서버를 만료하기 전에 보안을 참조하십시오.

도구

도구 설명
shell_exec 쉘 명령을 실행합니다. – stdout, stderr, Exit code

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

remote-pc-mcp

Expose any PC’s capabilities — shell, filesystem, background processes, system stats, screenshots, UI control, and file transfer — to any MCP client (Claude Desktop, Claude Code, Cursor, Cline, Continue, Windsurf, custom agents — anything that speaks the Model Context Protocol) over streamable HTTP.

Drop it on any machine you want to drive remotely: a home server, a desktop, a build/CI box, a media server, a workstation, a Raspberry Pi. From a separate machine, your AI agent of choice can run commands on it, manage files, launch and monitor background jobs, take screenshots, and drive the desktop UI.

The transport is the mcp SDK’s streamable HTTP (stateless_http=True), so a server restart does not break already-connected clients. Each request is self-contained — there is no in-memory session to go stale.

⚠️ shell_exec runs arbitrary commands on the host as the user that started the server. The bearer token is a root-equivalent credential. See Security before exposing the server.

Tools

Tool Description
shell_exec Run any shell command — returns stdout, stderr, exit code
read_file Read a file as text or base64 (binary fallback)
write_file Write text or binary content to a file
list_directory List files and directories, optionally recursive
system_info OS, CPU, RAM, and GPU stats (NVIDIA GPUs via nvidia-smi; absent on non-GPU hosts)
start_process Start a long-running command in the background — returns a PID
get_process_output Poll stdout/stderr of a background process by PID, plus its exit code once it ends
kill_process Terminate a process by PID
download_file Download a URL directly to this machine
take_screenshot Capture the whole desktop, every monitor, as an image sized for a vision model (screen coordinates)
click Click at (x, y) in the screenshot — left / right / middle, single or multi-click
move_mouse Move cursor to (x, y) in the screenshot, optionally animated
type_text Type a string into the focused window
press_key Press a single key or hotkey combo (e.g. enter, f11, ctrl+c, win+d)
scroll Scroll the mouse wheel up or down, optionally at a specific point

Requirements

  • Python 3.10+
  • Windows 10/11, or Linux with systemd (for autostart)

Install

On the machine you want to control:

git clone https://github.com/raghibrm/remote-pc-mcp
cd remote-pc-mcp
cp .env.example .env

Set a strong token in .env:

REMOTE_PC_MCP_TOKEN=your-long-random-token-here

Generate one:

# Windows
python -c "import secrets; print(secrets.token_hex(32))"

# Linux / macOS
openssl rand -hex 32
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "remote-pc": { "type": "http", "url": "http://YOUR_PC_IP_OR_HOSTNAME:8765/mcp", "headers": { "Authorization": "Bearer your-long-random-token-here" } } } }