Labsco
shaike1 logo

MCP SSH Server

โ˜… 56

from shaike1

Securely execute remote commands and perform file operations over SSH, with support for both password and key-based authentication.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MCP SSH Server

A powerful SSH server implementation for Model Context Protocol (MCP). This server enables secure remote command execution and file operations through SSH protocol, supporting both password and key-based authentication.

Features

  • โœจ Secure SSH connection management
  • ๐Ÿ”‘ Password and key-based authentication
  • ๐Ÿ’ป Remote command execution
  • ๐Ÿ“ File operations (upload/download)
  • ๐Ÿ“Š Progress tracking for file transfers
  • ๐Ÿ” Permission management
  • ๐Ÿ“‚ Directory operations
  • ๐Ÿš€ Bulk file transfers
  • ๐Ÿ“ Detailed logging

Development

  1. Clone the repository:
git clone https://github.com/shaike1/mcp-server-ssh.git
cd mcp-server-ssh
  1. Install dependencies:
npm install
  1. Build:
npm run build
  1. Start server:
npm start

Environment Variables

  • SSH_PORT: Server port (default: 8889)
  • SSH_LOG_LEVEL: Logging level (default: info)

Contributing

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

License

MIT