Skip to main content
Glama
rayss868

PC Controller MCP Server

by rayss868

run_command_long

Execute long-running Windows shell commands and retrieve all output after completion. For installs, builds, downloads, and backups, with a default 2-minute timeout.

Instructions

Execute a long-running shell command on this Windows PC and return all output after completion. Unlike run_command, this tool has a default timeout of 2 minutes (120 seconds) and is designed for commands that take a long time: npm install, pip install, compiling large projects, downloading big files, building projects, git clone large repositories, running test suites, or backup processes. Command runs through PowerShell.exe with a larger output buffer. Returns STDOUT, STDERR, and exit code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoWorking directory where the command runs. Use absolute path. Default: user home directory.
commandYesThe shell command to execute (for long-running operations). Examples: "npm install", "pip install tensorflow", "git clone https://github.com/...", "cargo build --release"
timeoutNoExecution timeout in milliseconds. Default: 120000 (2 minutes). Increase for very long-running commands.

Latest Blog Posts

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/rayss868/pc-controller-mcp-server'

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