Skip to main content
Glama

mcp-server-commands

by g0t4

run_command

Execute commands on a Linux machine with specified arguments, working directory, and optional STDIN input using the MCP server. Ideal for remote command execution and automation tasks.

Instructions

Run a command on this linux machine

Input Schema

NameRequiredDescriptionDefault
commandYesCommand with args
stdinNoOptional, text to pipe into the command's STDIN. For example, pass a python script to python3. Or, pass text for a new file to the cat command to create it!
workdirNoOptional, current working directory

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command with args", "type": "string" }, "stdin": { "description": "Optional, text to pipe into the command's STDIN. For example, pass a python script to python3. Or, pass text for a new file to the cat command to create it!", "type": "string" }, "workdir": { "description": "Optional, current working directory", "type": "string" } }, "required": [ "command" ], "type": "object" }
Install Server

Other Tools from mcp-server-commands

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/g0t4/mcp-server-commands'

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