GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Sync code to remote servers via SSH/rsync and deploy from any AI IDE.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"remote-bridge": {
"command": "npx",
"args": [
"-y",
"remote-bridge-cli"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"remote-bridge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"remote-bridge-cli"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 varaprasadreddy9676 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
When an AI is debugging or deploying on a remote machine, it needs more than "run this command".
It needs to understand things like:
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.
Without a structured tool layer, remote work from AI usually turns into a noisy sequence of shell steps:
RemoteBridge compresses that into a smaller set of reusable operations with clearer intent and better defaults.
Your AI can call:
sync_to_remotedeploypreflight_checkfetch_logsdiagnose_failurecompare_targetsThese 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:
in one compact response.
Direct SSH from an AI tool is still useful when:
RemoteBridge is better when:
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:
remotebridge.yaml and reused on every call.deploy, diagnose_failure, and compare_targets as intent-level operations.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.
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.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:
Raw SSH gives the AI a lot of power, but very little structure.
RemoteBridge adds:
remotebridge.yaml.deploy, diagnose_failure, and compare_targets describe intent, not just shell syntax.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.
RemoteBridge is not trying to beat SSH at being a shell.
It is trying to give AI agents a better abstraction than:
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:
ssh, rsync, log streaming, and MCP stdio handlingFor this project specifically, that means:
ssh and rsyncNode.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.
| Feature | Why it matters |
|---|---|
| Rsync Sync | Push local code to the server without re-uploading everything |
| SSH Multiplexing | Reuses OpenSSH control connections across repeated sync and command calls |
| Structured MCP Tools | Lets the AI call semantic actions instead of building shell strings each time |
| Output Truncation | Keeps command responses small enough to stay useful in model context |
| Preflight Check | Captures runtime facts in one step |
| Deploy Pipeline | Encodes sync → restart → failure-log flow as one operation |
| Failure Diagnosis | Pulls service state, runtime facts, listeners, disk, memory, and logs into one compact summary |
| Target Comparison | Surfaces config drift and runtime drift between environments |
| Safety Gates | Confirmation, hard blocks, and allowlists reduce destructive mistakes |
| Audit Log | Records what actually ran and how it exited |
| Watch Mode | Keeps a remote target in sync during an edit/test loop |
| Per-target SSH Config | Supports host/user/path/port/key per environment |
Without RemoteBridge, an AI debugging a broken deploy often does something like this:
pwd.ls.With RemoteBridge, the same request can be:
You: "The staging deploy is broken. Diagnose it."
The AI can call diagnose_failure and get back:
That is a much better use of context than a multi-turn shell transcript.
Prerequisites: Rust, rsync, and ssh available in PATH.
npm install -g remote-bridge-cli
claude mcp add remote-bridge --scope user -- remote-bridge mcp
See MCP Support below for other tools.
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.
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:
remotebridge.yaml MattersThis file is the reason the MCP tool is more useful than raw SSH.
It stores facts the AI should not have to rediscover:
Once that information is encoded once, every future tool call gets simpler and cheaper.
| Command | Description |
|---|---|
init | Create a new remotebridge.yaml |
sync | Sync local files to the remote server |
sync --dry-run | Preview rsync changes without touching the server |
run | Execute one remote command |
preflight | Collect remote OS and runtime versions |
logs | Fetch recent configured logs |
logs --follow | Stream configured logs live |
restart | Restart the configured service |
deploy | Sync, restart, and fetch failure context if restart fails |
watch | Poll local files and auto-sync on change |
| apply | Parse Markdown from AI output and apply file changes pl
只显示了开头部分;其余内容请在仓库中阅读