mcp-ssh-server
MCP SSH server for Windsurf integration
Documentation
MCP SSH Server for Windsurf
A Model Context Protocol (MCP) compatible SSH server designed for seamless integration with Windsurf IDE.
Features
- Full MCP protocol support for SSH operations
- Auto-connect to predefined SSH servers
- Interactive terminal interface for SSH sessions
- Support for both password and key-based authentication
- Compatible with Windsurf IDE through MCP integration
Troubleshooting Common Issues
Windsurf Settings Page Error
If you encounter an error message in the Windsurf Settings page showing "Error: request failed. Check your configuration." as shown in the image below, this server implementation provides the necessary MCP protocol endpoints to resolve this issue.

This error typically appears when Windsurf cannot properly communicate with the MCP SSH server due to missing endpoints or protocol compatibility issues. The implementation in this repository includes all the necessary endpoints required for proper integration with Windsurf.
Setup and Installation
Requirements
python >= 3.7
flask
paramikoInstallation
1. Clone the repository:
git clone https://github.com/yoi-hibino/mcp-ssh-server.git
cd mcp-ssh-server2. Install dependencies:
pip install -r requirements.txtConfiguration
Configure your SSH connection settings in the Windsurf MCP configuration file:
{
"mcpServers": {
"ssh": {
"command": "python3",
"args": [
"/path/to/app.py"
],
"cwd": "/path/to/mcp-ssh-server",
"protocol": "http",
"host": "localhost",
"port": 5050,
"env": {
"SSH_DEFAULT_HOST": "your_hostname",
"SSH_DEFAULT_PORT": "22",
"SSH_DEFAULT_USERNAME": "your_username",
"SSH_DEFAULT_PASSWORD": "your_password"
}
}
}
}MCP Endpoints
The server implements the following MCP protocol endpoints:
- `/alive` - Server health check
- `/list_sessions` - List active SSH connections
- `/mcp/status` - Check MCP server status
- `/mcp/connect` - Connect to SSH server
- `/mcp/execute` - Execute commands on SSH server
- `/mcp/disconnect` - Disconnect from SSH server
- `/ssh/capabilities` - List SSH server capabilities
- `/ssh/sessions` - List active SSH sessions
Running the Server
Start the server by running:
python app.pyThis will start the server on port 5050. You can access the web interface at http://localhost:5050/
Integration with Windsurf
Configure Windsurf to use this MCP server by adding the appropriate configuration to your Windsurf MCP settings file.
After configuring, if you still encounter the error shown above, try these steps:
1. Restart the MCP SSH server
2. Completely restart the Windsurf application
3. Verify the server is running and accessible at http://localhost:5050/
4. Check that all MCP endpoints are responding correctly
Frequently asked questions
What is mcp-ssh-server?
mcp-ssh-server is MCP SSH server for Windsurf integration
How do I install mcp-ssh-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-ssh-server open source?
Yes — it is hosted on GitHub at https://github.com/yoi-hibino/mcp-ssh-server and has 1 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP