Code Sandbox MCP
A sandboxed MCP server enabling secure, multi-language code execution with resource limits and network restrictions. Direct example of an MCP server providing isolated code execution environments.
About this tool
Code Sandbox MCP
A sandboxed MCP server enabling secure, multi-language code execution with resource limits and network restrictions. It provides AI applications with a safe, isolated environment for running code inside Docker containers.
Features
- Secure Code Execution: Runs code within Docker containers to ensure isolation and security.
- Multi-language Support: Designed to execute code in multiple programming languages (based on chosen Docker images).
- Resource Limits and Network Restrictions: Enables fine-grained control over resources and network access for executed code.
- Sandbox Initialization: Tool to create new compute environments for code execution by launching containers with specified images.
- File and Directory Management:
copy_project: Copy entire directories into the sandboxed file system.copy_file: Copy single files into the sandboxed environment.write_file: Write files directly into the sandbox.
- Command Execution:
sandbox_execallows running arbitrary commands inside the sandboxed container. - Graceful Container Teardown:
sandbox_stopstops and cleans up containers, including their volumes, with a timeout. - Access to Container Logs: Provides a resource endpoint to retrieve all logs from a container as plain text.
- Configurable for Various Platforms: Supports configuration and installation on Linux, macOS, and Windows.
- Integration with AI Applications: Can be used as the code execution backend for AI tools supporting MCP servers.
- Open Source: Licensed under the MIT License.
Pricing
No pricing information provided; the project is open source under the MIT License.
Source
https://github.com/Automata-Labs-Team/code-sandbox-mcp
Tags
mcp, code-execution, sandbox, multi-language
Loading more......
Information
Categories
Tags
Similar Products
6 result(s)An MCP server offering secure, sandboxed environments for executing code, running commands, accessing files, and performing web operations through containerization and isolation technologies.
MCP servers providing a secure, sandboxed environment for executing Kali Linux security tools like nmap, objdump, and wireshark for network analysis and vulnerability scanning.
Implements CEDARScript, a SQL-like language, as an MCP server for code manipulation, showcasing the adaptability of MCP servers for language and code-based tasks.
A command line MCP Server offering secure execution and customizable security policies. Directly relevant to MCP server implementations for command line environments.
An MCP Server that executes Bash commands within Pipedream workflows, enabling shell scripting and curl-based integrations via MCP.
codemcp is a minimal coding agent MCP server that exposes basic tools for reading and writing files and executing command-line operations. It is designed as a simple reference implementation of an MCP-based coding agent.