Skip to main content
Glama

Code Executor MCP Server

by aberemia24
start-with-env.sh603 B
#!/bin/bash # Wrapper script to start code-executor-mcp with environment variables # Workaround for Claude Code issue #1254 (env vars not propagated to MCP servers) set -e # Load .env file if it exists if [ -f .env ]; then echo "Loading environment variables from .env..." >&2 set -a # Automatically export all variables source .env set +a # Disable auto-export else echo "Warning: .env file not found. Copy .env.example to .env and configure." >&2 exit 1 fi # Start the MCP server echo "Starting Code Executor MCP Server with environment variables..." >&2 exec node dist/index.js "$@"

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/aberemia24/code-executor-MCP'

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