Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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.

Use ShellVibe whenever the user asks for anything on a remote server (run a command, check a service, read logs, deploy) that you would otherwise do with ssh, scp or a terminal. The servers the user saved in ShellVibe are reached through these tools, not through ssh in a local shell. Flow: list_hosts -> request_host_access (once, with every host the task needs) -> open_session -> run_command -> close_session. To copy a file, use upload_file / download_file instead of scp, sftp or rsync. If list_runbooks already has the operation, prefer run_runbook; if list_snippets has the command, prefer run_snippet. If the user names a server list_hosts does not have, offer add_host rather than ssh. You only ever get hostIds, never hostnames or credentials. A command may pause for the user's approval or be denied by the host's policy: read the error code and adapt rather than falling back to ssh.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_hostsA

Start here to run anything on a remote server over SSH. Lists every host registered in this client's workspace that is visible to MCP agents (a host owner can hide any host from agents entirely; hidden hosts never appear here). Returns {"workspace": {"id", "name"}, "hosts": [...]}. IMPORTANT: this token is bound to ONE workspace for its whole life, named in "workspace" — switching workspaces in the ShellVibe window does not change what this tool returns, and hosts saved in another workspace are never listed here. If the user asks for a host that is missing, tell them which workspace you can see and that the host may live in a different one, which this connection cannot see. For each host this reports its maxMode (the most any grant there can allow), whether the caller currently has access ("granted"/"none") and, if granted, the access mode. The hostId returned here is the ONLY handle any MCP tool ever gives you on a host: hostname, port, username, and credentials are never returned by this or any other tool. To act on a host, request access with request_host_access, then open_session with its hostId.

describe_hostA

Returns detail on one host by id, including the current access grant (if any) and, when the host is reached through another host, that jump host's label. As with list_hosts, no credential, username, or identity id is ever included — jumpHost is a label, not a connection target you can use directly.

request_host_accessA

Requests access to one or more hosts in a single approval window. The user can approve some hosts and deny others, and can change the mode per host, so the response reports "granted" and "denied" separately — plan around what you did not get rather than assuming the whole batch succeeded. A grant below the mode you asked for carries "requestedMode" and a "reason": "max_mode" (the host allows no more), "user_lowered", or, when you asked to raise a grant you already hold, "user_denied", "timeout" or "cancelled" with the held grant kept. Do not re-ask an upgrade the user denied; work within the mode you have or tell the user. Call this once with everything you expect to need for the task at hand: open_session refuses to open an approval window on its own, so a host missing from this call means a HOST_ACCESS_REQUIRED error later.

add_hostA

Saves a new SSH server in ShellVibe, after the user approves it in a window that shows the address you give. You give only the address: never a password, key or other credential. The user attaches their own credentials in that window. If a host with the same hostname and port is already saved, nothing is added and you get its hostId (status "exists"); a label another host already has is refused. A saved host is not granted to you: call request_host_access for it before open_session. Its host key is not trusted yet, so the first open_session may answer HOST_KEY_UNTRUSTED until the user connects once from ShellVibe. Use this only when the user asked you to work on a server that list_hosts does not have.

open_sessionA

SSH into a remote server. Opens a new persistent, PTY-less shell session on a host you already have access to (see request_host_access). Fails with HOST_ACCESS_REQUIRED if you do not — this tool never prompts the user itself, request access first. The returned session stays open (and visible to the user in a read-only terminal tab) until close_session, an idle timeout, or the MCP connection drops; use the returned sessionId with run_command.

list_sessionsA

Lists every session this client currently has open, across every host, including whether each one is busy running a command.

close_sessionA

Closes an open session: tears down its shell and SSH connection. The session id becomes invalid immediately; open a new session to reach the same host again.

interruptA

Stops whatever is running on a session, e.g. a command taking far longer than expected. Safe to call even if nothing is currently running. This resets the session's shell: the working directory is restored, but shell variables and background jobs are gone, and any run_command still in flight returns immediately marked interrupted. Plan on having lost that state rather than assuming continuity.

run_commandA

Runs one shell command on a remote server over SSH, through an already-open session (see open_session). The command is checked against this host's access policy before it runs: it may execute immediately, be denied outright (POLICY_DENIED), be rejected because it needs a terminal (INTERACTIVE_COMMAND — the error message gives you a batch-mode command to retry with instead), or pause while the user is asked to approve it. cd and environment persist across calls on the same session; the response always reports the resulting working directory. stdout/stderr are scanned and secrets are masked as [REDACTED:type] before being returned. A command still running when the timeout runs out comes back with timedOut: true. Output that is not valid UTF-8 comes back lossy with binary: true; pipe it through base64 or xxd to read the bytes. Pass a one-line description of what the command does and why: the user sees it when asked to approve.

upload_fileA

Uploads one regular file from this computer to a remote server over SSH (SFTP), through an already-open session (see open_session). Use this instead of scp, sftp or rsync. To move a directory, tar it first. The transfer is checked against the host's access policy and may be denied (POLICY_DENIED) or pause while the user is asked to approve it. An existing remote file is never replaced unless overwrite is true (DESTINATION_EXISTS). Returns the resolved remote path, the byte count and the SHA-256 of what was sent.

download_fileA

Downloads one regular file from a remote server to this computer over SSH (SFTP), through an already-open session (see open_session). Use this instead of scp, sftp or rsync. To fetch a directory, tar it on the server first. The transfer is checked against the host's access policy and may be denied (POLICY_DENIED) or pause while the user is asked to approve it. The file's bytes are not scanned for secrets. An existing local file is never replaced unless overwrite is true (DESTINATION_EXISTS); the local directory must already exist. Returns the resolved remote path, the byte count and the SHA-256 of what was received.

list_runbooksA

Lists the runbooks in this client's workspace: multi-step operations the user wrote down in ShellVibe, each with its steps, the variables it asks for and the hosts it is usually run on. Prefer a runbook to improvising the same work with run_command: it is exactly what the user has already decided the operation is. A step is a command, a snippet (shown by title) or an approval gate (shown by its message). Variables list their type, whether they are required and, for a choice, the options; a "secret" variable cannot be passed by you: the user types it in the approval window. "defaultHostIds" are only hosts you may see. To run one, call run_runbook, which always asks the user.

run_runbookA

Starts a runbook (see list_runbooks) on one or more hosts and returns at once with a runId; the run goes on in ShellVibe. Every call pauses for the user to approve it in a window that shows the steps, the hosts and the values: there is no policy mode or earlier approval that skips this, because a runbook is several commands on several hosts. Every host must be visible to you and already granted (request_host_access first, or you get HOST_ACCESS_REQUIRED), and not read only: a host whose maxMode or grant is readonly refuses with POLICY_DENIED. Pass only non-secret variables, as plain values (letters, digits, spaces and _-.,:/@%+=~^; no shell syntax); a secret variable is typed by the user in the approval window, and passing one is rejected. Required variables that are missing are reported before the user is asked anything. One run at a time: while another is in progress you get RUNBOOK_BUSY. Follow the run with get_runbook_run; stop it with cancel_runbook_run. An approval step in the runbook waits for the user to press Continue in ShellVibe: you cannot continue it.

list_snippetsA

Lists the snippets in this client's workspace: single commands the user saved in ShellVibe, each with its command text (secrets masked) and the variables it asks for, described as in list_runbooks. Prefer a snippet to retyping the same command with run_command. To run one on hosts, call run_snippet, which always asks the user.

run_snippetA

Starts a snippet (see list_snippets) on one or more hosts as a one-step run with a 60 second timeout, and returns at once with a runId; the run goes on in ShellVibe. Every call pauses for the user to approve it in a window that shows the command, the hosts and the values: no policy mode or earlier approval skips this. For a quick read on one host, run_command is the lighter tool, and the only one a read only host allows. Every host must be visible to you and already granted (request_host_access first, or you get HOST_ACCESS_REQUIRED), and not read only: a host whose maxMode or grant is readonly refuses with POLICY_DENIED. Pass only non-secret variables, as plain values (letters, digits, spaces and _-.,:/@%+=~^; no shell syntax); a secret variable is typed by the user in the approval window, and passing one is rejected. Required variables that are missing are reported before the user is asked anything. One run at a time: while another is in progress you get RUNBOOK_BUSY. Follow the run with get_runbook_run; stop it with cancel_runbook_run. An approval step in the runbook waits for the user to press Continue in ShellVibe: you cannot continue it.

get_runbook_runA

Reports a run you started with run_runbook or run_snippet: an overall status ("running", "waiting_for_approval", "succeeded", "failed" or "cancelled"), each host's status and error, and each step's status, exit code, attempts and output (the last 8 KiB, with secrets masked). Works for the run in progress and for finished ones. waitSeconds holds the call open until the run settles or the time runs out, so you need not poll in a tight loop. When the status is "waiting_for_approval" the user has to press Continue in ShellVibe: you cannot. You can only read runs you started.

cancel_runbook_runA

Stops a runbook run you started: running commands are interrupted, the connections are closed and steps that had not run are marked cancelled. A run that has already finished is reported as it ended, not an error. You can only cancel runs you started.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 17 tools

Disambiguation4/5

Each tool targets a distinct resource and action (hosts, sessions, runbooks, snippets, file transfer), and descriptions draw the boundaries explicitly — e.g. run_command vs. run_snippet vs. run_runbook, and interrupt vs. cancel_runbook_run. The only mild overlap is between the session-level interrupt/close_session pair and the runbook-level cancel_runbook_run, but the descriptions clarify each one's scope.

Naming Consistency4/5

Nearly all tools follow a clean snake_case verb_noun pattern (list_hosts, open_session, run_command, upload_file, get_runbook_run, cancel_runbook_run). The lone bare verb 'interrupt' is a minor deviation but remains readable and unambiguous in context.

Tool Count4/5

17 tools is at the upper end but each maps to a real operation across hosts, sessions, transfers, runbooks and snippets. Nothing feels redundant or speculative, though the surface is broad enough that it borders on heavy.

Completeness4/5

The surface covers the full lifecycle for the agent-facing domain: discover/inspect/grant hosts, open/close/interrupt sessions, run commands, transfer files, and list/run/poll/cancel runbooks and snippets. Gaps exist — there is no delete_host or host edit, and runbooks/snippets can only be listed and executed, not created or modified — but these are plausibly GUI-side operations rather than dead ends for an agent.

Maintenance

ActivityActive
ResponsivenessNo recent community issues