npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/mertcankaraoglu-ssh-mcp-server

v1.0.1

Published

Manage your Ubuntu/Linux servers from your Windows computer using **natural language**! This MCP (Model Context Protocol) server enables you to control your remote servers through conversation via Claude Desktop or Cursor IDE by establishing SSH connectio

Readme

SSH MCP Server 🚀

Manage your Ubuntu/Linux servers from your Windows computer using natural language! This MCP (Model Context Protocol) server enables you to control your remote servers through conversation via Claude Desktop or Cursor IDE by establishing SSH connections.


TR: Windows bilgisayarınızdan Ubuntu/Linux sunucularınızı doğal dil ile yönetin! Bu MCP (Model Context Protocol) server, Claude Desktop veya Cursor IDE üzerinden SSH bağlantısı yaparak uzak sunucularınızı konuşarak kontrol etmenizi sağlar.

🎯 Neden Bu Proje?

Geleneksel SSH yönetimi yerine, AI asistanınıza "Ubuntu sunucuma bağlan ve disk kullanımını göster" diyerek işlerinizi halledebilirsiniz. MCP protokolü sayesinde AI, SSH komutlarını sizin için çalıştırır ve sonuçları gerçek zamanlı olarak size sunar.

✨ Özellikler

  • 🔐 Güvenli SSH Bağlantısı - Şifre tabanlı kimlik doğrulama
  • Gerçek Zamanlı Çıktı - Komut çıktılarını anlık görün
  • 🤖 AI Entegrasyonu - Claude Desktop ve Cursor IDE desteği
  • 🎨 Doğal Dil Kontrolü - Komutları konuşarak çalıştırın
  • 📦 Minimal Kurulum - Sadece 3 tool, sıfır karmaşıklık

📋 Gereksinimler

  • Node.js v18 veya üzeri (İndir)
  • Claude Desktop (İndir)
  • SSH erişimi olan bir Linux/Ubuntu sunucu

Node.js Kurulumu

Windows:

  1. nodejs.org adresinden LTS versiyonunu indirin
  2. İndirilen .msi dosyasını çalıştırın
  3. Kurulum tamamlandıktan sonra terminal açın ve node --version yazın

macOS:

# Homebrew ile
brew install node

# Veya resmi site'den indirin

Linux (Ubuntu/Debian):

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs

🚀 Kurulum

Otomatik Kurulum (Önerilen) ⭐

Sadece config dosyanıza ekleyin:

{
  "mcpServers": {
    "ssh": {
      "command": "npx",
      "args": [
        "-y",
        "git+https://github.com/mertcankaraoglu/ssh-mcp.git#main"
      ]
    }
  }
}

Gereksinimler:

  • Node.js v18+ (İndir)
  • Claude Desktop veya Cursor IDE

Manuel Kurulum

1. Projeyi İndirin

git clone https://github.com/mertcankaraoglu/ssh-mcp.git
cd ssh-mcp

2. Bağımlılıkları Yükleyin

npm install

3. MCP'yi Bağlayın

Kullandığınız uygulamaya göre aşağıdaki adımları izleyin:

🖥️ Claude Desktop için

Windows:

%APPDATA%\Claude\claude_desktop_config.json dosyasını açın ve ekleyin:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["C:\\Users\\KULLANICI_ADINIZ\\ssh-mcp\\index.js"]
    }
  }
}

macOS/Linux:

~/Library/Application Support/Claude/claude_desktop_config.json dosyasını açın:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["/tam/yol/ssh-mcp/index.js"]
    }
  }
}

🎯 Cursor IDE için

Windows:

%APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json dosyasını açın:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["C:\\Users\\KULLANICI_ADINIZ\\ssh-mcp\\index.js"]
    }
  }
}

macOS/Linux:

~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["/tam/yol/ssh-mcp/index.js"]
    }
  }
}

4. Uygulamayı Yeniden Başlatın

Claude Desktop veya Cursor'ı kapatıp tekrar açın. MCP server otomatik olarak başlayacaktır.

5. Kurulumu Test Edin

Claude Desktop'ta şu komutu deneyin:

"SSH bağlantısı test et - 192.168.1.100 IP'li sunucuya bağlan"

Eğer MCP server çalışıyorsa, Claude size SSH bağlantı parametrelerini soracaktır.

💡 Kullanım

Mevcut Araçlar

| Araç | Açıklama | |------|----------| | ssh_connect | SSH sunucusuna bağlantı kur | | ssh_exec | Uzak sunucuda komut çalıştır | | ssh_disconnect | SSH bağlantısını kapat |

Örnek Konuşmalar

Bağlantı Kurma:

Siz: "192.168.1.100 IP'li Ubuntu sunucuma bağlan. Kullanıcı adı: ubuntu, şifre: mypassword"
Claude: [ssh_connect aracını kullanarak bağlanır]

Komut Çalıştırma:

Siz: "Disk kullanımını göster"
Claude: [ssh_exec ile 'df -h' komutunu çalıştırır]

Siz: "Son 10 sistem logunu göster"
Claude: [ssh_exec ile 'tail -n 10 /var/log/syslog' çalıştırır]

Siz: "Docker container'larını listele"
Claude: [ssh_exec ile 'docker ps' çalıştırır]

Bağlantıyı Kapatma:

Siz: "SSH bağlantısını kapat"
Claude: [ssh_disconnect aracını kullanır]

🔧 Teknik Detaylar

Kullanılan Teknolojiler

Mimari

┌─────────────────┐
│ Claude/Cursor   │
│   (AI Client)   │
└────────┬────────┘
         │ MCP Protocol
         │ (stdio)
┌────────▼────────┐
│  MCP SSH Server │
│   (Bu Proje)    │
└────────┬────────┘
         │ SSH2
         │
┌────────▼────────┐
│ Ubuntu Server   │
└─────────────────┘

🛡️ Güvenlik Notları

  • ⚠️ Şifreler düz metin olarak config dosyasında saklanmaz, sadece runtime'da kullanılır
  • 🔒 SSH bağlantıları standart SSH2 protokolü ile şifrelenir
  • 💡 Üretim ortamları için SSH key tabanlı kimlik doğrulama önerilir (gelecek sürümlerde eklenecek)

🗺️ Yol Haritası

  • [ ] SSH key desteği
  • [ ] Çoklu sunucu yönetimi
  • [ ] SFTP dosya transferi
  • [ ] Port forwarding
  • [ ] Session kaydetme/yükleme

🤝 Katkıda Bulunma

Katkılarınızı bekliyoruz! Pull request göndermekten çekinmeyin.

  1. Fork edin
  2. Feature branch oluşturun (git checkout -b feature/amazing)
  3. Commit edin (git commit -m 'feat: Add amazing feature')
  4. Push edin (git push origin feature/amazing)
  5. Pull Request açın

📝 Lisans

MIT License - Detaylar için LICENSE dosyasına bakın.

🙏 Teşekkürler


⭐ Projeyi beğendiyseniz yıldız vermeyi unutmayın!


ENG - English Documentation

🎯 Why This Project?

Instead of traditional SSH management, you can handle your tasks by simply telling your AI assistant "Connect to my Ubuntu server and show disk usage". Thanks to the MCP protocol, AI executes SSH commands for you and presents results in real-time.

✨ Features

  • 🔐 Secure SSH Connection - Password-based authentication
  • Real-Time Output - See command outputs instantly
  • 🤖 AI Integration - Claude Desktop and Cursor IDE support
  • 🎨 Natural Language Control - Execute commands by speaking
  • 📦 Minimal Setup - Only 3 tools, zero complexity

📋 Requirements

  • Node.js v18 or higher
  • Claude Desktop or Cursor IDE
  • A Linux/Ubuntu server with SSH access

🚀 Installation

1. Clone the Project

git clone https://github.com/YOUR_USERNAME/ssh-mcp.git
cd ssh-mcp

2. Install Dependencies

npm install

3. Connect MCP

Follow the steps below according to your application:

🖥️ For Claude Desktop

Windows:

Open %APPDATA%\Claude\claude_desktop_config.json and add:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["C:\\Users\\YOUR_USERNAME\\local-mcp-ssh\\index.js"]
    }
  }
}

macOS/Linux:

Open ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["/full/path/ssh-mcp/index.js"]
    }
  }
}

🎯 For Cursor IDE

Windows:

Open %APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["C:\\Users\\YOUR_USERNAME\\local-mcp-ssh\\index.js"]
    }
  }
}

macOS/Linux:

~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json:

{
  "mcpServers": {
    "ssh": {
      "command": "node",
      "args": ["/full/path/ssh-mcp/index.js"]
    }
  }
}

4. Restart the Application

Close and reopen Claude Desktop or Cursor. The MCP server will start automatically.

💡 Usage

Available Tools

| Tool | Description | |------|-------------| | ssh_connect | Establish SSH connection to server | | ssh_exec | Execute command on remote server | | ssh_disconnect | Close SSH connection |

Example Conversations

Connecting:

You: "Connect to my Ubuntu server at 192.168.1.100. Username: ubuntu, password: mypassword"
Claude: [Connects using ssh_connect tool]

Running Commands:

You: "Show disk usage"
Claude: [Executes 'df -h' command via ssh_exec]

You: "Show last 10 system logs"
Claude: [Executes 'tail -n 10 /var/log/syslog' via ssh_exec]

You: "List Docker containers"
Claude: [Executes 'docker ps' via ssh_exec]

Disconnecting:

You: "Close SSH connection"
Claude: [Uses ssh_disconnect tool]

🔧 Technical Details

Technologies Used

Architecture

┌─────────────────┐
│ Claude/Cursor   │
│   (AI Client)   │
└────────┬────────┘
         │ MCP Protocol
         │ (stdio)
┌────────▼────────┐
│  MCP SSH Server │
│  (This Project) │
└────────┬────────┘
         │ SSH2
         │
┌────────▼────────┐
│ Ubuntu Server   │
└─────────────────┘

🛡️ Security Notes

  • ⚠️ Passwords are not stored in config files as plain text, only used at runtime
  • 🔒 SSH connections are encrypted with standard SSH2 protocol
  • 💡 SSH key-based authentication is recommended for production environments (will be added in future versions)

🗺️ Roadmap

  • [ ] SSH key support
  • [ ] Multi-server management
  • [ ] SFTP file transfer
  • [ ] Port forwarding
  • [ ] Session save/load

🤝 Contributing

We welcome your contributions! Feel free to send pull requests.

  1. Fork it
  2. Create your feature branch (git checkout -b feature/amazing)
  3. Commit your changes (git commit -m 'feat: Add amazing feature')
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

📝 License

MIT License - See LICENSE file for details.

🙏 Acknowledgments


⭐ Don't forget to star the project if you like it!