run_python
Execute Python code or scripts directly within the Code MCP Server, enabling integration with VS Code via the Model Context Protocol. Supports custom arguments and virtual environments.
Instructions
Execute Python code or script
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | Command line arguments | |
code | No | Python code to execute | |
script_path | No | Path to Python script file | |
venv | No | Path to virtual environment |