Skip to main content
Glama

MCP SSH Tools Server

by nwnusun-cool

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_IPYesThe IP address of the SSH server
SSH_PORTNoThe port for SSH connection22
SSH_USERYesThe username for SSH connection
SSH_PASSWORDYesThe password for SSH connection

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
execute

执行远程命令 参数:

  • server_name: 服务器名称 (如果只有一个服务器配置,可以使用 'default')
  • command: 要执行的命令
download_file

下载远程服务器的文件或者目录,保存到指定目录下,如果是目录,则递归下载 参数:

  • server_name: 服务器名称
  • remote_path: 远程文件/目录路径
  • local_src: 本地文件/目录路径
upload_file

将本地的文件或者目录上传到远程服务器 参数:

  • server_name: 服务器名称
  • remote_path: 远程文件/目录路径
  • local_src: 本地文件/目录路径
list_directory

列出远程目录内容 参数:

  • server_name: 服务器名称
  • path: 目录路径,默认为根目录
list_servers

列出所有配置的服务器

test_connection

测试服务器连接 参数:

  • server_name: 服务器名称
add_server_config

动态添加服务器配置 参数:

  • name: 服务器名称
  • ip: 服务器IP地址
  • user: SSH用户名
  • password: SSH密码
  • port: SSH端口,默认22

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/nwnusun-cool/mcp-server-ssh-tools'

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