1. Conduid
  2. Developer Tools
  3. code-executor
MCP server · Developer Tools

code-executor

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

Unclaimed MIT last commit a year ago ai-agentsanthropicclaude-codecode-executionmcpsecurity
64Good

Scored 1 hours ago · breakdown

About code-executor

code-executor is an MCP server published by bazinga012 in the Developer Tools category: the MCP Code Executor is an MCP server that allows LLMs to execute Python code within a specified Conda environment. Conduid read 9 tools from its source: append_to_code_file, check_installed_packages, configure_environment, execute_code, execute_code_file, get_environment_config and 3 more. No package is published for it, so it installs from a source checkout.

The repository has 211 stars and 43 forks, is licensed MIT, and its last commit was on 24 May 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include code-execution and security.

Install

From source
git clone https://github.com/bazinga012/mcp_code_executor

Tools (9)

append_to_code_fileAppend content to an existing Python code file. Use this to add more code to a file created with initialize_code_file, allowing you to build up larger code bases in parts.
ParameterTypeDescription
content *stringContent to append to the file
file_path *stringFull path to the file
check_installed_packagesCheck if packages are installed in the ${ENV_CONFIG.type} environment
ParameterTypeDescription
packages *arrayList of packages to check
configure_environmentChange the environment configuration settings
ParameterTypeDescription
conda_namestringName of the conda environment (required if type is 'conda')
type *stringType of Python environment
uv_venv_pathstringPath to the UV virtualenv (required if type is 'venv-uv')
venv_pathstringPath to the virtualenv (required if type is 'venv')
execute_codeExecute Python code in the ${ENV_CONFIG.type} environment. For short code snippets only. For longer code, use initialize_code_file and append_to_code_file instead.
ParameterTypeDescription
code *stringPython code to execute
filenamestringOptional: Name of the file to save the code (default: generated UUID)
execute_code_fileExecute an existing Python file. Use this as the final step after building up code with initialize_code_file and append_to_code_file.
ParameterTypeDescription
file_path *stringFull path to the Python file to execute
get_environment_configGet the current environment configuration
initialize_code_fileCreate a new Python file with initial content. Use this as the first step for longer code that may exceed token limits. Follow with append_to_code_file for additional code.
ParameterTypeDescription
content *stringInitial content to write to the file
filenamestringOptional: Name of the file (default: generated UUID)
install_dependenciesInstall Python dependencies in the ${ENV_CONFIG.type} environment
ParameterTypeDescription
packages *arrayList of packages to install
read_code_fileRead 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.
ParameterTypeDescription
file_path *stringFull path to the file to read

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 804 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 1 source file and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:4
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
package-lock.json

Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 804 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About code-executor

How do I install code-executor?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is code-executor safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Conduid's scan of 1 source files found that it serves MCP over stdio. Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is code-executor still maintained?

The last commit was a year ago and 7 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does code-executor provide?

Conduid read 9 tools from the source: append_to_code_file, check_installed_packages, configure_environment, execute_code, execute_code_file, get_environment_config, initialize_code_file, install_dependencies and 1 more. 8 of them publish their parameters, listed under Tools above.

What license is code-executor released under?

The repository declares the MIT license.