Skip to main content
Glama

MCP SSH Server - Remote Server Control for Claude

šŸš€ Connect Claude AI to your remote server via SSH. Read files, write files, execute commands, and manage your server directly from Claude Desktop!

Features

āœ… Full SSH Access - Connect to any SSH server
āœ… SSH Key Generator - Generate keys directly in installer
āœ… Multiple Servers - Add, remove, and manage unlimited servers
āœ… Easy Server Management - Add servers by just talking to Claude
āœ… No Code Editing - Manage everything through conversation
āœ… File Operations - Read, write, and manage files
āœ… Command Execution - Run any command on your server
āœ… Directory Listing - Browse your server's filesystem
āœ… Auto-Updates - Automatically checks for updates every 12 hours
āœ… Secure - Supports SSH keys and password authentication
āœ… Easy Installation - Simple GUI installer for Windows

Quick Start

1. Download Installer

Download the latest MCP-SSH-Installer.exe from Releases

2. Run Installer

  1. Enter first server details:

    • Server name (e.g., "production")

    • Server IP, port, and username

    • Choose authentication:

      • SSH Key (Recommended):

        • Click "šŸ”‘ Generate New" to create a new SSH key

        • Or click "Browse" to select an existing key

        • Copy the public key shown and add it to your server (instructions provided)

      • Password: Enter your SSH password

  2. Click "āž• Add Server"

  3. Repeat to add more servers (optional)

  4. Click "Install"

3. Restart Claude Desktop

Close and reopen Claude Desktop. You're done! šŸŽ‰

Usage Examples

Once installed, you can ask Claude:

Managing Servers

  • "List all my servers" - Show all configured servers

  • "Add a new server called staging with IP 192.168.1.50, username admin, password mypass123"

  • "Add server named aws-prod, IP 54.123.45.67, port 2222, user root, using SSH key C:\Users\Me\.ssh\aws_key"

  • "Remove server staging" - Delete a server

  • "Edit server production, change IP to 10.0.0.5" - Update server details

  • "Switch to development server" - Change active server

  • "What server am I connected to?" - Show current server

File Operations

  • "List files in /var/www"

  • "Read the file /etc/nginx/nginx.conf"

  • "Create a file /home/user/test.txt with content 'Hello World'"

Commands

  • "Execute command: df -h"

  • "Show me the contents of /var/log"

Manual Installation

If you prefer manual installation:

git clone https://github.com/MaraBank/mcpaddon.git cd mcpaddon npm install

Create config.json with your settings and add to Claude Desktop config.

Multiple Servers

You can add servers directly through Claude without editing any files!

Example conversation:

You: "Add a new server called production with IP 123.45.67.89, username root, using SSH key C:\Users\Me\.ssh\id_rsa" Claude: āœ“ Server "production" added successfully! You: "Add server dev, IP 192.168.1.100, port 22, user admin, password secret123" Claude: āœ“ Server "dev" added successfully! You: "List all servers" Claude: āœ“ production - root@123.45.67.89:22 dev - admin@192.168.1.100:22 You: "Switch to dev" Claude: Switched to server: dev

Or manually create config.json:

{ "active_server": "production", "servers": [ { "name": "production", "server_ip": "123.45.67.89", "server_port": 22, "username": "root", "auth_method": "key", "ssh_key_path": "C:\\Users\\YourName\\.ssh\\id_ed25519" }, { "name": "development", "server_ip": "192.168.1.100", "server_port": 22, "username": "dev", "auth_method": "password", "password": "yourpassword" } ], "auto_update": true, "github_repo": "https://github.com/MaraBank/mcpaddon", "version": "2.0.0" }

Then ask Claude:

  • "List all servers"

  • "Switch to development"

  • "What server am I on?"

  • "Add server staging with IP 10.0.0.5, user ubuntu, password test123"

  • "Remove server old-server"

  • "Edit server production, change password to newpass456"

Auto-Update

The server automatically checks for updates every 12 hours. When an update is available, it will download and install automatically. Just restart Claude Desktop to apply updates.

Security

āš ļø Important Security Notes:

  • SSH Keys Recommended - Use SSH keys instead of passwords

  • Limited User - Create a dedicated user instead of using root

  • Firewall - Ensure your SSH port is properly secured

  • Config Protection - Your config.json contains credentials - keep it safe!

Setting up SSH Keys

Option 1: Generate in Installer (Easiest)

  1. In the installer, select "SSH Key"

  2. Click "šŸ”‘ Generate New"

  3. Copy the public key shown

  4. On your server, run:

mkdir -p ~/.ssh nano ~/.ssh/authorized_keys # Paste the public key, save (Ctrl+X, Y, Enter) chmod 600 ~/.ssh/authorized_keys chmod 700 ~/.ssh

Option 2: Manual Generation

ssh-keygen -t ed25519 ssh-copy-id user@server-ip

Troubleshooting

Connection Issues

  • Verify server IP and port

  • Check SSH credentials

  • Test connection: ssh username@server-ip

  • Check firewall settings

Claude Desktop Not Seeing Server

  • Verify config path in claude_desktop_config.json

  • Restart Claude Desktop completely

  • Check for errors in Claude Desktop logs

Updates Not Working

  • Ensure Git is installed

  • Check GitHub repository URL

  • Verify internet connection

  • Check file permissions

Development

Want to contribute?

git clone https://github.com/MaraBank/mcpaddon.git cd mcpaddon npm install

Make your changes and submit a Pull Request!

Server Management Commands

All server management can be done through natural conversation with Claude:

Adding Servers

With SSH Key:

"Add a server called aws-prod with IP 54.23.45.67, username ubuntu, using SSH key C:\Users\Me\.ssh\aws.pem"

With Password:

"Add server local-dev, IP 192.168.1.50, port 2222, user admin, password mySecretPass"

Minimal (uses defaults):

"Add server test with IP 10.0.0.1, user root, password 123456"

Editing Servers

Change IP:

"Edit server production, change IP to 55.66.77.88"

Change Password:

"Edit server staging, update password to newPassword123"

Change Multiple Fields:

"Edit server dev, change IP to 192.168.2.100, username to developer, port to 2222"

Removing Servers

"Remove server old-staging" "Delete the server named test-server"

Switching Servers

"Switch to production" "Change to development server" "Use the staging server"

Listing Servers

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/MaraBank/mcpaddon'

If you have feedback or need assistance with the MCP directory API, please join our Discord server