Skip to main content
Glama
intershopper

remote-admin-mcp

by intershopper

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_MCP_AUDIT_LOGNoPath to audit log file (optional).~/.ssh-mcp-audit.log
SSH_SERVER_1_HOSTNoHostname or IP of the first server.
SSH_SERVER_1_NAMENoName for the first server.
SSH_SERVER_1_PORTNoSSH port for the first server (optional, default 22).22
SSH_SERVER_1_USERNoSSH username for the first server.
SSH_SERVER_1_KEY_FILENoPath to SSH private key file for the first server (if not using password).
SSH_SERVER_1_PASSWORDNoSSH password for the first server (if not using key file).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_serversA

List all configured SSH servers with their connection details. Call this first to discover available server names.

executeA

Execute a command or multi-line script on a remote server via SSH. For single commands use command, for multi-line scripts use script. Requires approval.

read_fileA

Read a file or specific line range from a remote server. For large files (>200 lines), always use lines+offset to read only the relevant section. Use tail=true to read from end (e.g. log files).

write_fileA

Overwrite an entire file on remote server via SFTP. WARNING: replaces full file content. For surgical edits on large files, use replace_in_file instead. Requires approval.

transfer_fileA

Transfer a file between local machine and remote server via SFTP. Use direction=upload to send, direction=download to receive.

serviceA

Manage or query a systemd service. Use action=status to check, or start/stop/restart/reload to control. Actions other than status require sudo.

search_in_fileA

Search for a text pattern in a remote file using grep. Returns matching lines with line numbers and surrounding context. Use this to locate code sections before editing.

replace_in_fileA

Replace a specific text passage in a remote file without loading the full content. Preferred over write_file for editing large files. Returns error if old_text not found. Supports dry_run preview.

get_file_structureA

Get an overview of functions, classes and key definitions in a source file. Returns symbol names with line numbers. Use this to understand a large file before reading or editing specific sections.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/intershopper/remote-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server