Provides Docker environment management for remote servers, enabling execution of commands within containers.
Supports connection and command execution on Linux-based remote servers through SSH.
Enables remote terminal access and command execution on macOS systems.
Requires Node.js environment for running the MCP server with support for Node.js version 14.0.0+.
Provides GPU monitoring capabilities for NVIDIA GPUs, including usage statistics and management on remote servers.
Requires Python 3.8+ for the MCP server with support for executing Python scripts on remote servers.
Supports running PyTorch training scripts on remote GPU servers, particularly for AI development workflows.
Supports monitoring and management of Tesla GPU servers (A100, V100) for high-performance computing tasks.
Provides comprehensive tmux session management for persistent terminal sessions on remote servers.
Uses YAML for configuration files, including server definitions and connection settings.
Remote Terminal MCP
一个强大的远程终端管理模块化控制协议(MCP)服务器,为Cursor提供完整的远程服务器配置、连接管理和代码同步功能。
🌟 主要功能
- 智能服务器配置 - 支持SSH直连、Relay跳板机、Docker容器
- 代码同步系统 - 自动同步本地和远程代码库
- FTP服务部署 - 自动部署和管理远程FTP服务
- Git集成 - 本地stash和远程同步
- 配置管理 - 完整的服务器配置向导
🚀 快速开始
安装
配置
在Cursor中配置MCP服务器:
🔄 同步工具使用指南
1. Git同步工具 (git_sync
)
功能: 同步本地和远程代码库,确保代码一致性
使用场景:
- 开发前同步远程最新代码
- 确保本地和远程代码库一致
- 备份本地修改并同步远程代码
提示词示例:
参数说明:
server_name
: 服务器名称(必需)local_path
: 本地Git仓库路径(必需)remote_path
: 远程Git仓库路径(必需)branch
: Git分支名称(可选)commit_hash
: 特定提交哈希(可选)force
: 强制同步(可选,默认false)
2. 自动同步启用工具 (autosync_enable
)
功能: 启用自动同步,部署远程FTP服务并配置本地同步
使用场景:
- 开发过程中自动同步本地修改到远程
- 部署远程FTP服务用于文件同步
- 配置VSCode SFTP扩展
提示词示例:
参数说明:
server_name
: 服务器名称(必需)local_path
: 本地工作目录(可选,默认使用配置)remote_path
: 远程工作目录(可选,默认使用配置)
3. 自动同步禁用工具 (autosync_disable
)
功能: 禁用自动同步,停止远程FTP服务
使用场景:
- 开发完成后停止自动同步
- 停止远程FTP服务
- 清理同步配置
提示词示例:
参数说明:
server_name
: 服务器名称(必需)
📋 完整工作流程示例
开发工作流程
部署工作流程
🔧 高级配置
服务器配置
在配置向导中可以设置:
- SSH连接信息(主机、用户名、端口)
- Docker容器配置
- 同步配置(FTP端口、用户名、密码)
- 文件包含/排除模式
同步配置选项
- FTP端口: 默认8021
- FTP用户: 默认syncuser
- 包含模式: *.py, *.js, *.md
- 排除模式: *.pyc, pycache, .git
🛠️ 故障排除
常见问题
- 路径不存在错误
- 非Git仓库错误
- FTP服务启动失败
调试命令
📚 更多资源
🤝 贡献
欢迎提交Issue和Pull Request!
�� 许可证
MIT License
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A unified remote terminal management server that simplifies complex SSH connections and server management through MCP protocol, allowing users to control multiple remote servers with natural language commands as easily as local operations.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.Last updated -1070PythonMIT License
- -securityFlicense-qualityA simple MCP server that allows accessing and executing shell commands on a VM machine through a web-based terminal interface, with automatic tunneling to make the VM accessible from anywhere.Last updated -733JavaScript
- AsecurityFlicenseAqualityA server that enables remote command execution over SSH through the Model Context Protocol (MCP), supporting both password and private key authentication.Last updated -1132JavaScript
- -securityAlicense-qualityA server that enables secure interaction with remote SSH hosts through standardized MCP interface, providing functions like listing hosts, executing commands, and transferring files using native SSH tools.Last updated -5512JavaScriptMIT License