SSH MCP Tool
Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
mcp-ssh-toolclaude mcp add ssh-mcp-tool -- npx -y mcp-ssh-tool@2.2.7
{
"mcpServers": {
"ssh-mcp-tool": {
"command": "npx",
"args": [
"-y",
"mcp-ssh-tool@2.2.7"
]
}
}
}
mcp-ssh-toolclaude mcp add ssh-mcp-tool -e 'SSH_MCP_HTTP_ALLOWED_ORIGINS=<SSH_MCP_HTTP_ALLOWED_ORIGINS>' -e 'SSH_MCP_HTTP_BEARER_TOKEN_FILE=<your ssh_mcp_http_bearer_token_file>' -e 'SSH_MCP_HTTP_PUBLIC_URL=<SSH_MCP_HTTP_PUBLIC_URL>' -e 'SSH_MCP_HTTP_TRUST_PROXY=<SSH_MCP_HTTP_TRUST_PROXY>' -- npx -y mcp-ssh-tool@2.2.7 --transport=http --host 127.0.0.1 --port '<port>'
{
"mcpServers": {
"ssh-mcp-tool": {
"command": "npx",
"args": [
"-y",
"mcp-ssh-tool@2.2.7",
"--transport=http",
"--host",
"127.0.0.1",
"--port",
"<port>"
],
"env": {
"SSH_MCP_HTTP_ALLOWED_ORIGINS": "<SSH_MCP_HTTP_ALLOWED_ORIGINS>",
"SSH_MCP_HTTP_BEARER_TOKEN_FILE": "<your ssh_mcp_http_bearer_token_file>",
"SSH_MCP_HTTP_PUBLIC_URL": "<SSH_MCP_HTTP_PUBLIC_URL>",
"SSH_MCP_HTTP_TRUST_PROXY": "<SSH_MCP_HTTP_TRUST_PROXY>"
}
}
}
}
Variables d'environnement
SSH_MCP_HTTP_ALLOWED_ORIGINSComma-separated allowed browser origins for Streamable HTTP clients. Keep this restricted when not using loopback.SSH_MCP_HTTP_BEARER_TOKEN_FILEsecret Path to a bearer token file. Required for non-loopback HTTP bindings.SSH_MCP_HTTP_PUBLIC_URLStable HTTPS public /mcp URL. Required for non-loopback HTTP bindings.SSH_MCP_HTTP_TRUST_PROXYSet to true only behind a trusted reverse proxy that controls forwarded headers.
Questions fréquentes
Qu'est-ce que SSH MCP Tool ?
Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP.
Comment installer SSH MCP Tool ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add ssh-mcp-tool -- npx -y mcp-ssh-tool@2.2.7. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour SSH MCP Tool ?
Oui. Il attend SSH_MCP_HTTP_BEARER_TOKEN_FILE, à renseigner dans sa configuration.
SSH MCP Tool est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient SSH MCP Tool ?
Il est publié par oaslananka-lab. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.