Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level for the server (error, warn, info, debug).
KNOWN_HOSTS_PATHNoCustom path to the known_hosts file for host key verification.
SSH_DEFAULT_KEY_DIRNoCustom directory to search for SSH keys.
STRICT_HOST_KEY_CHECKINGNoEnable strict host key checking. Set to 'true' and optionally provide KNOWN_HOSTS_PATH to enforce verification.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ssh_open_session

Opens a new SSH session with authentication

ssh_close_session

Closes an SSH session

proc_exec

Executes a command on the remote system

proc_sudo

Executes a command with sudo privileges

fs_read

Reads a file from the remote system

fs_write

Writes data to a file on the remote system

fs_stat

Gets file or directory statistics

fs_list

Lists directory contents

fs_mkdirp

Creates directories recursively

fs_rmrf

Removes files or directories recursively

fs_rename

Renames or moves a file/directory

ensure_package

Ensures a package is installed or removed

ensure_service

Ensures a service is in the desired state

ensure_lines_in_file

Ensures specific lines are present or absent in a file

patch_apply

Applies a patch to a file

os_detect

Detects operating system and environment information

ssh_list_sessions

Lists all active SSH sessions with their details

ssh_ping

Checks if an SSH session is still alive and responsive

ssh_list_configured_hosts

Lists all hosts configured in ~/.ssh/config

ssh_resolve_host

Resolves a host alias from ~/.ssh/config to connection parameters

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/oaslananka/mcp-ssh-tool'

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