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 "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., "@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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/ClaudiuJitea/devenv-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server