ssh-mcp-server
基于 SSH 的 MCP 服务 🧙♀️。已被MCP官方收录 🎉。 SSH MCP Server 🧙♀️. It has been included in the community MCP repository 🎉.
ssh-mcp-server is an MCP server that bridges AI assistants to remote Linux/Unix servers via SSH, enabling secure command execution and file transfers without exposing credentials to the AI model. The server supports both password and private-key authentication, command filtering through whitelist/blacklist rules, proxy connections, and dual transport modes (exec and shell) for direct hosts and bastion/jump-box scenarios. Developers install it via npx and configure their MCP client (Claude Desktop, Cursor, etc.) with connection parameters in JSON format, allowing AI assistants to manage remote infrastructure, debug production issues, or automate DevOps tasks through natural language.
Key Features
Use Cases
- 01Enable AI coding assistants to debug applications on remote development or staging servers
- 02Automate DevOps tasks like log analysis, disk space checks, and service restarts through conversational commands
- 03Deploy code or configuration files to remote servers via AI-guided file uploads
- 04Monitor production infrastructure by querying system metrics and process status through SSH
- 05Execute read-only diagnostic commands on production servers with whitelist restrictions
- 06Manage infrastructure across multiple environments (dev, staging, prod) with named connection profiles
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
ssh-mcp-server — FAQ
What is ssh-mcp-server?+
ssh-mcp-server is an MCP server that allows AI assistants to execute SSH commands and transfer files on remote Linux/Unix servers through the Model Context Protocol, while keeping SSH credentials isolated from the AI model.
How do I install and configure ssh-mcp-server?+
Install via npx without global installation. Add a configuration block to your MCP client's settings file (e.g., Claude Desktop's config.json) with the npx command and SSH connection parameters (host, port, username, password or private key). The server runs automatically when your AI client starts.
Which AI clients work with ssh-mcp-server?+
It works with any AI client that supports the Model Context Protocol, including Claude Desktop, Cursor, Claude Code, and other MCP-compatible applications.
Do I need API keys or special prerequisites?+
You need Node.js installed and valid SSH credentials (password, private key, or both) for the remote server. No API keys are required. For bastion/jump-box scenarios, you may need to configure transport mode to 'shell'.
Is ssh-mcp-server free to use?+
Yes, it's open source and available on GitHub and npm without cost.
How do I restrict which commands the AI can execute?+
Use the --whitelist parameter with comma-separated regex patterns to allow only specific commands, or --blacklist to block dangerous operations like rm, shutdown, or reboot. Whitelists are strongly recommended for production environments.
How do I install ssh-mcp-server?+
Open the source repository on GitHub and follow its README. ssh-mcp-server is a mcp server — MCP Agents Market links you directly to the official repo.
Is ssh-mcp-server free?+
ssh-mcp-server is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.