ssh MCP server
2026년 11월 14일 커밋AI 어시스턴트가 쉘 명령을 실행하고, SFTP를 통해 파일을 전송하며, SSH로 원격 서버 플릿을 관리할 수 있도록 지원합니다.
다른 이름 blackaxgit/ssh-mcp
- 스타
- 6
- Tools
- 6
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MPL-2.0
ssh MCP란?
ssh은(는) MCP server입니다. AI 어시스턴트가 쉘 명령을 실행하고, SFTP를 통해 파일을 전송하며, SSH로 원격 서버 플릿을 관리할 수 있도록 지원합니다. 6개 도구를 제공합니다. 예: list_servers, list_groups, execute.
프로젝트 README에서 생성된 요약
ssh MCP server 정보
ssh-mcp를 사용하면 AI 어시스턴트를 통해 원격 서버 플릿을 관리할 수 있습니다. 이 MCP server는 Claude와 같은 AI 클라이언트에 SSH 인프라에 대한 직접적인 액세스 권한을 제공하여, 쉘 명령 실행, SFTP 파일 전송, 전체 서버 그룹 쿼리 등을 가능하게 합니다. 자연어 대화를 통해 운영(production) 또는 스테이징 환경을 관리하고자 하는 개발자와 운영자를 위해 설계되었습니다.
이 서버는 기존의 ~/.ssh/config와 직접 통합되어 호스트, 포트, 사용자 및 identity 세부 정보를 가져오므로 MCP 설정에 인증 정보를 저장할 필요가 없습니다. 데스크톱 애플리케이션을 위한 로컬 stdio 전송과 bearer-token 인증을 사용하는 streamable HTTP를 통한 원격 배포를 모두 지원합니다. 안전성을 높이기 위해 파괴적인 작업 전에 경고를 보내는 위험 명령어 감지 기능과, 연결을 설정하지 않고 명령어, 작업 디렉토리 및 타임아웃을 미리 볼 수 있는 dry_run 모드가 포함되어 있습니다.
사용자는 호스트를 그룹으로 구성하여 여러 서버에서 병렬로 실행할 수 있습니다. 로컬 파일 전송은 SFTP local-path 제한을 통해 보안이 유지되며, 모든 업로드 및 다운로드가 지정된 transfer_root 디렉토리 내에서만 이루어지도록 보장합니다.
활용 사례
- 1서버 그룹 전체에 명령어 실행AI 어시스턴트에게 운영 그룹 내의 모든 서버에서 특정 쉘 명령을 동시에 실행하도록 요청합니다.
- 2SFTP를 통한 파일 전송보안 파일 전송 프로토콜을 사용하여 AI가 원격 호스트로 파일을 업로드하거나 다운로드하도록 지시합니다.
- 3파괴적인 작업 미리 보기dry run 기능을 사용하여 명령어가 실행되기 전에 정확히 어떤 서버와 디렉토리를 대상으로 하는지 확인합니다.
- 4HTTP를 통한 원격 인프라 관리컨테이너 환경에 서버를 배포하고 bearer token 인증을 사용하여 네트워크를 통해 연결합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
ssh MCP 도구 6
README에서 감지됨list_serverslist_groupsexecuteexecute_on_groupupload_filedownload_file
| list_servers | — | |
| list_groups | — | |
| execute | — | |
| execute_on_group | — | |
| upload_file | — | |
| download_file | — |
구성
SSH_MCP_CONFIGSSH_MCP_TRANSPORT
| 이름 | 설명 | 유형 |
|---|---|---|
| SSH_MCP_CONFIG | — | |
| SSH_MCP_TRANSPORT | — |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능blackaxgit/ssh-mcp is public and reachablegithub.com/blackaxgit/ssh-mcp ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MPL-2.0spdx.org/licenses/MPL-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-09github.com/blackaxgit/ssh-mcp ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음6 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기ssh-mcp
SSH MCP server that lets AI assistants execute commands on remote servers.
What is this
ssh-mcp is a Model Context Protocol server that gives AI assistants like Claude direct access to your SSH infrastructure. Once configured, Claude can run commands, transfer files, and query server groups across your fleet without leaving the conversation.
Connection details are read from your existing ~/.ssh/config. No credentials are stored in the MCP configuration.
Features
- Run shell commands on individual servers or across entire groups in parallel
- SFTP file upload and download over the existing SSH session
- Connection pooling — reuses SSH connections across tool calls
- Dangerous command detection — warns before executing destructive operations
- Server groups for organizing hosts (production, staging, per-service)
- SSH config integration — reads host, port, user, and identity from
~/.ssh/config - Custom config path via
SSH_MCP_CONFIGenvironment variable dry_runpreviews — see which server, command, working directory and timeout would be used, without connecting- SFTP local-path confinement — every local path stays inside a configured
transfer_root - stdio or streamable-HTTP transport, with bearer-token auth for network deployments
- Built-in
ssh-mcp healthchecksubcommand for Docker'sHEALTHCHECK - Optional OpenTelemetry tracing — the API ships with the MCP SDK; add an SDK and exporter to record anything
Quick Start
Install
# Run directly with uvx (no install required)
uvx blc-ssh-mcp
# Or install with pip
pip install blc-ssh-mcp
Requires Python 3.11+. Install uv to use uvx.
The PyPI package is
blc-ssh-mcp, notssh-mcp. The namessh-mcpon PyPI belongs to an unrelated project by a different author. Installing it will not give you this server. Releases before 0.6.1 documented the wrong name — if you followed those instructions, uninstallssh-mcpand installblc-ssh-mcp.
Docker
A prebuilt image is published to GitHub Container Registry for linux/amd64 and linux/arm64 (0.8.1 and newer — 0.8.0 and earlier are amd64-only and will not run on Apple Silicon or AWS Graviton):
docker pull ghcr.io/blackaxgit/ssh-mcp:latest
Or run with Docker Compose:
services:
ssh-mcp:
image: ghcr.io/blackaxgit/ssh-mcp:latest
stdin_open: true
restart: unless-stopped
environment:
SSH_MCP_CONFIG: /config/servers.toml
volumes:
- ./servers.toml:/config/servers.toml:ro
- ~/.ssh:/home/sshmcp/.ssh:ro
The image uses a non-root sshmcp user (uid 1000). Mount your SSH keys and config file read-only. compose.yaml in the repo carries a fuller example — it builds from the local Dockerfile rather than pulling the published image, and includes the HTTP-transport service, ulimits and healthcheck guidance omitted above.
Create a config file
mkdir -p ~/.config/ssh-mcp
cp config/servers.example.toml ~/.config/ssh-mcp/servers.toml
Edit ~/.config/ssh-mcp/servers.toml and add your servers. Server names must match Host entries in ~/.ssh/config.
Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your platform:
{
"mcpServers": {
"ssh-mcp": {
"command": "uvx",
"args": ["blc-ssh-mcp"]
}
}
}
To use a non-default config path, pass the environment variable:
{
"mcpServers": {
"ssh-mcp": {
"command": "uvx",
"args": ["blc-ssh-mcp"],
"env": {
"SSH_MCP_CONFIG": "/path/to/servers.toml"
}
}
}
}
Restart Claude Desktop after editing the config.
Add to Claude Code
If you use Claude Code instead of Claude Desktop, you can set everything up from the terminal:
# 1. Add the MCP server
claude mcp add ssh-mcp -- uvx blc-ssh-mcp
# 2. Create the config directory and copy the example
mkdir -p ~/.config/ssh-mcp
curl -sL https://raw.githubusercontent.com/blackaxgit/ssh-mcp/main/config/servers.example.toml \
> ~/.config/ssh-mcp/servers.toml
# 3. Edit with your servers (server names must match ~/.ssh/config Host entries)
${EDITOR:-nano} ~/.config/ssh-mcp/servers.toml
# 4. Restrict permissions
chmod 600 ~/.config/ssh-mcp/servers.toml
To use a custom config path:
claude mcp add ssh-mcp -e SSH_MCP_CONFIG=/path/to/servers.toml -- uvx blc-ssh-mcp
Configuration
Environment variables
| Variable | Default | Purpose |
|---|---|---|
SSH_MCP_CONFIG |
— | Absolute path to a TOML config file. Overrides the default search path. |
SSH_MCP_LOG_FORMAT |
console |
Log output format. Set to json to emit single-line JSON events (timestamp, level, event, contextvars) suitable for log aggregators like Loki, Datadog, or Splunk. Any other value falls back to the colorized console renderer. |
SSH_MCP_TRANSPORT |
stdio |
MCP transport. stdio = classic subprocess transport (default, used by Claude Desktop / Claude Code via uvx blc-ssh-mcp). http or streamable-http = run as a network service over MCP streamable HTTP. |
SSH_MCP_HTTP_HOST |
127.0.0.1 |
Bind address for HTTP transport. Binding to any non-localhost value (e.g. 0.0.0.0) REQUIRES SSH_MCP_HTTP_TOKEN — startup aborts otherwise. |
SSH_MCP_HTTP_PORT |
8000 |
TCP port for HTTP transport. |
SSH_MCP_HTTP_TOKEN |
— | Shared bearer secret. When set, every request must carry Authorization: Bearer <token> (scheme case-insensitive per RFC 7235) or receive HTTP 401. Mandatory for non-localhost binds (unless SSH_MCP_HTTP_AUTH=none). Minimum length 16 characters, and the value must be printable ASCII with no whitespace — a token containing a control character, an interior space or non-ASCII text cannot be sent in an HTTP header, so it is rejected at startup rather than returning 401 to every client forever. Leading/trailing whitespace is stripped so .env files with trailing newlines work as expected; a value that is present but strips to nothing aborts startup, since silently falling back to no authentication is never what an operator configuring a token meant. |
SSH_MCP_HTTP_TOKEN_FILE |
— | Path to a file containing the bearer token (alternative to SSH_MCP_HTTP_TOKEN). Read at startup, stripped of whitespace, and a UTF-8 BOM is removed (Windows editors add one by default). Preferred for Docker/Kubernetes secrets: mount the secret file and point this env var at it. Validated at startup. Aborts on: a non-regular file (directory, fifo, device); more than 64 KiB, enforced on the size snapshot and on the bytes actually read; a file writable by group or other, since whoever can write it chooses the token that authorises remote command execution; content that is not valid UTF-8; and a file that exists but is empty or whitespace-only. Warns on: a mode readable beyond its owner, and an owner that is neither this process nor root — those two only warn because Docker (0444) and Kubernetes (0644) secret mounts are world-readable and commonly root-owned, so refusing would break them. Prefer 0600 on a shared host. Symlinks are followed, so Kubernetes' ..data projection works. Permission and ownership checks are POSIX-only and skipped on Windows, where the mode bits are synthesised. |
SSH_MCP_HTTP_AUTH |
bearer |
Authentication mode. bearer (default) enables the built-in middleware. none disables it entirely — useful when ssh-mcp sits behind a trusted reverse proxy that handles auth at the edge. Combining none with a non-localhost bind REQUIRES the explicit acknowledgement env var below. |
SSH_MCP_HTTP_NETWORK_NO_AUTH |
— | Magic-string escape hatch. Must equal literal I_ACCEPT_RCE_RISK to allow SSH_MCP_HTTP_AUTH=none + non-localhost bind. Intentionally verbose so nobody sets it by accident. |
SSH_MCP_HTTP_KEEPALIVE_TIMEOUT |
2 |
uvicorn timeout_keep_alive in seconds. Idle HTTP/1.1 connections are closed after this many seconds. v0.4.0 default (5s) accumulated enough concurrent connections under bursty n8n traffic to exhaust the container's 1024 fd limit — v0.4.1 default 2s is safer for spiky clients. Increase to 5–10 for long-polling MCP clients behind a load balancer. |
SSH_MCP_HTTP_LIMIT_CONCURRENCY |
256 |
uvicorn limit_concurrency. Max simultaneous in-flight requests before returning HTTP 503. Prevents unbounded growth under burst load. Tune up for high-QPS deployments; tune down on small containers. |
SSH_MCP_HTTP_BACKLOG |
128 |
uvicorn backlog — TCP listen backlog for the accept queue. Smaller caps SYN-flood exposure. |
SSH_MCP_HTTP_STATELESS |
false |
Set to true for stateless sessions (recommended for load-balanced or serverless deployments). Default is stateful with server-side sessions. |
SSH_MCP_HTTP_ALLOWED_HOSTS |
— | Comma-separated extra Host-header values the SDK's DNS-rebinding protection should permit (e.g. ssh-mcp.internal:*,api.example.com:8000). Localhost aliases are always permitted. Only a trailing :* port wildcard is supported: any other wildcard — including a *.subdomain suffix — aborts startup, because the MCP SDK matches such an entry literally and would reject every request. List concrete hostnames. |
SSH_MCP_TRANSFER_ROOT |
$XDG_DATA_HOME/ssh-mcp/transfers |
Directory SFTP transfers are confined to. Takes precedence over transfer_root in [settings]. See Local path confinement. |
XDG_CONFIG_HOME |
~/.config |
Honoured when searching for ssh-mcp/servers.toml (see Config file location). |
XDG_DATA_HOME |
~/.local/share |
Base directory for the default transfer root. |
HYPOTHESIS_PROFILE |
dev |
For local development / CI only. Set to ci to run property-based tests with max_examples=200 instead of 50. |
fd exhaustion mitigation: the Docker base image inherits a 1024 fd limit by default. Under sustained burst traffic that can run out quickly. Raise it in your compose file:
ssh-mcp:
# ...
ulimits:
nofile:
soft: 65536
hard: 65536
Pair that with the SSH_MCP_HTTP_KEEPALIVE_TIMEOUT / SSH_MCP_HTTP_LIMIT_CONCURRENCY knobs above for a full fix.
Running over HTTP
ssh-mcp exposes the MCP streamable HTTP transport as an alternative to stdio. This lets MCP-aware clients connect over the network instead of launching a subprocess, which is useful for containerized deployments, shared-team servers, or anything that needs to survive a client restart.
WARNING: ssh-mcp serves plain HTTP, not HTTPS. The bearer token is transmitted in cleartext on every request. Deploying on a public IP without a TLS-terminating reverse proxy (Caddy, nginx, Traefik) exposes the token to any network observer — equivalent to publishing a root shell. Always terminate TLS before ssh-mcp reaches the network.
Security first. ssh-mcp runs shell commands on remote servers. Exposing the HTTP endpoint without authentication is equivalent to exposing a root shell. The startup code enforces this:
- Binding to
127.0.0.1/localhost/::1without a token is allowed — this matches the single-user workstation model. - Binding to ANY other address without
SSH_MCP_HTTP_TOKENraisesRuntimeErrorat startup and the process exits. - The MCP SDK's DNS-rebinding protection is enabled by default. Remote clients connecting via a hostname must have it listed in
SSH_MCP_HTTP_ALLOWED_HOSTS. - Streamable HTTP requests are capped at 4 MiB by the MCP SDK — an oversized request gets HTTP 413 before its JSON is parsed or a session is created. This sits comfortably above
max_command_bytes' 1 MiB ceiling, so no operator action is needed. serverInfoin the MCPinitializeresponse now reports ssh-mcp's own version (previously it reported the SDK's version instead).- Bearer-token comparison uses
hmac.compare_digestto prevent timing attacks.
Local loopback (no auth needed):
SSH_MCP_TRANSPORT=http ssh-mcp
# → listening on http://127.0.0.1:8000/mcp
Container deployment with bearer auth:
TOKEN=$(openssl rand -hex 32)
docker run -d \
-p 8000:8000 \
-e SSH_MCP_TRANSPORT=http \
-e SSH_MCP_HTTP_HOST=0.0.0.0 \
-e SSH_MCP_HTTP_TOKEN="$TOKEN" \
-e SSH_MCP_HTTP_STATELESS=true \
-e SSH_MCP_HTTP_ALLOWED_HOSTS='ssh-mcp.internal:*' \
-v ~/.ssh:/home/sshmcp/.ssh:ro \
-v ./servers.toml:/config/servers.toml:ro \
-e SSH_MCP_CONFIG=/config/servers.toml \
ghcr.io/blackaxgit/ssh-mcp:latest
Clients connect with:
Authorization: Bearer <TOKEN>
Host: ssh-mcp.internal
For stateful sessions (default), MCPServer maintains per-client context across requests. Since mcp 2.2.0, stateful sessions on the legacy (2025-11-25 and earlier) protocol are limited: one with no request in flight and no open GET stream is closed after 30 minutes (its next request gets 404 and must initialize again), and at most 10,000 are held at once (503 beyond that; an open GET stream still counts). Stateless mode avoids both limits. For stateless deployments behind a load balancer, set SSH_MCP_HTTP_STATELESS=true — each request is handled independently with no server-side session.
Healthcheck
The Docker image includes a built-in ssh-mcp healthcheck CLI subcommand that
Docker's HEALTHCHECK directive invokes automatically. No inline Python, no
curl, no manual compose surgery required. The subcommand:
- Auto-detects the transport via
SSH_MCP_TRANSPORT:- stdio mode: verifies the package imports and
servers.tomlparses - http mode: sends a real MCP
initializeJSON-RPC POST and checks for any non-5xx response
- stdio mode: verifies the package imports and
- Reads the same auth env vars as the server (
SSH_MCP_HTTP_TOKEN,SSH_MCP_HTTP_TOKEN_FILE,SSH_MCP_HTTP_AUTH) — never logs the token - Exits 0 if healthy, 1 otherwise
- Uses Python stdlib only (no
curl/wgetdependency) - Applies a 3-second timeout to the HTTP probe. The stdio probe has no timeout of its own and relies on Docker's
--timeout=5s(importing the server costs ~0.3s)
Run manually for debugging:
docker exec ssh-mcp ssh-mcp healthcheck && echo "healthy"
Check current status:
docker inspect ssh-mcp --format '{{.State.Health.Status}}'
To override the baked-in settings in your compose file:
healthcheck:
test: ["CMD", "ssh-mcp", "healthcheck"]
interval: 15s
timeout: 5s
retries: 3
start_period: 10s
Tracing (OpenTelemetry)
Tracing uses the OpenTelemetry API, which ships as a required dependency of the MCP SDK — there is nothing to opt into at the ssh-mcp layer:
uv pip install opentelemetry-sdk opentelemetry-exporter-otlp # or your exporter of choice
ssh-mcp's own spans and the MCP SDK's own request-handling spans are both created unconditionally; without an SDK and exporter installed, span creation is a no-op and nothing is recorded or exported.
Spans produced:
mcp.tool.<name>— one per MCP tool call, taggedmcp.tool.name. Exceptions are recorded withStatusCode.ERROR.ssh.execute,ssh.upload,ssh.download— the SSH/SFTP operation inside the tool call.
Span attributes go through the same credential redaction as the audit log (see Security).
Reverse proxy deployment (auth at the edge)
If your reverse proxy (Caddy, nginx, Traefik, Envoy, Cloudflare Access, etc.) already authenticates requests before they reach ssh-mcp, you can disable the built-in bearer middleware with SSH_MCP_HTTP_AUTH=none. This mode is deliberately hard to enable on a public bind — you must also set a verbose acknowledgement env var:
docker run -d \
--network internal \
-e SSH_MCP_TRANSPORT=http \
-e SSH_MCP_HTTP_HOST=0.0.0.0 \
-e SSH_MCP_HTTP_AUTH=none \
-e SSH_MCP_HTTP_NETWORK_NO_AUTH=I_ACCEPT_RCE_RISK \
-e SSH_MCP_HTTP_ALLOWED_HOSTS='ssh-mcp.internal:*' \
-v ~/.ssh:/home/sshmcp/.ssh:ro \
-v ./servers.toml:/config/servers.toml:ro \
-e SSH_MCP_CONFIG=/config/servers.toml \
ghcr.io/blackaxgit/ssh-mcp:latest
WARNING: SSH_MCP_HTTP_AUTH=none + SSH_MCP_HTTP_NETWORK_NO_AUTH=I_ACCEPT_RCE_RISK is a remote code execution surface. The magic-string acknowledgement exists so operators physically type the words "I ACCEPT RCE RISK" before opting in. Every tool call reaches a shell on every managed SSH server. Use this only when:
- ssh-mcp is on a private Docker network not reachable from the host's public interface, AND
- The reverse proxy fronting it enforces authentication (basic auth, OAuth, mTLS, Cloudflare Access, etc.), AND
- You have audit logging on the proxy that's immutable to the ssh-mcp process.
For localhost binds without auth, no acknowledgement is needed — that matches the historical stdio deployment model.
Config file location
Checked in order:
$SSH_MCP_CONFIGenvironment variable$XDG_CONFIG_HOME/ssh-mcp/servers.toml, falling back to~/.config/ssh-mcp/servers.toml(default)config/servers.tomlrelative to the package (development only)
Example servers.toml:
[settings]
ssh_config_path = "~/.ssh/config"
command_timeout = 30 # SSH *connect* timeout in seconds, range 1..3600
max_output_bytes = 51200 # truncate captured output at this many bytes, per stream
max_command_bytes = 65536 # reject longer command strings at the tool boundary (1024..1048576)
connection_idle_timeout = 300 # seconds; eviction scan runs every 60s
known_hosts = true # false removes MITM protection
max_parallel_hosts = 10 # process-wide concurrency cap for group execution (1..100)
[groups]
production = { description = "Production servers" }
staging = { description = "Staging servers" }
[servers.web-prod-01]
description = "Production web server"
groups = ["production"]
[servers.web-staging-01]
description = "Staging web server"
groups = ["staging"]
jump_host = "bastion"
[servers.db-prod-01]
description = "Production database"
groups = ["production"]
user = "dbadmin"
Note two things about the timeouts, because the names invite confusion:
command_timeoutis the SSH connection-establishment timeout, not the command execution timeout.- Per-command timeout comes from the
timeoutargument ofexecute/execute_on_group(default 30) — unless the server block setstimeout = N, which wins over the caller's argument.
max_parallel_hosts bounds the whole process, not a single call: the semaphore is built once at startup, so concurrent execute_on_group calls share the same budget rather than each getting their own.
Per-server overrides (hostname, port, user, identity_file, jump_host, default_dir, timeout) take precedence over ~/.ssh/config. See config/servers.example.toml for the annotated reference.
Restrict config file permissions to your user:
chmod 600 ~/.config/ssh-mcp/servers.toml
Available Tools
| Tool | Description |
|---|---|
list_servers |
List configured servers; optionally filter by group |
list_groups |
List server groups with member counts |
execute |
Run a shell command on a single server (supports force to bypass dangerous-command detection, and dry_run) |
execute_on_group |
Run a command on all servers in a group (parallel; supports fail_fast, force and dry_run) |
upload_file |
Upload a file to a server via SFTP. Local path is relative to transfer_root |
download_file |
Download a file from a server via SFTP. Local path is relative to transfer_root; will not overwrite |
dry_run=true on either execute tool returns a [DRY RUN] preview of the server, command, working directory, timeout and force flag without opening a connection. Dangerous-command detection still runs, so a rejection can be previewed; if force=true would bypass a match, the preview carries an explicit ⚠️ DANGEROUS banner.
Command strings longer than max_command_bytes (default 65536 encoded UTF-8 bytes) are rejected at the tool boundary, before redaction or dangerous-command matching runs. Single SFTP transfers are capped at 100 MiB: an oversized upload is refused outright, an oversized download only logs a warning (the bytes are already on disk). Use rsync or scp for anything larger.
ssh MCP 질문
ssh MCP는 어떤 도구를 제공하나요?
6개 도구를 제공합니다. 예: list_servers, list_groups, execute, execute_on_group, upload_file.
원격 연결에 대한 인증은 어떻게 처리하나요?
기존의 ~/.ssh/config 파일에서 연결 정보를 읽어오므로, MCP 설정에 별도의 인증 정보를 저장할 필요가 없습니다.
명령어를 실행하기 전에 미리 확인할 수 있나요?
네, dry_run 기능을 사용하여 실제 연결 없이 어떤 서버, 명령어, 작업 디렉토리 및 타임아웃이 사용될지 확인할 수 있습니다.
파일 업로드 또는 다운로드 위치를 제한할 수 있나요?
네, SFTP 전송은 transfer_root 설정 또는 SSH_MCP_TRANSFER_ROOT 환경 변수로 정의된 특정 디렉토리로 제한됩니다.
pip로 설치할 때 올바른 패키지 이름은 무엇인가요?
blc-ssh-mcp를 설치해야 합니다. PyPI의 ssh-mcp라는 이름은 관련 없는 다른 프로젝트의 이름입니다.