mcp_code_executor

bazinga012/mcp_code_executor

3.9

mcp_code_executor is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of mcp_code_executor and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Code Executor is a server that enables LLMs to execute Python code within a specified environment, supporting incremental code generation and dependency management.

Try mcp_code_executor with chat:

Tools

Functions exposed to the LLM to take actions

execute_code

Execute Python code in the conda environment. For short code snippets only. For longer code, use initialize_code_file and append_to_code_file instead.

initialize_code_file

Create 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.

append_to_code_file

Append 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.

execute_code_file

Execute 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

Read 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.

install_dependencies

Install Python dependencies in the conda environment

check_installed_packages

Check if packages are installed in the conda environment

configure_environment

Change the environment configuration settings

get_environment_config

Get the current environment configuration

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources