MCP Code Executor

execute_code

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