Integrations
Provides remote command execution over SSH, allowing interaction with Git repositories through commands like clone, push, pull, etc.
Enables remote execution of Node.js scripts and commands via SSH, returning stdout, stderr, and exit codes.
Allows remote execution of TypeScript compilation and scripts via SSH commands, with typed response handling.
SSH MCP Server
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
功能特性
- 通过MCP协议提供SSH远程命令执行工具
- 支持密码和私钥认证
- 返回命令执行结果(stdout/stderr/exit code)
- 基于TypeScript开发,类型安全
安装
Copy
使用方法
- 启动服务器:
Copy
- 通过MCP客户端调用
execute_ssh_command
工具:
请求示例:
Copy
开发
Copy
依赖
- ssh2: SSH2客户端/服务器库
- @modelcontextprotocol/sdk: MCP SDK
许可证
MIT