Database · MODEL CONTEXT PROTOCOL
mfangtao mcp ssh server
mfangtao mcp ssh server is a community-listed Model Context Protocol server. Review the source repository before installation.
连接能力
mfangtao mcp ssh server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
- 通过MCP协议提供SSH远程命令执行工具
- 支持密码和私钥认证
- 返回命令执行结果(stdout/stderr/exit code)
- 基于TypeScript开发,类型安全
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- 通过MCP客户端调用
execute_ssh_command工具:
请求示例:
{
"connection": {
"host": "example.com",
"port": 22,
"username": "user",
"password": "password" // 或使用 privateKey
},
"command": "ls -la"
}# 开发模式
npm run build -- --watch
# 运行测试
# (需要添加测试脚本)- ssh2: SSH2客户端/服务器库
- @modelcontextprotocol/sdk: MCP SDK
MIT
社区
收藏、评分与讨论
正在载入社区数据…