a year ago
research-and-dataA podman ubuntu 24.04 container that serves a MCP server; with file, code execution, bash shell, and more.
Overview
what is Container-MCP?
Container-MCP is a secure, container-based implementation of the Model Context Protocol (MCP) designed for executing tools on behalf of large language models in a sandboxed environment.
how to use Container-MCP?
To use Container-MCP, clone the repository, run the provided installation scripts, and connect to the MCP server using a compatible client to execute commands and scripts securely.
key features of Container-MCP?
- Multi-layered security with container isolation and AppArmor profiles.
- Implementation of the MCP protocol for standardized tool discovery and execution.
- Domain-specific managers for secure execution of bash commands, Python code, file operations, and web browsing.
- Configurable environment with extensive options via environment variables.
use cases of Container-MCP?
- Executing secure bash commands in a controlled environment.
- Running Python scripts with restricted access to system resources.
- Performing safe file operations and web scraping without compromising security.
FAQ from Container-MCP?
- Is Container-MCP secure for executing untrusted code?
Yes! Container-MCP uses multiple layers of security to isolate and restrict code execution.
- What are the prerequisites for running Container-MCP?
You need a Linux system with Podman or Docker, Python 3.12+, Firejail, and AppArmor installed.
- Can I customize the execution environment?
Yes! The environment can be configured extensively through environment variables.