bash
Execute shell commands directly from the Claude Code MCP server to automate tasks, manage files, or run scripts. Specify the command and optional timeout to streamline operations.
Instructions
Execute a shell command
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The shell command to execute | |
timeout | No | Optional timeout in milliseconds (max 600000) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"description": "The shell command to execute",
"type": "string"
},
"timeout": {
"description": "Optional timeout in milliseconds (max 600000)",
"type": "number"
}
},
"required": [
"command"
],
"type": "object"
}