About Run Code
Run Code is an MCP server published by musashimiyomoto in the Developer Tools category: mCP Run Code (FastMCP).
The repository has 8 stars and 2 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/musashimiyomoto/mcp-run-codeThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Run Code
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Code Executor MCP
Secure code execution sandbox for Model Context Protocol (MCP).
Features
- Secure Python execution in Docker containers
- Memory, CPU, and PIDS limits
- API Key authentication
- Task-based execution support
- Truncated output handling
Configuration
Configure using environment variables or a .env file:
cp .env.example .env
MCP_API_KEY: Required for authenticationMCP_PORT: Server port (default: 8000)MCP_DOCKER_IMAGE: Sandbox image (default: python:3.12-alpine)
Authentication
- The server accepts only
Authorization: Bearer <MCP_API_KEY>. - Requests without a Bearer token are rejected.
Usage
Local Development
uv sync
uv run main.py
Docker
docker build -t mcp-manager .
docker run --rm -it \
--env-file .env \
-p 8000:8000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp:/tmp \
mcp-manager
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.