ssh-for-agents
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SSH_AGENT_CONFIG | No | Path to the hosts.json configuration file. If not set, the server looks for hosts.json in the working directory. | hosts.json |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_hostsA | List the SSH hosts this server can reach and the active safety policy. Call this first: use the returned |
| check_commandA | Dry-run the safety policy for a command without executing it. Returns the verdict ( |
| run_commandA | Run one shell command on an SSH host, subject to the safety policy.
Args: host: Alias of a configured host (call list_hosts to discover them). command: A single shell command to execute. confirm: Authorize a command previously flagged needs_confirmation. timeout: Per-command timeout in seconds (defaults to policy setting). |
| read_fileA | Read a remote file's contents over SFTP (size-capped). Args: host: Alias of a configured host. path: Absolute or relative remote path. max_bytes: Max bytes to read (defaults to policy max_output_bytes). |
| list_dirB | List the entries of a remote directory over SFTP. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/WilliamSmithEdward/pySSHForAgents'
If you have feedback or need assistance with the MCP directory API, please join our Discord server