MCP Code Executor

execute_code

Run Python code in a specified Conda environment, ensuring access to required libraries and dependencies for efficient execution. Optionally save the code with a custom filename.

Instructions

Execute Python code in the specified conda environment

Input Schema

NameRequiredDescriptionDefault
codeYesPython code to execute
filenameNoOptional: Name of the file to save the code (default: generated UUID)

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Python code to execute", "type": "string" }, "filename": { "description": "Optional: Name of the file to save the code (default: generated UUID)", "type": "string" } }, "required": [ "code" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Code Executor

Related Tools

ID: 45ix8xode3