SSH MCP Server
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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SSH MCP Serverrun 'df -h' on server 192.168.1.100 with user admin and password secret123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SSH MCP Server
一个基于SSH2和Model Context Protocol (MCP)的SSH服务器,提供远程命令执行功能。
功能特性
通过MCP协议提供SSH远程命令执行工具
支持密码和私钥认证
返回命令执行结果(stdout/stderr/exit code)
基于TypeScript开发,类型安全
Related MCP server: SSH MCP Server
安装
Installing via Smithery
To install SSH Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mfangtao/mcp-ssh-server --client claudeManual Installation
# 克隆仓库
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityFmaintenanceA secure SSH server implementation for Model Context Protocol that enables remote command execution and file operations, supporting both password and key-based authentication.Last updated57
- AlicenseAqualityDmaintenanceA Model Context Protocol server implementation that enables secure remote command execution via SSH, with features for managing and using SSH credentials.Last updated51810MIT
- AlicenseCqualityDmaintenanceA secure server that implements the Model Context Protocol (MCP) to enable controlled execution of authorized shell commands with stdin support.Last updated1MIT
- FlicenseAqualityFmaintenanceA server based on the MCP framework that provides remote server management capabilities through SSH, supporting features like connection pooling, file transfers, and remote command execution.Last updated7
Related MCP Connectors
Remote MCP server for XDaLa workflow preparation on XGR.Network.
MCP (Model Context Protocol) server for Appwrite
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mfangtao/mcp-ssh-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server