TokenToSeaMCP Hub
中文 Console

MCP Server SSH

shaike1

让智能体通过 SSH 在远程主机执行命令和操作文件,支持密码与密钥认证。

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add ssh --env SSH_LOG_LEVEL='<SSH_LOG_LEVEL>' --env SSH_PORT='<SSH_PORT>' -- node %APPDATA%/npm/node_modules/mcp-ssh/dist/server.js

Environment variables

  • SSH_LOG_LEVEL
  • SSH_PORT

Replace the placeholders with your own credentials and keep them out of version control.