Skip to main content
Glama

MCP Code Executor

MIT License
101
  • Linux
  • Apple

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

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/bazinga012/mcp_code_executor'

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