Skip to main content
Glama

mcp-ssh

MCP сервер для подключения по SSH и выполнения команд на удалённом сервере.

Быстрый старт

  1. Установите зависимости:

  • npm install

  1. Создайте .env на основе .env.example и задайте параметры подключения.

  2. Запустите в режиме разработки:

  • npm run dev

Или соберите и запустите:

  • npm run build

  • npm start

Related MCP server: MCP SSH Server

Запуск через docker-compose

  1. Создайте .env на основе .env.example.

  2. Запустите сервис:

  • docker compose up -d

Сервис работает по stdio (MCP), проброс портов не требуется.

Доступные инструменты MCP

ssh_connect

Создаёт SSH сессию.

Параметры:

  • host (string, optional)

  • port (number, optional)

  • username (string, optional)

  • privateKey (string, optional)

  • privateKeyPath (string, optional)

  • password (string, optional)

  • connectTimeoutMs (number, optional)

Возвращает: sessionId, host, port, username.

ssh_exec

Выполняет команду в существующей сессии.

Параметры:

  • sessionId (string)

  • command (string)

  • cwd (string, optional)

  • timeoutMs (number, optional)

Возвращает: stdout, stderr, exitCode, exitSignal.

ssh_disconnect

Закрывает сессию.

Параметры:

  • sessionId (string)

Возвращает: disconnected.

ssh_list_sessions

Возвращает список активных сессий.

Ограничение хостов

Если задан MCP_SSH_ALLOWED_HOSTS, подключение разрешено только к хостам из списка.

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables SSH operations including connecting to remote servers, executing commands, and transferring files between local and remote systems. Supports multiple SSH connections with both password and private key authentication methods.
    Last updated
    18
  • F
    license
    B
    quality
    D
    maintenance
    Enables seamless SSH operations including secure connections, file transfers, interactive shell sessions, and Docker container management on remote servers. Supports both password and SSH key authentication with credential management and connection pooling.
    Last updated
    18
  • A
    license
    B
    quality
    D
    maintenance
    Enables SSH connectivity and remote command execution on servers, allowing users to test connections and run commands remotely with support for both local networks and public servers.
    Last updated
    2
    34
    1
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Enables secure SSH connections to multiple remote servers with support for command execution, file transfers (SFTP), directory listing, and both password and key-based authentication.
    Last updated
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • Operate your own Linux servers from your LLM. Requires the SentinelX agent installed per host.

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

  • Issue, rotate and revoke scoped API-key passes for 25+ providers — the agent never sees a real key

View all MCP Connectors

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/atlcomgit/mcp-ssh'

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