# mcp_code_executor

> MCP Server

The MCP Code Executor is an MCP server that enables LLMs to execute Python code within a specified Conda environment, allowing them to leverage libraries and dependencies for enhanced functionality.

## Overview

- **Category:** AI
- **Language:** JavaScript
- **Stars:** 212
- **Forks:** 8
- **Owner:** bazinga012
- **GitHub:** https://github.com/bazinga012/mcp_code_executor
- **Created:** 2025-02-06T15:58:32+00:00
- **Updated:** 2025-03-28T15:23:34+00:00
- **Source:** https://model-context-protocol.com/servers/mcp-server-execute-python-code-environment

## Setup

## Setup

1. Clone this repository:

```bash
git clone https://github.com/bazinga012/mcp_code_executor.git
```

2. Navigate to the project directory:

```bash 
cd mcp_code_executor
```

3. Install the Node.js dependencies:

```bash
npm install
```

4. Build the project:

```bash
npm run build
```

## Tools

## Available Tools

1. Execute Python code from LLM prompts (Allows LLMs to run Python code).
2. Run code within a specified Conda environment (Enables code execution with defined dependencies).
3. Configurable code storage directory (Allows specifying where generated code is stored).
