Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • MCP SSH Server
  • iTerm MCP Server
  • OpenAPI MCP Server
  • Kintone MCP Server
  • SQLite MCP Server
Back to MCP Servers
SSH MCP Server

SSH MCP Server

Public
mfangtao/mcp-ssh-server

A server that enables remote command execution over SSH through the Model Context Protocol (MCP), supporting both password and private key authentication.

Verified
javascript
0 tools
May 30, 2025
Updated May 30, 2025

SSH MCP Server

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

功能特性

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

安装

# 克隆仓库 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 # 运行测试 # (需要添加测试脚本)

依赖

  • ssh2: SSH2客户端/服务器库
  • @modelcontextprotocol/sdk: MCP SDK

许可证

MIT

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • MCP SSH Server
    MCP SSH Server

    A secure SSH server implementation for Model Context Protocol that enables remote command execution ...

    Added May 30, 2025
  • iTerm MCP Server
    iTerm MCP Server

    A Model Context Protocol server that enables AI assistants to interact with iTerm2 terminals, allowi...

    Added May 30, 2025
  • OpenAPI MCP Server
    OpenAPI MCP Server

    A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls throug...

    Added May 30, 2025
  • Kintone MCP Server
    Kintone MCP Server

    A Model Context Protocol server that enables Claude and other AI assistants to access and update Kin...

    25 tools
    Added May 30, 2025
  • SQLite MCP Server
    SQLite MCP Server

    A Model Context Protocol server implementation that enables AI assistants to execute SQL queries and...

    Added May 30, 2025