Skip to main content
Glama

Desktop Commander MCP

MIT License
23,189
4
  • Linux
  • Apple

execute_command

Run terminal commands with a customizable timeout using the Desktop Commander MCP server. Ensures command execution continues in the background if the specified timeout is exceeded.

Instructions

Execute a terminal command with timeout. Command will continue running in background if it doesn't complete within timeout.

Input Schema

NameRequiredDescriptionDefault
commandYes
timeout_msNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "type": "string" }, "timeout_ms": { "type": "number" } }, "required": [ "command" ], "type": "object" }

Other Tools from Desktop Commander MCP

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/MrGNSS/ClaudeDesktopCommander'

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