ssh-mcp-server
An MCP service based on SSH that allows AI assistants to execute remote SSH commands via a standardized interface.
- Type
- MCP
- Open source
- Yes
- GitHub Stars
- ★ 1.0k
- Source
- mcp-github
- Repository
- github.com/classfang/ssh-mcp-server
Overview
ssh-mcp-server is a bridge tool that enables AI assistants supporting the MCP protocol to execute remote SSH commands through a standardized interface. This allows AI assistants to securely operate remote servers, run commands, and retrieve results without directly exposing SSH credentials to the AI model. It supports multiple secure connection methods, flexible whitelist/blacklist mechanisms, and bidirectional file transfer. Ideal for developers and system administrators who need remote server management.
Capabilities
- ▪Supports password and private key authentication
- ▪Flexible command whitelist/blacklist control
- ▪Complies with MCP protocol specifications
- ▪Supports both exec and shell transmission modes
- ▪Supports HTTP access
- ▪Supports bidirectional file transfer
Use cases
Setup
Run directly with NPX: `npx -y @fangjunjie/ssh-mcp-server --host <your_host> --port 22 --username <your_username> --password <your_password>`
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How to configure SSH connection?
You can configure using account password, private key, or reuse settings from ~/.ssh/config.
What transmission modes are supported?
Supports both exec and shell transmission modes.
How to restrict executable commands?
Set command whitelist and blacklist using the --whitelist and --blacklist parameters.
Related skills
valaxy
A static blog framework based on Vue 3 and Vite with AI capabilities.
sast-skills
Transform your AI coding assistant into a SAST scanner to automatically detect vulnerabilities in code.
Lightswind-UI-Library
AI-native CLI-first React component library with MCP Server support.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.