Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCPX_TRANSPORTNoTransport mode: 'stdio' (default) or 'http'stdio
MCPX_POLICY_MODENoPolicy mode: 'open', 'guarded', or 'readonly'open

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
shell_execB

Run a shell command on the local host and return its combined output.

Timeout and output size are clamped to the server limits. Set use_shell=false to exec an argv without a shell.

shell_scriptA

Run a multi-line script (bash/sh/python) fed on stdin.

With strict and a shell interpreter, set -euo pipefail is prepended so failures abort early.

shell_spawnB

Start a persistent local PTY session; returns a session id.

Drive it with session_send / session_recv.

ssh_execA

Run a command on a remote host over SSH and return its output.

host may be an inventory/ssh_config alias or user@host. known_hosts is strict | accept-new | ignore.

ssh_spawnB

Open a persistent interactive PTY on a remote host; returns a session id.

session_sendC

Send input to a session (local or SSH). enter appends a newline.

session_recvA

Read buffered/new output from a session, waiting up to timeout seconds.

session_resizeC

Resize a session's PTY.

session_killA

Signal a session and (by default) close and reap it.

session_listA

List active sessions with size, age, idle, and byte counters.

ssh_uploadB

Upload a file or tree to a remote host via SFTP.

ssh_downloadC

Download a file or tree from a remote host via SFTP.

ssh_forwardC

Create a port forward.

Spec: L:lport:dhost:dport (local), R:rport:dhost:dport (remote), or D:lport (dynamic SOCKS).

ssh_forward_listB

List active SSH port forwards.

ssh_forward_closeB

Close an SSH port forward by id.

ssh_checkC

Probe connectivity to the given hosts (or the whole inventory).

ssh_hostsA

Show the resolved host inventory (ssh_config + inventory file).

server_infoA

Report version, effective limits, policy mode, and audit status.

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/rmednitzer/relay-shell'

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