mcp-ssh
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sshconnect to 192.168.1.10 as root and check the disk usage"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-ssh
MCP сервер для подключения по SSH и выполнения команд на удалённом сервере.
Быстрый старт
Установите зависимости:
npm install
Создайте .env на основе .env.example и задайте параметры подключения.
Запустите в режиме разработки:
npm run dev
Или соберите и запустите:
npm run build
npm start
Запуск через docker-compose
Создайте .env на основе .env.example.
Запустите сервис:
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, подключение разрешено только к хостам из списка.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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