Skip to main content
Glama

MCP SSH Server

by mahathirmuh

ssh_get_working_directory

Retrieve the current working directory path for an active SSH connection to help users track their location on remote servers during file operations and navigation.

Instructions

Get the current working directory for a connection

Input Schema

NameRequiredDescriptionDefault
connectionIdYesSSH connection ID

Input Schema (JSON Schema)

{ "properties": { "connectionId": { "description": "SSH connection ID", "type": "string" } }, "required": [ "connectionId" ], "type": "object" }

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/mahathirmuh/mcp-ssh-server'

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