get_command_history
How to use it
get_command_history is exposed by the Win Cli MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_command_history tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Win Cli MCP Server
$
npx @simonb97/server-win-cli --init-config ./config.jsonOther tools in Win Cli MCP Server (13)
command
(string): Command to execute
connectionConfig
(object): Connection configuration details including host, port, username, and either password or privateKeyPath
connectionId
(string): ID of the SSH connection to use
create_ssh_connection
delete_ssh_connection
execute_command
get_current_directory
read_ssh_connections
shell
(string): Shell to use ("powershell", "cmd", or "gitbash")
ssh_disconnect
ssh_execute
update_ssh_connection
workingDir
(optional string): Working directory