Skip to main content
Glama

MCP Complete Implementation Guide

by saksham0712

execute_command

Execute system commands directly from the MCP server to automate tasks, run scripts, and perform system operations with specified working directories.

Instructions

Execute a system command (use with caution)

Input Schema

NameRequiredDescriptionDefault
commandYesThe command to execute
cwdNoWorking directory for the command

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The command to execute", "type": "string" }, "cwd": { "description": "Working directory for the command", "type": "string" } }, "required": [ "command" ], "type": "object" }

Other Tools from MCP Complete Implementation Guide

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/saksham0712/MCP'

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