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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
连接到SSH服务器. 参数: hostname (服务器IP地址或主机名), password (SSH密码), username (SSH用户名,默认:root), port (SSH端口,默认:22)
在已连接的服务器上执行命令. 参数: command (要执行的命令,例如:nvidia-smi)
断开当前SSH连接