cmd-mcp-server
execute_command
Execute a command and return its output. Commands run in a persistent shell session by default. Use newSession: true to run in a new shell instance.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | ||
newSession | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"newSession": {
"type": "boolean"
}
},
"required": [
"command"
],
"type": "object"
}