Supports interaction with Git repositories as part of the server setup process.
Provides remote Linux server management capabilities via SSH, including command execution, file transfers (upload/download), and directory operations.
Includes testing infrastructure through Pytest for development and validation of SSH tool functionality.
Uses YAML for configuration, as indicated by the PyYAML dependency.
MCP SSH 工具服务器
一个基于MCP框架的SSH工具服务器,提供远程服务器管理功能。
功能特性
- 支持多服务器配置管理
- 提供SSH连接池管理
- 支持文件上传/下载(包括递归目录操作)
- 支持远程命令执行
- 可通过环境变量或代码配置服务器
安装
- 使用uv安装Python 3.13+:
- 安装项目依赖:
- (可选) 使用uv创建虚拟环境:
- 下载代码:
配置
使用json文件配置服务器,示例:
使用
API接口
execute
: 执行远程命令download_file
: 下载远程文件/目录upload_file
: 上传本地文件/目录list_directory
: 列出远程目录内容test_connection
: 测试服务器连接
依赖
- mcp[cli]>=1.10.1
- paramiko>=3.5.1
- pyyaml>=6.0.2
- requests>=2.32.4
开发
许可证
MIT
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A server based on the MCP framework that provides remote server management capabilities through SSH, supporting features like connection pooling, file transfers, and remote command execution.
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -14TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that provides tools for reading, writing, and editing files on the local filesystem.Last updated -11,516PythonApache 2.0
- -securityFlicense-qualityA simple MCP server that allows accessing and executing shell commands on a VM machine through a web-based terminal interface, with automatic tunneling to make the VM accessible from anywhere.Last updated -1383JavaScript
- AsecurityFlicenseAqualityA server that enables remote command execution over SSH through the Model Context Protocol (MCP), supporting both password and private key authentication.Last updated -1132JavaScript