mcp_linux_ssh
Runs commands on remote Linux machines via SSH, enabling management and automation tasks.
Click on "Install 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., "@mcp_linux_sshrun 'df -h' on the web server"
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.
MCP Server to run commands over SSH
⚠️ This is an early prototype. Use at your own risk. ⚠️
Getting started
python -m venv .venvs/mcp
.venvs/mcp/bin/python -m pip install -e .Run the MCP server with .venvs/mcp/bin/mcp-linux-ssh
To have an MCP client run the application, point it at realpath .venvs/mcp/bin/mcp-linux-ssh.
Here's an example configuration for Claude Desktop:
{
"mcpServers": {
"linux_ssh": {
"command": "/Users/sdoran/Developer/mcp_linux_ssh/.venvs/mcp/bin/mcp-linux-ssh",
"env": {
"TMPDIR": "/tmp"
}
}
}
}Create a standalone executable
Use shiv to create portable executable.
mkdir build
shiv -o build/mcp_linux_ssh --console-script mcp-linux-ssh .Logging
Commands and the hosts they are run on are logged to a local file that is rotated once it reaches five megabytes in size. The file location depends on the platform running the MCP server.
Linux: ~/.local/share/logs/mcp-linux-ssh.log
macOS: ~/Library/Logs/mcp-linux-ssh.log
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables SSH connectivity and remote command execution on servers, allowing users to test connections and run commands remotely with support for both local networks and public servers.2111ISC
- AlicenseAqualityDmaintenanceEnables secure SSH connections to multiple remote servers with support for command execution, file transfers (SFTP), directory listing, and both password and key-based authentication.7MIT
- Alicense-qualityBmaintenanceEnables remote execution of Linux commands via SSH, supporting system monitoring, file operations, and secure authentication with configurable safety controls.4MIT
- AlicenseBqualityCmaintenanceEnables secure remote and local command execution via SSH, with session management and environment variable support.1323MIT
Related MCP Connectors
Operate your Linux servers from your LLM. Every action runs through an auditable allowlist.
Execute PowerShell commands securely with controlled timeouts and input validation. Retrieve syste…
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samdoran/mcp_linux_ssh'
If you have feedback or need assistance with the MCP directory API, please join our Discord server