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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.