execute_python
Execute Python code in a persistent REPL environment, enabling variable retention between runs or session reset when needed. Ideal for iterative Python development and testing.
Instructions
Execute Python code and return the output. Variables persist between executions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Python code to execute | |
reset | No | Reset the Python session (clear all variables) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Python REPL MCP Server
Related Tools
- @bazinga012/mcp_code_executor
- @hdresearch/mcp-python
- @hdresearch/mcp-python
- @yzfly/mcp-python-interpreter
- @maxim-saplin/mcp_safe_local_python_executor