Simple SSH MCP Server
AI 어시스턴트에게 세션 관리, 명령 실행, 대화형 셸, 파일 전송, 포트 포워딩 및 시스템 진단 등 완전한 SSH/SFTP 원격 작업 기능을 제공하는 MCP 서버입니다.
Claude Desktop, VS Code + GitHub Copilot 및 모든 MCP 호환 클라이언트와 함께 작동합니다.
패키지
패키지 | 설명 |
MCP 서버 (49개 도구) — 독립형 CLI 및 npm 패키지 | |
VS Code 확장 프로그램 — GitHub Copilot에 서버 자동 등록 |
Related MCP server: ssh-mcp
기능
세션 관리 — 비밀번호 또는 키 기반 인증을 통한 연결/연결 해제/핑
명령 실행 — stdout/stderr 캡처, 타임아웃, 종료 코드를 포함한 명령 실행
Sudo 실행 — stdin을 통해 주입된 비밀번호로 권한 상승 명령 실행 (로그에 남지 않음)
백그라운드 작업 — 폴링 및 취소 기능을 갖춘 장기 실행 명령
대화형 셸 — 읽기/쓰기/크기 조절이 가능한 PTY 셸
SFTP 작업 — 업로드, 다운로드, 읽기, 쓰기, 삭제, 목록 보기, 상태 확인
포트 포워딩 — 로컬(-L) 및 원격(-R) SSH 터널
시스템 진단 — OS, CPU, 메모리, 디스크, 네트워크, 부하, 프로세스
파일 검색 및 분석 — 파일 찾기, 내용 grep, diff, tail, 체크섬
서버 관리 — 서비스, 프로세스, cron, 네트워크 진단, 사용자
다중 호스트 워크플로우 — 명령 브로드캐스트, 호스트 간 파일 전송, 점프/배스천 연결, 스크립트 실행
세션 인텔리전스 — 시스템 스냅샷, 스냅샷 diff, 연결 북마크
컨테이너 인식 — Docker/Podman 컨테이너 목록, 로그, exec
감사 로깅 — 필터링이 가능한 NDJSON 구조화 로그
빠른 시작
독립형 (npm)
npm install -g simple-ssh-mcp-serverClaude Desktop
claude_desktop_config.json에 추가:
{
"mcpServers": {
"ssh": {
"command": "npx",
"args": ["ssh-mcp-server"],
"env": {
"SSH_MCP_MAX_CONNECTIONS": "10",
"SSH_MCP_HOST_KEY_MODE": "accept"
}
}
}
}VS Code + GitHub Copilot
SSH MCP VS Code 확장 프로그램을 설치하세요. VS Code가 실행될 때 서버가 자동으로 시작됩니다. VS Code 1.99 이상 및 GitHub Copilot이 필요합니다.
도구 (49개)
카테고리 | 도구 |
세션 |
|
실행 |
|
백그라운드 |
|
셸 |
|
SFTP |
|
포트 포워딩 |
|
파일 검색 |
|
서버 관리 |
|
다중 호스트 |
|
세션 인텔리전스 |
|
컨테이너 |
|
진단 |
|
구성
모든 설정은 환경 변수를 통해 수행됩니다:
변수 | 기본값 | 설명 |
|
| 최대 동시 SSH 세션 수 |
|
| 감사 로그 디렉토리 |
|
| PTY 셸의 기본 TERM |
|
| 터미널 너비 |
|
| 터미널 높이 |
|
| 명령 타임아웃 (ms) |
|
| 호스트 키: |
|
|
|
전체 구성 참조는 서버 README를 확인하세요.
보안
Sudo 비밀번호는 stdin을 통해 주입되며, 절대 로그에 남지 않음
출력에서 ANSI 이스케이프 시퀀스 제거
출력 잘림(truncation)을 통해 무제한 메모리 사용 방지
SSH keepalive를 통해 끊긴 연결 감지
CI에서 ESLint 보안 플러그인 + Gitleaks + CodeQL + Trivy 사용
라이선스
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server giving AI agents full SSH access with persistent sessions, structured command output, SFTP file transfer, and port forwarding.1868 PyPI12MIT
- AlicenseAqualityBmaintenanceAn MCP server that gives AI agents SSH access to remote machines through your local OpenSSH client, enabling remote command execution, file transfer, persistent shell sessions, and port forwarding.17521 PyPI33MIT
- AlicenseNot gradedqualityBmaintenanceMCP server enabling AI assistants to securely operate remote servers via persistent SSH sessions, with tools for command execution, file transfer, directory listing, and system monitoring.4MIT
- AlicenseAqualityCmaintenanceAn open MCP server that gives any AI agent SSH access to remote Linux/Unix machines — shell commands, file read/write, and SFTP transfers.1143 PyPIMIT