Labsco
giuliolibrando logo

SSH Server MCP

โ˜… 5

from giuliolibrando

An MCP server that provides SSH-based remote management tools, acting as proxy

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

SSH MCP Server

A Model Context Protocol (MCP) server for managing Linux servers via SSH. This server provides tools for executing commands, managing files, monitoring services, and analyzing logs on remote Linux systems.

Security Considerations

  • Use SSH key-based authentication when possible
  • Limit SSH access to specific users and IPs
  • Regularly rotate SSH keys and passwords
  • Monitor SSH access logs
  • Use sudo judiciously and limit sudo privileges

API Reference

The server exposes the following MCP tools:

  • test_ssh_connection: Test SSH connectivity
  • get_server_info: Get system information
  • execute_command: Execute commands
  • read_file: Read file contents
  • write_file: Write file contents
  • list_directory: List directory contents
  • get_service_status: Check service status
  • start_service: Start a service
  • stop_service: Stop a service
  • restart_service: Restart a service
  • list_processes: List running processes
  • kill_process: Kill a process
  • check_port: Check port status
  • get_network_connections: Get network connections
  • tail_log: Tail log files
  • search_log: Search log files