S

Ssh Connect MCP Server

An MCP server project based on the SSH protocol, providing functions such as connection management, command execution, and file transfer, supporting environment variable configuration and multiple authentication methods.
2 points
26

What is the SSH-Connect MCP service?

SSH-Connect is a server component based on the Model Context Protocol that allows you to securely connect to remote servers via the SSH protocol. It provides core functions such as executing commands, uploading and downloading files, and browsing remote directories, all of which can be completed through a simple interface.

How to use the SSH-Connect service?

To use SSH-Connect, you need to configure the connection parameters (host address, username, and authentication information) first, and then you can perform remote operations through simple commands. There is no need to directly handle the details of the SSH protocol throughout the process.

Applicable scenarios

Suitable for scenarios that require remote management of Linux servers, automated deployment scripts, batch execution of commands, or secure file transfer. Particularly suitable for development and operations personnel, system administrators, and automated workflows.

Main features

Connection managementProvides functions for securely establishing and disconnecting SSH connections, supporting both password and key authentication methods
Command executionExecute commands on the remote server and obtain the output results, supporting the setting of a timeout period
File transferSecurely upload and download files, supporting breakpoint resume and large file transfer
File browsingView the file and directory structure on the remote server and obtain file type and size information

Advantages and limitations

Advantages
Provides a unified SSH operation interface, simplifying the complex handling of the SSH protocol
Supports multiple authentication methods, including passwords and SSH keys
Built - in timeout mechanism to prevent long - running commands from blocking the system
Seamlessly integrates with the MCP ecosystem and can be used in combination with other MCP services
Limitations
Only supports the SSH protocol and does not support other remote connection protocols
Requires correct connection parameters to be configured in advance
File transfer performance is greatly affected by network conditions
Some advanced SSH functions (such as port forwarding) have not been implemented

How to use

Install dependencies
First, you need to install the necessary Python dependency packages, mainly the paramiko library
Configure connection parameters
Set the SSH connection parameters through environment variables or configuration files, including the host address, port, username, and authentication information
Start the MCP server
Use the uv tool to start the SSH-Connect MCP server
Perform operations
Perform SSH operations by sending MCP requests, such as connecting to the server, executing commands, or transferring files

Usage examples

Automated deployment scriptUse SSH-Connect to automatically deploy applications to remote servers
Log collectionCollect log files from multiple servers for analysis
Batch server maintenanceExecute the same maintenance commands on multiple servers

Frequently Asked Questions

How to choose between password authentication and key authentication?
What if the connection times out?
How to handle file transfer failures?
How to view detailed error information?

Related resources

Official SSH protocol documentation
Understand the working principle and security features of the SSH protocol
Paramiko library documentation
The Python SSH library used by SSH-Connect
MCP protocol specification
The official specification of the Model Context Protocol
SSH-Connect example code
Example code and configurations for various usage scenarios
Installation
Copy the following command to your Client for configuration
{
  "mcpServers": {
    "ssh-connect": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/ssh-connect",
        "run",
        "ssh-connect"
      ],
      "env": {
        "SSH_HOST": "example.com",
        "SSH_PORT": "22",
        "SSH_USERNAME": "username",
        "SSH_PASSWORD": "password",
        "SSH_KEY_PATH": "/path/to/private_key",
        "SSH_KEY_PASSPHRASE": "key_passphrase"
      }
    }
  }
}

{
  "mcpServers": {
    "ssh-connect": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/ssh-connect",
        "run",
        "ssh-connect"
      ],
      "env": {
        "SSH_HOST": "example.com",
        "SSH_PORT": "22",
        "SSH_USERNAME": "username",
        "SSH_PASSWORD": "password",
        "SSH_KEY_PATH": "/path/to/private_key",
        "SSH_KEY_PASSPHRASE": "key_passphrase"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
859
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
121
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
172
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.8K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
592
5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.3K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
778
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase