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.
Connect to an SSH server. Parameters: hostname (string), password (string), username (optional string, default: root), port (optional integer, default: 22)
Execute a command on the connected server. Parameters: command (string)
Disconnect the current SSH connection.
No reviews yet. Be the first to review!
Sign in to join the conversation