my-server-mcp
Allows managing Docker-based services on the remote server through the server_service ops tool.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@my-server-mcp check disk usage and show the last 20 lines of the nginx error log"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
my-server-mcp
Zero-dependency Python 3 SSH/SCP MCP server & plugin with persistent PTY sessions, sudo, and safety policies.
Tools
Category | Tools |
Exec |
|
Sessions |
|
Files |
|
Ops |
|
Transfer |
|
Related MCP server: ssh-for-agents
Install
# Run directly with uvx (no clone needed)
uvx --from git+https://github.com/devmoamal/my-server-mcp my-server-mcp --help
# Or install with pip
pip install git+https://github.com/devmoamal/my-server-mcpAntigravity (Plugin + Skill + MCP)
git clone https://github.com/devmoamal/my-server-mcp ~/.gemini/config/plugins/my-server-mcpConfigure credentials in .env (see .env.example).
Claude (claude_desktop_config.json / Claude Code)
claude mcp add my-server-mcp -e SERVER_HOST=192.168.1.100 -e SERVER_USER=root -e SERVER_PASSWORD=pass -- my-server-mcp{
"mcpServers": {
"my-server-mcp": {
"command": "my-server-mcp",
"env": { "SERVER_HOST": "192.168.1.100", "SERVER_USER": "root", "SERVER_PASSWORD": "pass" }
}
}
}Codex (~/.codex/config.toml / Codex CLI)
codex mcp add my-server-mcp --env SERVER_HOST=192.168.1.100 --env SERVER_USER=root --env SERVER_PASSWORD=pass -- my-server-mcp[mcp_servers.my-server-mcp]
command = "my-server-mcp"
[mcp_servers.my-server-mcp.env]
SERVER_HOST = "192.168.1.100"
SERVER_USER = "root"
SERVER_PASSWORD = "pass"Config
Set via .env, client env, or CLI flags (--host, --port, --user, --password, --key, --policy, --no-sudo, --audit-log).
Test
python3 -m unittest discover -s tests -vAvailable Tools
15 toolsserver_downloadC
Download a file or directory from the server via SCP.
Inputs: local_path (required), remote_path (required).
server_execC
Run a shell command on the server over SSH.
Inputs: command (required), cwd, confirm, timeout.
server_infoA
Collect hostname, OS, uptime, RAM, disk usage, and listening ports.
Inputs: no named parameters.
server_list_dirC
List files and permissions in a remote directory.
Inputs: all, path.
server_logsB
Tail and optionally filter a remote log file or systemd journal unit.
Inputs: source (required), grep, lines, is_unit.
server_read_fileC
Read a remote text file (optionally by line range).
Inputs: path (required), end_line, start_line.
server_serviceB
Inspect or manage systemd services or Docker containers.
Inputs: action (required), manager (required), name, lines.
server_session_closeC
Terminate and clean up an SSH session.
Inputs: session_id (required).
server_session_listB
List active or recently exited SSH sessions.
Inputs: no named parameters.
server_session_readC
Read newly buffered output from a running SSH session.
Inputs: session_id (required), wait_ms.
server_session_startC
Start a persistent interactive PTY SSH session and return its session_id.
Inputs: cwd, command, confirm, wait_ms.
server_session_writeC
Send a command or input to a running SSH session and return output.
Inputs: input (required), session_id (required), confirm, wait_ms, +1 more.
server_sudo_execC
Run a privileged shell command using sudo -S.
Inputs: command (required), cwd, confirm, timeout.
server_uploadC
Upload a local file or directory to the server via SCP.
Inputs: local_path (required), remote_path (required).
server_write_fileC
Write or append text to a remote file via stdin.
Inputs: path (required), content (required), append.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools target clearly distinct operations (SCP transfer, one-shot exec, privileged exec, PTY session lifecycle, file read/write, service and log management). The main soft overlaps are server_exec vs server_sudo_exec vs server_session_write, and server_read_file vs server_logs, but the descriptions make the one-shot-vs-persistent and text-vs-tail distinctions clear enough.
All names are snake_case under a uniform server_ prefix, with a mostly predictable verb_noun shape (server_read_file, server_list_dir, server_session_close). Minor deviations exist: server_info, server_logs and server_service are noun-only, and server_sudo_exec inserts a modifier, but the pattern remains easy to scan.
Fifteen tools is well within the sensible range and each one maps to a concrete, non-redundant capability: transfers, exec, privilege escalation, session lifecycle, inspection, file ops, services and logs. Nothing appears padded or missing at the surface level.
The surface covers connection, execution, file transfer, file I/O, session management, services and logs, which is a solid lifecycle for remote server administration. Gaps are minor: no explicit delete/move/chmod for files and no process-management tool, though these can be worked around via server_exec.
Maintenance
Related MCP Connectors
- browser-sshDeprecatedcom.browserssh
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Manage remote servers, SSH terminals, files, databases and proxies with scoped access and approvals.
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables secure remote command execution and bidirectional file transfers on SSH servers through the Model Context Protocol. It features robust security controls including command whitelisting, credential isolation, and support for multiple SSH connection profiles.1,543 npm1,084ISC
- AlicenseAqualityDmaintenanceEnables AI agents to execute SSH commands, read files, and list directories on remote hosts with a configurable command-safety policy.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to securely execute commands on remote hosts via SSH and SFTP, with persistent shells, file transfers, screenshots, and an audit log.5MIT
- FlicenseNot gradedqualityCmaintenanceEnables executing shell commands and transferring files on remote machines over SSH/SFTP, including persistent interactive sessions that can handle prompts such as sudo and package manager confirmations.-