SSH Tools
Summary
The SSH Tools MCP server provides a secure interface for AI assistants to connect to and interact with remote servers via SSH. Built using the FastMCP framework and Paramiko library, it exposes three core tools: connecting to SSH servers, executing commands on connected servers, and disconnecting from sessions. This implementation maintains a single global connection state, allowing for persistent SSH sessions throughout a conversation, making it particularly valuable for system administration tasks, server diagnostics, and remote management workflows that require command execution across multiple interactions.
Available Actions(3)
connect_ssh
Connect to an SSH server. Parameters: hostname (string), password (string), username (optional string, default: root), port (optional integer, default: 22)
run_command
Execute a command on the connected server. Parameters: command (string, the command to execute, e.g., nvidia-smi)
disconnect_ssh
Disconnect the current SSH connection.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论