跳到正文
TakoAPI
返回技能列表

mcp-ssh-manager

由 imaxtomas 提供

DevOps & Cloud
1.4k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Call ssh_session_list to check for an existing session on the target server

  2. 2

    Start a new session with ssh_session_start server="prod" name="deploy"

  3. 3

    Send commands via ssh_session_send to pull the latest code, install dependencies, and build

  4. 4

    Upload the compiled dist folder using ssh_upload to the remote web root

  5. 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 或你在用的任意编程智能体里。

链接