mcp-pyodide

execute-python

Run Python code with Pyodide, capture outputs, and save generated images to designated paths for easy access and integration.

Instructions

Execute Python code using Pyodide with output capture. When generating images, they will be automatically saved to the output directory instead of being displayed. Images can be accessed from the saved file paths that will be included in the output.

Input Schema

NameRequiredDescriptionDefault
codeYesPython code to execute
timeoutNoExecution timeout in milliseconds (default: 5000)

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Python code to execute", "type": "string" }, "timeout": { "description": "Execution timeout in milliseconds (default: 5000)", "type": "number" } }, "required": [ "code" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-pyodide

Related Tools

ID: pxls43joly