Skip to main content
Glama

run_python

Execute Python code or scripts directly from AI assistants, supporting virtual environments and command-line arguments for automated development tasks.

Instructions

Execute Python code or script

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoPython code to execute
script_pathNoPath to Python script file
argsNoCommand line arguments
venvNoPath to virtual environment

Latest Blog Posts

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/block/vscode-mcp'

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