MCP Server SSH Client logo

MCP Server SSH Client

by Machine To Machine

A Model Context Protocol Server (Remote SSH client) that connects to remote MCP servers over SSH. This client enables accessing and utilizing MCP tools hosted on remote servers, providing a secure channel for MCP communication.

View on GitHub

Last updated: N/A

What is MCP Server SSH Client?

The MCP Server SSH Client is a tool that allows you to connect to remote MCP servers over a secure SSH channel. It acts as a proxy, forwarding MCP requests to the remote server and returning the responses, enabling you to use tools running on remote machines as if they were installed locally.

How to use MCP Server SSH Client?

  1. Install the client using pip or uv: uv add m2m-mcp-server-ssh-client or pip install m2m-mcp-server-ssh-client. 2. Configure the client with the remote server's host, port, and authentication details (SSH key or key server). 3. Run the client using uv run m2m-mcp-server-ssh-client with appropriate command-line options. 4. Integrate with AI platforms like Claude Desktop by adding the client configuration to the platform's settings.

Key features of MCP Server SSH Client

  • Connect to any MCP server over SSH

  • Proxy all MCP protocol commands through a secure SSH channel

  • Support for key-based authentication

  • Support for MCP capabilities including tools, prompts, and resources

Use cases of MCP Server SSH Client

  • Quick start with demo server

  • Local development testing

  • Remote server connection

  • Integration with AI Platforms (Claude Desktop)

FAQ from MCP Server SSH Client

What is the default SSH port?

The default SSH port is 8022.

How do I specify an SSH key?

Use the --client-key option followed by the path to your private key file.

What is the purpose of the key server?

The key server facilitates dynamic key exchange and verification, simplifying the authentication process.

How do I enable debug logging?

Use the --log-level DEBUG option to enable detailed logging for troubleshooting.

What should I do if I get a 'Connection Refused' error?

Verify the host and port are correct and that the SSH service is running on the remote server.