MCP.so
登录

SSH Tools MCP Server

@lightfate

基本信息

分类

开发工具

传输方式

stdio

作者

lightfate

关于 SSH Tools MCP Server

SSH tools and utilities for MCP servers

SSH Tools MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "ssh-tools-mcp": {
      "command": "python",
      "args": [
        "ssh_server.py"
      ]
    }
  }
}

SSH Tools MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is SSH Tools MCP?

SSH Tools MCP is an MCP (Model Context Protocol) server that allows you to connect to remote servers via SSH and execute commands. It is designed for users who need to run remote commands (for example, nvidia-smi) through a simple, tool-based interface.

How to use SSH Tools MCP?

Install dependencies with pip install -r requirements.txt, then run the server with python ssh_server.py. The server exposes three tools: connect_ssh, run_command, and disconnect_ssh, which can be called with the specified parameters.

Key features of SSH Tools MCP

  • Connect to an SSH server with hostname, username, password, and port
  • Execute remote commands on the connected server
  • Disconnect the current SSH session

Use cases of SSH Tools MCP

  • Remotely monitor GPU status via nvidia-smi on a Linux server
  • Run batch scripts or system checks on multiple servers
  • Quickly execute maintenance commands without opening a separate SSH client

常见问题

1

How do I connect to a server?

Use the `connect_ssh` tool and provide `hostname` (IP or hostname) and `password`. Optionally set `username` (default: root) and `port` (default: 22).

2

What commands can I run?

Any valid command that the remote server accepts, for example `nvidia-smi`. Use the `run_command` tool with the `command` parameter.

3

Do I need to disconnect explicitly?

Yes, it is recommended to call `disconnect_ssh` after finishing to close the SSH connection cleanly.

4

What authentication is supported?

The server currently supports password-based SSH authentication. The target server must allow SSH password authentication.

5

What are the runtime dependencies?

Python with the packages listed in `requirements.txt`. The server itself runs as a Python script (`ssh_server.py`).

评论

开发工具 分类下的更多 MCP 服务器