# Python execute

Run Python code in a secure sandbox without local setup. Declare inline dependencies and execute snippets instantly. Prototype, test, and share reproducible results with ease.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add STUzhy/py_execute_mcp

# Browse available tools
npx -y @smithery/cli@latest tool list STUzhy/py_execute_mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get STUzhy/py_execute_mcp python_execute

# Call a tool
npx -y @smithery/cli@latest tool call STUzhy/py_execute_mcp python_execute '{}'
```

## Direct MCP Connection

Endpoint: `https://py_execute_mcp--stuzhy.run.tools`

## Tools (1)

- `python_execute` — Run Python in a Pyodide sandbox with optional PEP 723 requirements.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get STUzhy/py_execute_mcp <tool-name>
```

---

Source: https://github.com/STUzhy/py_execute_mcp
