5
54rt1n/container-mcp
Containerized MCP server for files, shell and code execution
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · 自动访问被拒(HTTP 429),状态未能确认
我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →
- 来源明细
- 收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
- 评分构成
- 综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
# Container-MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A secure, container-based implementation of the Model Context Protocol (MCP) for executing tools on behalf of large language models.
## Overview
Container-MCP provides a sandboxed environment for safely executing code, running commands, accessing files, and performing web operations requested by large language models. It implements the MCP protocol to expose these capabilities as tools that can be discovered and called by AI systems in a secure manner.
The architecture uses a domain-specific manager pattern with multi-layered security to ensure tools execute in isolated environments with appropriate restrictions, protecting the host system from potentially harmful operations.
## Key Features
Multi-layered Security
Container isolation using Podman/Docker
AppArmor profiles for restricting access
Firejail sandboxing for additional isolation
Resource limits (CPU, memory, execution time)
Path traversal prevention
Allowed extension restrictions
MCP Protocol Implementation
Standardized tool discovery and execution
Resource management
Async execution support
Domain-Specific Managers
BashManager: Secure command execution
PythonManager: Sandboxed Python code execution
FileManager: Safe file operations
WebManager: Secure web browsing and scraping
KnowledgeBaseManager: Structured document storage with semantic search
ListManager: Organized list and collection management
MarketManager: Stock and cryptocurrency data via Yahoo Finance
RssManager: RSS and Atom feed fetching
Configurable Environment
Extensive configuration via environment variables
Custom environment support
Development and production modes
## Available Tools
### System Operations
#### system_run_command
Executes bash commands in a secure sandbox environment.
Parameters:
command (string, required): The bash command to execute
working_dir (string, optional): Working directory (ignored in sandbox)
Returns:
stdout (string): Command standard output
stderr (string): Command standard error
exit_code (integer): Command exit code
success (boolean): Whether command completed successfully
json
"stdout": "file1.txt\nfile2.txt\n",
"stderr": "",
"exit_code": 0,
"success": true
#### system_run_python
Executes Python code in a secure sandbox environment.
Parameters:
code (string, required): Python code to execute
working_dir (string, optional): Working directory (ignored in sandbox)
Returns:
output (string): Print output from the code
error (string): Error output from the code
result (any): Optional return value (available if code sets _ variable)
success (boolean): Whether code executed successfully
json
"output": "Hello, world!\n",
"error": "",
"result": 42,
"success": true
#### system_env_var
Gets environment variable values.
Parameters:
var_name (string, optional): Specific variable to retrieve
Returns:
variables (object): Dictionary of environment variables
requested_var (string): Value of the requested variable (if var_name provided)
json
"variables": {
"MCP_PORT": "8000",
"SANDBOX_ROOT": "/app/sandbox"
},
"requested_var": "8000"
#### health_check
Gets server health status and system information.
Parameters: None
Returns:
status (string): Server health status
timestamp (string): Current ISO timestamp
## Overview
Container-MCP provides a sandboxed environment for safely executing code, running commands, accessing files, and performing web operations requested by large language models. It implements the MCP protocol to expose these capabilities as tools that can be discovered and called by AI systems in a secure manner.
The architecture uses a domain-specific manager pattern with multi-layered security to ensure tools execute in isolated environments with appropriate restrictions, protecting the host system from potentially harmful operations.
## Key Features
Multi-layered Security
Container isolation using Podman/Docker
AppArmor profiles for restricting access
Firejail sandboxing for additional isolation
Resource limits (CPU, memory, execution time)
Path traversal prevention
Allowed extension restrictions
MCP Protocol Implementation
Standardized tool discovery and execution
Resource management
Async execution support
Domain-Specific Managers
BashManager: Secure command execution
PythonManager: Sandboxed Python code execution
FileManager: Safe file operations
WebManager: Secure web browsing and scraping
KnowledgeBaseManager: Structured document storage with semantic search
ListManager: Organized list and collection management
MarketManager: Stock and cryptocurrency data via Yahoo Finance
RssManager: RSS and Atom feed fetching
Configurable Environment
Extensive configuration via environment variables
Custom environment support
Development and production modes
## Available Tools
### System Operations
#### system_run_command
Executes bash commands in a secure sandbox environment.
Parameters:
command (string, required): The bash command to execute
working_dir (string, optional): Working directory (ignored in sandbox)
Returns:
stdout (string): Command standard output
stderr (string): Command standard error
exit_code (integer): Command exit code
success (boolean): Whether command completed successfully
json
"stdout": "file1.txt\nfile2.txt\n",
"stderr": "",
"exit_code": 0,
"success": true
#### system_run_python
Executes Python code in a secure sandbox environment.
Parameters:
code (string, required): Python code to execute
working_dir (string, optional): Working directory (ignored in sandbox)
Returns:
output (string): Print output from the code
error (string): Error output from the code
result (any): Optional return value (available if code sets _ variable)
success (boolean): Whether code executed successfully
json
"output": "Hello, world!\n",
"error": "",
"result": 42,
"success": true
#### system_env_var
Gets environment variable values.
Parameters:
var_name (string, optional): Specific variable to retrieve
Returns:
variables (object): Dictionary of environment variables
requested_var (string): Value of the requested variable (if var_name provided)
json
"variables": {
"MCP_PORT": "8000",
"SANDBOX_ROOT": "/app/sandbox"
},
"requested_var": "8000"
#### health_check
Gets server health status and system information.
Parameters: None
Returns:
status (string): Server health status
timestamp (string): Current ISO timestamp
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/54rt1n-container-mcp/)
- 来源
- awesome · https://github.com/54rt1n/container-mcp
- 按领域浏览
- MCP 服务
- 收录来源
- 10 个独立来源
- 收录于
- 今天
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。