
raghibrm/remote-pc-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
PC の機能(シェル、ファイルシステム、GPU、スクリーンショット、背景プロセス)を Claude コードまたは MCP クライアントに公開する MCP サーバー
概要
シェル、ファイルシステム、背景プロセス、システムステータス、スクリーンショット、UIコントロール、ファイル転送など、PCのあらゆる機能を公開します。(Claude Desktop、Claude Code、Crosor、Cline、 Continue、Windsurf、カスタムエージェント、モデルコンテキストプロトコルをストリーム可能なHTTP上で話すもの)。 リモートでドライブしたいマシンにドロップ:ホームサーバー、デスクトップ、ビルド/ CIボックス、メディアサーバー、ワークステーション、ラズベリーパイ。 別のマシンから、選択したAIエージェントは、コマンドを実行し、ファイルを管理し、バックグラウンドジョブを起動し、スクリーンショットを取り、デスクトップUIをドライブすることができます。 トランスポートは mcp SDK の合理化 HTTP (stateless http=True) なので、サーバーのリスタートは既に接続されているクライアントを遮断しません。 それぞれのリクエストは自己完結 — 失効セッションはありません。 ⚠️ ベアトークンは、根本的な定形です。 サーバを公開する前に、セキュリティを参照してください。 - Python 3.
概要(AI 翻訳)
シェル、ファイルシステム、背景プロセス、システムステータス、スクリーンショット、UIコントロール、ファイル転送など、PCのあらゆる機能を公開します。 (Claude デスクトップ、Claude コード、Crosor、Cline、 Continue、Windsurf、カスタムエージェント — ストリーミング可能な HTTP 上でモデルコンテキストプロトコルを話すもの)。
リモートでドライブしたいマシンにドロップ:ホームサーバー、デスクトップ、ビルド/ CIボックス、メディアサーバー、ワークステーション、ラズベリーパイ。 別のマシンから、選択したAIエージェントは、コマンドを実行し、ファイルを管理し、バックグラウンドジョブを起動し、スクリーンショットを取り、デスクトップUIをドライブすることができます。
トランスポートは [mcp] SDK の実行可能な HTTP ([stateless_http=True]) なので、サーバーの再起動は既に接続されているクライアントを破棄しません。 それぞれのリクエストは自己完結 — 失効セッションはありません。
⚠️**
shell_execは、サーバーを起動したユーザとしてホスト上の任意のコマンドを実行します。** ベアートークンは、根価なクレデンシャルです。 サーバを公開する前に、セキュリティを参照してください。
ツール
| ツール | 概要 |
お問い合わせ
| [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_execruns 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
インストール
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"
}
}
}
}