Skip to main content
Glama
bazinga012

MCP Code Executor

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONDA_ENV_NAMEYesThe name of the Conda environment you want the code to run in
CODE_STORAGE_DIRYesThe directory where you want the generated code to be stored

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bazinga012/mcp_code_executor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server