Skip to main content
Glama

mcp-pyodide

by yonaka15

pyodide_execute

Execute Python code in a browser environment with output capture. Automatically saves generated images to a specified directory, providing file paths for access. Ideal for server-side Python execution via LLMs.

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" }

Other Tools from mcp-pyodide

Related Tools

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/yonaka15/mcp-pyodide'

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