{"repo":"bazinga012/mcp_code_executor","free":true,"listed":false,"github":"https://github.com/bazinga012/mcp_code_executor","clone":"git clone https://github.com/bazinga012/mcp_code_executor.git","description":"The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Conda environment.","language":"JavaScript","stars":212,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"MCP Code Executor The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Python environment. This enables LLMs to run code with access to libraries and dependencies defined in the environment. It also supports incremental code generation for handling large code blocks that may exceed token limits. Features - Execute Python code from LLM prompts - Support for incremental code generation to overcome token limitations - Run code within a specified environment (Conda, virtualenv, or UV virtualenv) - Install dependencies when needed - Check if packages are already installed - Dynamically configure the environment at runtime - Configurable code storage directory Prerequisites - Node.js installed - One of the following: - Conda installed with desired Conda environment created - Python virtualenv - UV virtualenv Setup 1. Clone this repository: 2. Navigate to the project directory: 3. Install the Node.js dependencies: 4. Build the project: Configuration To configure the MCP Code Executor server, add the following to your MCP servers configuration file: Using Node.js Using Docker Note: The Dockerfile has been tested with the venv-uv environment type only. Other environment types may require additional configuration. Environment Variables Required Variables - CODE STORAGE DIR : Directory where the generated code will be stored Environment Type (choose one setup) - For Conda: - ENV TYPE : Set to conda - CONDA ENV NAME : Name of the Conda environ","default_branch":null,"files":null,"tree":[],"storefront":"/r/bazinga012","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bazinga012/mcp_code_executor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}