SSH MCP Tool
Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «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>"
}
}
}
}
متغيرات البيئة
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_FILEسري 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.
الأسئلة الشائعة
ما هو SSH MCP Tool؟
Secure MCP SSH automation server with policy controls, resources, prompts, stdio, and HTTP.
كيف أثبّت SSH MCP Tool؟
يعمل على جهازك. في Claude Code: claude mcp add ssh-mcp-tool -- npx -y mcp-ssh-tool@2.2.7. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج SSH MCP Tool إلى مفتاح API؟
نعم. يتطلب SSH_MCP_HTTP_BEARER_TOKEN_FILE، وتضبطها في إعداداته.
هل SSH MCP Tool مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون SSH MCP Tool؟
ينشره oaslananka-lab. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.