SSH-based MCP server for remote command execution and file transfer. Credentials stay local.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
基于 SSH 的 MCP (Model Context Protocol) 服务器,Go 实现。让 AI 助手通过 MCP 协议远程执行命令、传输文件,SSH 凭据完全留在本地,不暴露给模型。
本项目参考了 classfang/ssh-mcp-server(TypeScript 版)的设计与实现,在其基础上用 Go 重写,并将文件操作整合为单个工具、支持进度通知。感谢原作者的开源贡献。
| 读者 | 文档 | 说明 |
|---|---|---|
| 🤖 AI Agent | docs/AGENT_GUIDE.md | 省 token 版:工具参数、配置、安全模式、部署命令速查 |
| 👤 人类用户 | docs/HUMAN_GUIDE.md | 易读版:安全配置、快速开始、工具说明、参数速查、发布流程 |
| 🔍 特性详情 | docs/FEATURES.md | 完整特性列表与已知限制(英文版 .en.md) |
| 🛠 开发与发布 | docs/DEVELOPMENT.md | 项目结构、构建测试、Release 与 MCP Registry 发布流程 |
| 🔐 安全 | SECURITY.md | 威胁模型、审批闸门、加固建议 |
各文档均为中文默认,同名 .en.md 为英文版。
list-servers / execute-command / session / file-transfer;后台长任务是 execute-command 的 background: true 特殊模式,不是第五个工具.ssh-mcp-out/),Agent 用 Read/Grep 查全文,不远程重跑approvalMode: "ask-destructive" 经 MCP elicitation 弹窗确认,内置分类器 + 用户扩展/豁免,灰色地带用户自定;客户端不支持时 fail-open完整特性列表见 docs/FEATURES.md。
详细配置与部署步骤见上方两份指南。
ISC License(与上游一致,保留上游版权声明,见 LICENSE)
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/2native-ssh-mcp-server)<a href="https://allmcps.com/mcp/2native-ssh-mcp-server"><img src="https://allmcps.com/api/badge/2native-ssh-mcp-server?style=directory" alt="2native SSH MCP Server on AllMCPs" /></a>