linux-remote-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yu-xiaohaozi/linux-remote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server