run_command
Execute shell commands directly within VS Code using the Code MCP Server, enabling AI agents to manage tasks like setting environment variables or navigating working directories.
Instructions
Execute a shell command
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command to execute | |
cwd | No | Working directory | |
env | No | Environment variables |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Command to execute",
"type": "string"
},
"cwd": {
"description": "Working directory",
"type": "string"
},
"env": {
"description": "Environment variables",
"type": "object"
}
},
"required": [
"command"
],
"type": "object"
}