Sshmcp
БесплатноНе проверенA stateful SSH MCP server that gives Claude persistent shell sessions over SSH, preserving working directory, environment variables, and state across commands.
Описание
A stateful SSH MCP server that gives Claude persistent shell sessions over SSH, preserving working directory, environment variables, and state across commands.
README
A stateful SSH MCP server for Claude Code. Gives Claude persistent shell sessions over SSH — commands preserve working directory, environment variables, and state across calls.
Features
- Stateful sessions: tmux-backed shells that persist cwd, env, shell state
- Multiple sessions: connect to multiple hosts simultaneously, switch between them
- File operations: upload, download, and write files via SFTP
- Output management: automatic truncation with head/tail preservation
- Background processes: supports
&for long-running commands
Install
pip install -e .
Claude Code config
Add to ~/.claude/claude_desktop_config.json or your MCP settings:
{
"mcpServers": {
"ssh": {
"command": "sshmcp",
"args": []
}
}
}
Tools
| Tool | Description |
|---|---|
ssh_connect |
Connect to a host via SSH (password, key, or agent) |
ssh_exec |
Run a command in the persistent shell |
ssh_read_output |
Read recent terminal output |
ssh_upload |
Upload a local file via SFTP |
ssh_download |
Download a remote file via SFTP |
ssh_write_file |
Write content to a remote file |
ssh_list_sessions |
List all active sessions |
ssh_switch_session |
Switch active session |
ssh_close |
Close a session |
Usage
Once configured, Claude can:
ssh_connect(host="myserver.com", username="user", key_path="~/.ssh/id_ed25519")
ssh_exec(command="cd /opt/app && cat config.yaml")
ssh_exec(command="grep -r 'ERROR' /var/log/app/") # still in /opt/app context
ssh_upload(local_path="./exploit.py", remote_path="/tmp/exploit.py")
Установка Sshmcp
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/icryo/sshmcpFAQ
Sshmcp MCP бесплатный?
Да, Sshmcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Sshmcp?
Нет, Sshmcp работает без API-ключей и переменных окружения.
Sshmcp — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Sshmcp в Claude Desktop, Claude Code или Cursor?
Открой Sshmcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Sshmcp with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
