
SSH
STDIOSSH server providing remote command execution over MCP protocol.
SSH server providing remote command execution over MCP protocol.
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
To install SSH Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mfangtao/mcp-ssh-server --client claude
# 克隆仓库 git clone https://github.com/your-repo/ssh-server.git cd ssh-server # 安装依赖 npm install # 构建项目 npm run build
npm start
execute_ssh_command
工具:请求示例:
{ "connection": { "host": "example.com", "port": 22, "username": "user", "password": "password" // 或使用 privateKey }, "command": "ls -la" }
# 开发模式 npm run build -- --watch # 运行测试 # (需要添加测试脚本)
MIT