mcp-ssh-manager
由 imaxtomas 提供
DevOps & Cloud简介
This skill should be used when the user asks to "run ssh command", "execute on server", "ssh session", "upload.
描述
该技能的功能
Connects AI agents to remote servers over SSH using the mcp-ssh-manager MCP server. Supports command execution, file transfers, port tunneling, session management, and server monitoring through a consistent set of tools. Results can be persisted to a local workdir structure for comparison and audit.
Maintains stateful SSH sessions across multi-step workflows, avoiding the overhead of re-authenticating for each command.
何时使用
- Deploy a Node.js app to a remote server via persistent SSH session
- Tail nginx access logs and filter for errors in real time
- Create a local port forward to access a remote database
- Schedule nightly file backups on a remote host
- Run a health check across CPU, memory, and running services
示例工作流
User asks: Deploy the latest build to the production server
- 1
Call ssh_session_list to check for an existing session on the target server
- 2
Start a new session with ssh_session_start server="prod" name="deploy"
- 3
Send commands via ssh_session_send to pull the latest code, install dependencies, and build
- 4
Upload the compiled dist folder using ssh_upload to the remote web root
- 5
Restart the application process, then close the session with ssh_session_close
Application is updated and running on the remote server; session is cleanly closed
前置要求
- SSH access credentials configured in the mcp-ssh-manager server (host, user, key or password)
安装
clawhub install imaxtomas/mcp-ssh-manager运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。