原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Remote Bridge

作者:varaprasadreddy9676版本 0.1.5i★ –i在你的电脑上运行
注册名称io.github.varaprasadreddy9676/remote-bridge

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

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

在终端中运行这条命令

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"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 varaprasadreddy9676 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4930 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4930 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 4930 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Remote Bridge 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.5)于8个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

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

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。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

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx