linux-remote-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| session_connectA | Connect to a Linux host via SSH. target: IP/hostname or a pre-configured alias. Use password or key_file for ad-hoc connections. |
| session_disconnectB | Disconnect an active SSH session. |
| session_listA | List all active SSH sessions with host, user, uptime. |
| execB | Execute a shell command on a remote session. Returns stdout, stderr, exit_code. |
| file_uploadC | Upload a local file to the remote host via SFTP. |
| file_downloadB | Download a file from the remote host via SFTP. |
| file_writeB | Write string content directly to a remote file (creates or overwrites). |
| file_readC | Read the full text content of a remote file. |
| file_existsC | Check whether a file or directory exists on the remote host. |
| host_addB | Save a host configuration (alias, host, user, password/key) for quick reuse. |
| host_removeB | Remove a saved host configuration. |
| host_listA | List all saved host configurations. |
| sys_infoA | Get system overview: OS, kernel, uptime, CPU, memory, disk. |
| sys_usersB | List human users on the system (uid >= 1000). |
| pkg_installC | Install packages. Auto-detects apt/yum/dnf/pacman/apk. |
| pkg_updateC | Update all system packages. Auto-detects package manager. |
| pkg_listC | List installed packages, optionally filtered by name. |
| svc_manageB | Manage a service: start/stop/restart/enable/disable/status. Auto-detects systemd/sysvinit. |
| svc_listC | List currently running services. |
| proc_listB | List top processes sorted by cpu or memory. |
| proc_killB | Kill a process by PID. Default signal 15 (SIGTERM). |
| port_checkB | Check if a specific port is listening and what process uses it. |
| port_listenC | List all listening TCP ports with process info. |
| firewall_allowB | Open a port in firewall. Auto-detects ufw/firewalld/iptables. |
| docker_psA | List Docker containers (running by default; use all=true for all). |
| docker_runB | Run a Docker container with ports, env, volumes, restart policy. |
| docker_stopC | Stop (and optionally remove) a Docker container. |
| docker_logsC | Get recent logs from a Docker container. |
| docker_execC | Execute a command inside a running Docker container. |
| user_addB | Create a Linux user, optionally with password and sudo access. |
| user_delC | Delete a Linux user and their home directory. |
| ctf_serve_httpC | Quickly serve a directory over HTTP (Python http.server). |
| ctf_listen_portC | Start a netcat listener to receive connections/shells. |
| ctf_reverse_shellB | Generate a reverse shell one-liner. Give YOUR ip and port where you're listening. |
| ctf_scan_portsB | Quick port scan from the remote machine using bash /dev/tcp. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 35 tools
Each tool targets a distinct action or resource (e.g., exec vs ctf_listen_port vs port_listen), with clear boundaries even in similar areas like port scanning and checking.
Most tools follow a consistent verb_noun pattern (e.g., file_download, session_connect), but 'exec' is a single verb without a prefix, causing a minor inconsistency.
35 tools is on the higher end but justifiable given the comprehensive coverage of remote Linux administration, including Docker, firewall, and CTF utilities.
Covers all core administrative tasks: session, file, package, service, process, user, system info, Docker, firewall, and basic networking—no obvious gaps for typical remote admin needs.