ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Remote Bridge

โดย varaprasadreddy9676รุ่น 0.1.5i★ –iรันบนเครื่อง
ชื่อใน registryio.github.varaprasadreddy9676/remote-bridge

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Sync code to remote servers via SSH/rsync and deploy from any AI IDE.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "remote-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "remote-bridge-cli"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add remote-bridge -- npx -y remote-bridge-cli

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "remote-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "remote-bridge-cli"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "remote-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "remote-bridge-cli"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub varaprasadreddy9676 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1396 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 11% ของอีก 1396 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1396 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Remote Bridge ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.5) เข้า registry 8 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 4 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 16 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

RemoteBridge 🌉

A safe, configurable MCP tool for giving AI agents reliable access to remote servers.

RemoteBridge is a Rust CLI and MCP server for AI-assisted remote workflows. It syncs local code with rsync, runs remote commands over SSH, gathers logs and diagnostics, compares environments, and exposes all of that through a compact tool surface your AI can use directly.

Use it when you want an AI agent in Claude Code, Cursor, Windsurf, Codex, or another MCP-enabled tool to work against a remote machine with real operational context, not just a shell prompt.

Instead of making the model guess how your server is set up, RemoteBridge gives it a configured operational interface.

What RemoteBridge Helps The AI Understand

When an AI is debugging or deploying on a remote machine, it needs more than "run this command".

It needs to understand things like:

  • where the app is deployed
  • how the service is restarted
  • which log files matter
  • what runtimes are installed
  • whether the service is healthy
  • which ports are listening
  • whether disk or memory pressure is involved
  • how staging differs from production
  • which commands are allowed or dangerous

RemoteBridge stores those recurring server facts in remotebridge.yaml and exposes the useful workflows as MCP tools.

That lets the AI work with a remote server as a system it can understand, not just a place where commands happen to run.

What Problem This Actually Solves

Without a structured tool layer, remote work from AI usually turns into a noisy sequence of shell steps:

  • find the right host
  • find the deploy path
  • inspect the runtime
  • find the restart command
  • find the logs
  • tail too much output
  • ask more questions to recover context

RemoteBridge compresses that into a smaller set of reusable operations with clearer intent and better defaults.

Your AI can call:

  • sync_to_remote
  • deploy
  • preflight_check
  • fetch_logs
  • diagnose_failure
  • compare_targets

These tools are designed to help the AI inspect and reason about the remote system, not just execute commands on it.

For example, diagnose_failure can gather:

  • runtime facts
  • service-manager state
  • recent logs
  • listeners
  • disk status
  • memory state
  • likely failure signatures

in one compact response.

Small Note On Direct SSH

Direct SSH from an AI tool is still useful when:

  • You want a fully interactive shell.
  • You already know the exact command.
  • You want one-off ad hoc exploration.
  • You are doing a one-off urgent command and want raw terminal behavior.

RemoteBridge is better when:

  • The AI is driving the workflow.
  • The same server facts keep getting rediscovered.
  • You want deploy, restart, diagnosis, and log workflows to be repeatable.
  • You need guardrails around destructive commands.
  • You want compact answers instead of full shell transcripts.
  • You want config-aware operations like "compare staging and production".

How RemoteBridge Is Practically Different

RemoteBridge is not better because it hides SSH. It is better because it turns repeated infrastructure reasoning into stable, reusable tool behavior.

Concrete differences from direct SSH:

  • The server path is configured once in remotebridge.yaml and reused on every call.
  • The restart command is configured once instead of being rediscovered or retyped.
  • The log files are configured once instead of the model hunting for them.
  • The model can call deploy, diagnose_failure, and compare_targets as intent-level operations.
  • The output is deliberately bounded so the model receives signal instead of log floods.
  • Dangerous commands can be confirmed, blocked, or allowlisted.
  • Local code changes and remote execution are part of one workflow instead of two disconnected steps.

This is why RemoteBridge is usually more useful than raw shell access inside an AI agent, even when the AI agent technically supports remote access already.

Why This Saves Tokens In Practice

RemoteBridge is useful when it removes low-value conversation between the model and the server.

It saves tokens in a few concrete ways:

  • run_remote_command truncates combined stdout and stderr to a shared line budget, so the model gets the important tail instead of a full transcript.
  • preflight_check gathers OS and runtime facts in one remote call instead of making the AI issue several separate shell commands.
  • fetch_logs pulls configured log files in one structured response instead of the AI repeatedly asking where logs live and tailing each file manually.
  • diagnose_failure gathers service state, listeners, disk, memory, runtime info, and recent logs in one pass, then summarizes likely causes.
  • compare_targets turns "SSH into staging, SSH into prod, inspect both, diff mentally" into one semantic tool call.
  • deploy and restart_service remove the need for the AI to restate shell glue like cd /path && ... every time.
  • Config values such as remote_path, restart_cmd, logs, allowed_commands, and blocked_patterns are stored once and reused on every call.

The important point is not just "fewer SSH commands." It is:

  • less repeated reasoning around the same infrastructure facts
  • less output the model has to read
  • fewer follow-up prompts caused by noisy shell transcripts

Why This Is Better Than Letting AI Freestyle Shell

Raw SSH gives the AI a lot of power, but very little structure.

RemoteBridge adds:

  • Config awareness: target host, deploy path, restart command, and log paths live in remotebridge.yaml.
  • Operational semantics: tools like deploy, diagnose_failure, and compare_targets describe intent, not just shell syntax.
  • Safer defaults: dangerous commands can require confirmation, be blocked entirely, or be limited to allowlisted prefixes.
  • Better output discipline: the MCP surface returns compressed, useful output instead of dumping everything.
  • Local + remote coordination: syncing local files to a remote server is part of the same workflow instead of a separate manual step.

That last point matters. A remote shell alone cannot see your local uncommitted code. RemoteBridge can sync exactly what the AI changed locally, then execute the remote step that depends on it.

Core Value

RemoteBridge is not trying to beat SSH at being a shell.

It is trying to give AI agents a better abstraction than:

  1. guess the host
  2. guess the path
  3. guess the service manager
  4. guess the logs
  5. dump too much output
  6. try again

Why We Built This In Rust

RemoteBridge could have been written in Node.js or Python. We chose Rust for practical reasons tied to the job this tool does.

Rust helps here because:

  • it produces a single native binary with fast startup, which is useful for CLI and stdio MCP usage
  • it avoids requiring users to manage a Python runtime or a larger JS runtime stack at execution time
  • it is a good fit for process-heavy, I/O-heavy tooling such as ssh, rsync, log streaming, and MCP stdio handling
  • it gives strong compile-time guarantees around error handling and data flow, which matters for deployment and remote execution tooling
  • it tends to have predictable performance and low overhead for repeated tool calls

For this project specifically, that means:

  • faster startup for MCP clients launching the server
  • less packaging friction for a CLI that people want to install and use immediately
  • a native binary that is well suited to wrapping system tools like ssh and rsync
  • a smaller risk surface for runtime dependency issues compared with large script-runtime stacks

Node.js or Python would have been workable. Rust is a better fit for a tool whose job is to be a reliable systems bridge between an AI client and remote infrastructure.

Features

FeatureWhy it matters
Rsync SyncPush local code to the server without re-uploading everything
SSH MultiplexingReuses OpenSSH control connections across repeated sync and command calls
Structured MCP ToolsLets the AI call semantic actions instead of building shell strings each time
Output TruncationKeeps command responses small enough to stay useful in model context
Preflight CheckCaptures runtime facts in one step
Deploy PipelineEncodes sync → restart → failure-log flow as one operation
Failure DiagnosisPulls service state, runtime facts, listeners, disk, memory, and logs into one compact summary
Target ComparisonSurfaces config drift and runtime drift between environments
Safety GatesConfirmation, hard blocks, and allowlists reduce destructive mistakes
Audit LogRecords what actually ran and how it exited
Watch ModeKeeps a remote target in sync during an edit/test loop
Per-target SSH ConfigSupports host/user/path/port/key per environment

A Practical Example

Without RemoteBridge, an AI debugging a broken deploy often does something like this:

  1. SSH in.
  2. Ask for pwd.
  3. Ask for ls.
  4. Try to find the app path.
  5. Guess how to restart the service.
  6. Ask for logs.
  7. Pull too much output.
  8. Ask follow-up questions because the output was noisy.

With RemoteBridge, the same request can be:

You: "The staging deploy is broken. Diagnose it."

The AI can call diagnose_failure and get back:

  • target identity
  • inferred service manager
  • service health
  • runtime versions
  • disk or memory pressure signals
  • relevant log excerpts
  • likely causes
  • next-step suggestions

That is a much better use of context than a multi-turn shell transcript.

Quick Start

1. Install

Prerequisites: Rust, rsync, and ssh available in PATH.

npm install -g remote-bridge-cli
2. Add the MCP server to your AI tool
claude mcp add remote-bridge --scope user -- remote-bridge mcp

See MCP Support below for other tools.

3. Initialize project config
remote-bridge init --name my-app -H your-server.com --user ubuntu --path /var/www/app

That creates remotebridge.yaml, which becomes the shared source of truth for your AI workflows.

Example Configuration

project_name: "my-app"

targets: staging: host: "13.234.xx.xx" user: "ubuntu" remote_path: "/var/www/html/app" port: 22 ssh_key: "~/.ssh/id_rsa" restart_cmd: "pm2 restart app" logs:

  • "/var/www/html/app/logs/error.log"
  • "/var/log/nginx/error.log" require_confirmation: false exclude:
  • "node_modules/"
  • "*.log" blocked_patterns:
  • "rm -rf"
  • "drop table" allowed_commands:
  • "npm"
  • "pm2" audit_log: "~/.remote-bridge-staging.log" production: host: "prod.example.com" user: "ubuntu" remote_path: "/opt/app" ssh_key: "~/keys/prod.pem" restart_cmd: "systemctl restart myapp" logs:
  • "/opt/app/logs/error.log" require_confirmation: true

Why remotebridge.yaml Matters

This file is the reason the MCP tool is more useful than raw SSH.

It stores facts the AI should not have to rediscover:

  • where the app lives
  • how it restarts
  • which logs matter
  • which commands are safe
  • which environment needs stronger confirmation

Once that information is encoded once, every future tool call gets simpler and cheaper.

CLI Commands

CommandDescription
initCreate a new remotebridge.yaml
syncSync local files to the remote server
sync --dry-runPreview rsync changes without touching the server
run Execute one remote command
preflightCollect remote OS and runtime versions
logsFetch recent configured logs
logs --followStream configured logs live
restartRestart the configured service
deploySync, restart, and fetch failure context if restart fails
watchPoll local files and auto-sync on change

| apply | Parse Markdown from AI output and apply file changes pl

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx