@mokoconsulting/mcp-mokossh
v3.6.0
Published
MCP server for SSH remote server management — execute commands, transfer files, database operations, backups, health monitoring, and DevOps automation
Readme
ssh-mcp
MCP server for SSH remote server management — 37 tools for commands, file transfer, database ops, backups, health monitoring, and DevOps automation (fork of mcp-ssh-manager)
Model Context Protocol server for SSH remote server management -- execute commands, transfer files, manage databases, create backups, and automate DevOps workflows.
| | | |---|---| | Type | MCP Server | | Language | Node.js (>= 18.0.0) | | Tools | 37 tools across 6 groups | | License | MIT | | Upstream | bvisible/mcp-ssh-manager v3.4.0 | | Platform | MokoGIT (primary) |
Overview
ssh-mcp exposes 37 tools that let Claude Code manage remote servers over SSH. Capabilities include command execution, file transfer, database operations, backup/restore, health monitoring, and automation hooks.
Tool Groups
| Group | Description | |-------|-------------| | Core | Command execution, sudo, file upload/download | | Database | Query, dump, import, list databases | | Backup | Create, list, restore, schedule backups | | Monitoring | Health checks, service status, process management | | Deployment | Deploy files with permission handling | | Automation | Aliases, hooks, command shortcuts |
Wiki Pages
Guides
- Installation -- prerequisites, install steps, .env configuration, Claude Code registration, multi-server setup, troubleshooting
- Deployment Guide -- deploying files to remote servers with permission handling
- Backup Guide -- database and file backup/restore workflows
Reference
- API -- all 37 tools organized by group with descriptions and key parameters
- Architecture -- source file map, component responsibilities, tool activation system, connection pooling, design decisions
- Tool Management -- tool enablement configuration and the
ssh-manager toolsCLI
Operations
- Aliases and Hooks -- server aliases, command aliases, and automation hooks
Marketing
- SEO -- search engine optimization notes
- Social Media Announcement -- launch announcement templates
Related Wikis
| Repo | Purpose | |------|---------| | deploy-mcp | Git-based deployment MCP | | monitor-mcp | Server and Grafana monitoring MCP | | backup-mcp | Backup MCP with Akeeba integration |
MokoCLI -- enterprise CLI automation for all Moko Consulting repositories.
Installation
Published to npm as @mokoconsulting/mcp-mokossh. Requires Node.js >= 18.
Run directly with npx (no install):
npx @mokoconsulting/mcp-mokosshOr install globally (also provides the ssh-manager CLI):
npm install -g @mokoconsulting/mcp-mokosshFrom source:
git clone https://git.mokoconsulting.tech/MokoConsulting/mcp-mokossh.git
cd mcp-mokossh
npm installConfigure your servers and credentials via a .env file — see the Installation guide for prerequisites and multi-server setup.
Usage
Register the server with an MCP client such as Claude Code by adding it to your .mcp.json:
{
"mcpServers": {
"ssh": {
"command": "npx",
"args": ["@mokoconsulting/mcp-mokossh"]
}
}
}Once connected, the agent can call all 37 tools across the six groups (Core, Database, Backup, Monitoring, Deployment, Automation) to execute commands, transfer files, run database operations, create backups, monitor health, and automate DevOps workflows on remote servers. Tool enablement is managed with the ssh-manager tools CLI. See the API reference for every tool and its parameters.
Documentation
Full documentation is available on the Wiki.
Contributing
Contributions are welcome. See CONTRIBUTING.md and follow the MokoStandards. See the wiki for development guidelines and contribution instructions.
License
This project is licensed under the GNU General Public License v3.0 or later -- see the LICENSE file.
