Skip to content
InfratoApp
InfratoApp / Resources / MCP servers / mcp_code_executor

mcp_code_executor

mcp_code_executor is an MCP server. Its repository has 212 GitHub stars and is licensed under MIT; we last read it on 2026-10-22.

This software acts as an MCP server enabling language models to run Python code in a designated Conda environment.

Install

MCP servers are packaged differently from each other -- some run via npx, some as a Docker image, some as a plain script you clone and run. mcp_code_executor’s own README did not state one plainly enough for this page to quote it rather than guess, so it will not guess. The repository below states it.

What it reaches, and what it needs

Reaches
○ not recognised
Credential
○ none found

Maintenance

Stars
212
State
stale
Licence
MIT
From the repository

The MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Conda environment.

What mcp_code_executor can do

9 tools documented in its README. An AI client calls these by name.

execute_code
Executes Python code in the configured environment. Best for short code snippets.
install_dependencies
Installs Python packages in the environment.
check_installed_packages
Checks if packages are already installed in the environment.
configure_environment
Dynamically changes the environment configuration.
get_environment_config
No description in the README.
initialize_code_file
Creates a new Python file with initial content. Use this as the first step for longer code that may exceed token limits.
append_to_code_file
Appends content to an existing Python code file. Use this to add more code to a file created with initialize_code_file.
execute_code_file
Executes an existing Python file. Use this as the final step after building up code with initialize_code_file and append_to_code_file.
read_code_file
Reads the content of an existing Python code file. Use this to verify the current state of a file before appending more content or executing it.

Read from the README; names are kept only if the README contains them.

Common questions about mcp_code_executor

What does mcp_code_executor do?
This software acts as an MCP server enabling language models to run Python code in a designated Conda environment.
How do I install mcp_code_executor?
Its README did not state an install command plainly enough for us to quote one, so we do not guess. The repository has the instructions: https://github.com/bazinga012/mcp_code_executor
Is mcp_code_executor official and is it maintained?
We found nothing naming it as a vendor’s official server. Its repository has 212 GitHub stars and its state in our directory is stale. Its last commit we recorded was on 2025-05-24.
What licence does mcp_code_executor use?
The repository declares the MIT licence.

Learn this on Infrato