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.

WHAT IT CONNECTS

What mfangtao mcp ssh server gives an AI Agent

The source catalog does not include a structured feature list. Review the repository documentation before use.

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.

README

Repository documentation

SSH MCP Server

Node.js Version TypeScript smithery badge

一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。

SSH Server MCP server

功能特性

  • 通过MCP协议提供SSH远程命令执行工具
  • 支持密码和私钥认证
  • 返回命令执行结果(stdout/stderr/exit code)
  • 基于TypeScript开发,类型安全

安装

Installing via Smithery

To install SSH Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @mfangtao/mcp-ssh-server --client claude

Manual Installation

# 克隆仓库
git clone https://github.com/your-repo/ssh-server.git
cd ssh-server

# 安装依赖
npm install

# 构建项目
npm run build

使用方法

  1. 启动服务器:
npm start
  1. 通过MCP客户端调用execute_ssh_command工具:

请求示例:

{
  "connection": {
    "host": "example.com",
    "port": 22,
    "username": "user",
    "password": "password"  // 或使用 privateKey
  },
  "command": "ls -la"
}

开发

# 开发模式
npm run build -- --watch

# 运行测试
# (需要添加测试脚本)

依赖

许可证

MIT

View README on GitHub

COMMUNITY

Save, rate, and discuss

Loading community data…