devenv-mcp-server
Allows creating and managing Docker-based development environments for Actix web applications (included in Rust stack).
Allows creating and managing Docker-based development environments for Bun projects (e.g., Hono).
Allows creating and managing Docker-based development environments for Django projects.
Allows creating and managing Docker-based development environments for Express.js projects.
Allows creating and managing Docker-based development environments for FastAPI projects.
Allows creating and managing Docker-based development environments for Flask projects.
Allows creating and managing Docker-based development environments for Gin web applications (Go).
Allows creating and managing Docker-based development environments for Laravel projects.
Allows creating and managing Docker-based development environments for NestJS projects.
Allows creating and managing Docker-based development environments for Next.js projects.
Allows creating and managing Docker-based development environments for static sites served by NGINX.
Allows creating and managing Docker-based development environments for Rust web applications (e.g., Axum, Actix).
Allows creating and managing Docker-based development environments for Symfony projects.
Allows creating and managing Docker-based development environments for Vite projects (e.g., Vite + React, Vite + Vue).
Click on "Deploy 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., "@devenv-mcp-serverCreate a new Next.js project called my-portfolio"
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.
DevEnv MCP Server
An MCP (Model Context Protocol) server that provisions Docker-based development environments on demand.
Any AI agent (Claude, Gemini, Cursor, etc.) can call these tools to create, manage, and inspect containerized dev environments — completely hands-free. No more manual setup of Node, Python, or Docker Compose for every new project.
Features
Instant Scaffolding: Create full-stack projects (Next.js, Flask, FastAPI, etc.) with one command.
Docker Isolation: Every environment runs in its own container, keeping your host machine clean.
Two Workspace Modes:
isolated(default, container-only files) ormapped(bind-mounted host files).Hands-free Dependencies: The AI automatically installs required packages and sets up the environment.
Direct File Access:
write_fileandread_filetools let the agent modify files inside the container.Portable Export:
export_environmentsnapshots an environment into a Docker image tarball.Universal IDE Support: Works with VS Code (Gemini), Claude Desktop, Cursor, Windsurf, and Claude CLI.
Related MCP server: Advanced MCP Server
Supported Stacks
Stack | Framework | Base Image | Default Port |
| Flask (Python) |
| 5000 |
| Django (Python) |
| 8000 |
| FastAPI (Python) |
| 8000 |
| Next.js (React) |
| 3000 |
| Vite + React |
| 5173 |
| Vite + Vue |
| 5173 |
| Express.js |
| 3000 |
| Static HTML/CSS/JS |
| 8080 |
| Laravel (PHP) |
| 8000 |
| Symfony (PHP) |
| 8000 |
| NestJS (Node.js) |
| 3000 |
| Hono (Bun) |
| 3000 |
| Axum/Actix (Rust) |
| 8080 |
| Gin/Fiber (Go) |
| 8080 |
| Nginx (Static Assets) |
| 80 |
Prerequisites
Docker with
docker composev2 installed and running.Python 3.10+ with
pip.
Quick Start
Clone and Install:
git clone https://github.com/ClaudiuJitea/devenv-mcp-server.git cd devenv-mcp-server pip install -r requirements.txtConfigure your IDE: (See IDE Integration below)
Start Creating: Ask your AI agent:
"Create a new Next.js project called 'my-portfolio' using the devenv tool."
IDE Integration
Gemini Code Assist (VS Code)
Add to your VS Code settings.json:
{
"gemini.mcp.servers": {
"devenv": {
"command": "python3",
"args": ["/absolute/path/to/server.py"],
"env": {}
}
}
}Claude Desktop
Add to ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"devenv": {
"command": "python3",
"args": ["/absolute/path/to/server.py"]
}
}
}Cursor / Windsurf / Claude CLI
The server supports the standard MCP protocol via stdio. Use the path to server.py in your configuration.
Available Tools
Tool | Description |
| Show all available technology stacks |
| Create a new Docker dev environment |
| List all environments and their status |
| Start a stopped environment |
| Stop a running environment |
| Remove environment, container, volumes, associated images, and files by default |
| Run a command inside a container |
| Write/create a file inside a container's /app |
| Read a file from a container's /app |
| Get detailed environment info |
| Export a portable image tar and generate deploy scripts |
Workspace Modes
create_environment supports workspace_mode:
isolated(default): no host bind mount. Source code, dependencies, and generated files stay inside the container.mapped: bind-mount project files from~/devenv-projects/<project>to/appfor direct host editing.
Recommended default is isolated when you want portability and host isolation.
How It Works
Request: The AI agent identifies a stack requirement (e.g., "I want a Flask app").
Execution: It calls
create_environment(project_name="app", stack="flask", workspace_mode="isolated").Provisioning: The MCP server:
Creates a project directory at
~/devenv-projects/<project>/.Generates Dockerfile, compose, and metadata files.
Builds and starts a dedicated container for that project.
Runs stack-specific initialization commands when required.
Editing Workflow:
In
isolatedmode, usewrite_file,read_file, andexec_commandto work entirely in-container.In
mappedmode, edit files directly from the host and they reflect in the container.
Portability: Call
export_environmentto snapshot and save a tarball (docker load -i ...on another machine). In mapped mode, export automatically captures mapped host files into an isolated image first. The export also writesdeploy-<project>.shanddeploy-<project>.ps1next to the tar.
Directory Structure
~/devenv-projects/
└── my-project/
├── Dockerfile
├── docker-compose.yml
├── .devenv.json
├── app.py # or stack scaffold files
└── ...Development
To test the server manually:
python3 server.pyOr use the MCP Inspector:
npx @modelcontextprotocol/inspector python3 server.pyBuilt for the AI-First Developer Workflow.
This server cannot be deployed
Maintenance
Related MCP Connectors
Your AI Agent's Infrastructure Layer. Connect Claude, Copilot, Codex, or ChatGPT to 200+ managed open source services. Start databases, pipelines, and applications through natural language.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Hosting for AI agents: your AI client deploys Docker apps to live HTTPS URLs over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides isolated Docker environments for code execution, enabling users to create and manage containers, execute multi-language code, save and reproduce development environments, ensuring security and isolation.17-
- FlicenseNot gradedqualityCmaintenanceProvides AI coding agents with a secure, sandboxed environment for executing coding tasks including file operations, command execution, and testing. Features session management, policy enforcement, and Docker-based sandboxing for safe code execution and development workflows.-

MileHost MCP Serverofficial
AlicenseCqualityBmaintenanceEnables AI coding agents to manage cloud containers, create and edit files, run commands, and deploy projects directly.247MIT- AlicenseAqualityBmaintenanceEnables AI coding agents to safely execute commands, run tests, and modify project files inside disposable, policy-enforced Docker sandboxes that are isolated from the host machine and its credentials.15MIT