An MCP-based SSH server enabling secure remote command execution via SSH2 with password or private key authentication, returning detailed command results including stdout, stderr, and exit codes, developed in TypeScript for type safety.
Unlock the full potential of SSH MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
# 克隆仓库 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
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!