agent-jail-mcp
Creates and manages disposable Docker sandboxes for isolated command execution, with TTL-based cleanup, memory limits, and optional network isolation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-jail-mcprun 'python3 main.py' in a disposable docker sandbox"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-jail-mcp
Agent Jail gives AI agents disposable, isolated Docker sandboxes.
Instead of letting agents run commands directly on your machine, Agent Jail creates ephemeral containers where agents can safely execute code.
Give your AI agent a jail, not your machine.
Features
MCP server for AI clients
REST API
Web dashboard
Disposable Docker sandboxes
TTL-based automatic cleanup
Memory limits
Optional network isolation
Command execution inside sandboxes
Simple sandbox lifecycle management
Related MCP server: Containerized Strands Agents
Components
MCP Server
Exposes sandbox tools to MCP-compatible clients.
python server.pyREST API
python api.pySmoke Test
python smoke_test.pyDocker
Build and run the complete stack:
docker compose up --buildRequirements
Python 3.12+
Docker
Docker Compose
Setup
Create a virtual environment:
python3 -m venv venv
source venv/bin/activateInstall dependencies:
pip install -r requirements.txtCopy the environment configuration:
cp .env.example .envConfigure .env as needed.
Architecture
The MCP server receives sandbox requests from an AI agent and delegates sandbox lifecycle and command execution to Docker.
Each sandbox is disposable and isolated from the host environment.
Security
Agent Jail is designed to reduce the risk of allowing AI agents to execute commands directly on the host.
Sandboxes should be treated as untrusted execution environments.
For production deployments, carefully review Docker permissions, resource limits, network access, mounted volumes, and container capabilities.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceA secure, container-based implementation of the Model Context Protocol (MCP) that provides sandboxed environments for AI systems to safely execute code, run commands, access files, and perform web operations.Last updated22Apache 2.0
- Alicense-qualityCmaintenanceRuns isolated AI agents in Docker containers with persistent workspaces and conversation history. Each agent has access to file operations, shell commands, GitHub integration, and can connect to external MCP servers for additional tools.Last updated3MIT
- Alicense-qualityBmaintenanceA throwaway Docker sandbox for agents to run code and shell commands safely.Last updated24MIT
- Alicense-qualityBmaintenanceEnables AI agents to create, manage, and execute code in isolated Firecracker microVM sandboxes via the MCP protocol, with support for sandbox lifecycle and file operations.Last updated2Apache 2.0
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Provision and manage a VPS for AI agents over MCP: register, order, get root, control the server.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/idiscoord13-sketch/agent-jail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server