Skip to main content
Glama

Windows CLI MCP Server

ssh_execute

Execute commands on remote hosts via SSH using the Windows CLI MCP Server. Configure SSH connections in config.json and run commands securely with specified connection IDs.

Instructions

Execute a command on a remote host via SSH

Example usage:

{ "connectionId": "raspberry-pi", "command": "uname -a" }

Configuration required in config.json:

{ "ssh": { "enabled": true, "connections": { "raspberry-pi": { "host": "raspberrypi.local", "port": 22, "username": "pi", "password": "raspberry" } } } }

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to execute
connectionIdYesID of the SSH connection to use

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command to execute", "type": "string" }, "connectionId": { "description": "ID of the SSH connection to use", "enum": [], "type": "string" } }, "required": [ "connectionId", "command" ], "type": "object" }

You must be authenticated.

Other Tools from Windows CLI MCP Server

Related Tools

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/SimonB97/win-cli-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server