ssh-agent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ssh_connectC | 建立SSH连接 |
| ssh_disconnectC | 断开SSH连接 |
| ssh_statusB | 查询SSH连接状态 |
| ssh_list_connectionsB | 列出所有SSH连接 |
| ssh_executeB | 在SSH连接上执行命令 |
| ssh_disconnect_allB | 断开所有SSH连接 |
| ssh_start_async_commandB | 启动长时间运行的异步命令 |
| ssh_get_command_statusA | 获取异步命令状态和最新输出 |
| ssh_list_async_commandsB | 列出所有异步命令状态 |
| ssh_terminate_commandB | 终止正在运行的异步命令 |
| ssh_cleanup_commandsC | 清理已完成的异步命令 |
| ssh_connect_by_nameB | 使用配置文件中的连接名称建立SSH连接 |
| ssh_list_configB | 列出配置文件中的所有SSH连接 |
| ssh_auto_connectA | 自动连接配置文件中标记为auto_connect的连接 |
| ssh_start_interactiveC | 启动交互式SSH会话(支持sudo、vim、mysql等需要交互输入的命令) |
| ssh_send_inputA | 向交互式会话发送输入(如密码、命令等) |
| ssh_get_interactive_outputB | 获取交互式会话的输出 |
| ssh_list_interactive_sessionsA | 列出所有活跃的交互式会话 |
| ssh_terminate_interactiveC | 终止交互式会话 |
| ssh_connect_by_config_hostC | 使用SSH config文件中的主机名建立连接 |
| ssh_upload_fileB | 上传文件到远程服务器 |
| ssh_download_fileC | 从远程服务器下载文件 |
| ssh_list_remote_directoryC | 列出远程目录内容 |
| ssh_create_remote_directoryB | 在远程服务器上创建目录 |
| ssh_remove_remote_fileB | 删除远程文件或目录 |
| ssh_get_remote_file_infoB | 获取远程文件或目录信息 |
| ssh_rename_remote_pathB | 重命名远程文件或目录 |
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/zhijun/ssh-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server