Open Source MCP Server
Star

Give your AI agent its own
dev environment — not yours.

33 MCP tools that let AI coding agents create, manage, and work inside dev containers, keeping your machine clean and your environment reproducible and deploy-friendly. Use local Docker, GitHub Codespaces, Azure, AWS, Google Cloud or Kubernetes seamlessly!

curl -fsSL https://github.com/aniongithub/devcontainer-mcp/releases/latest/download/install.sh | bash
and start coding with
GitHub Copilot Claude Cursor
linux-x64 · linux-arm64 · darwin-x64 · darwin-arm64

Why?

AI agents need to run code somewhere. Today that's your machine. It shouldn't be.

The problem

When AI agents write code, they run it on your machine:

  • Install packages on the host
  • Assume local toolchains match production
  • Break other projects' dependencies
  • Run arbitrary commands with your privileges
  • Constrained by your local hardware

The solution

Give the agent a container. It builds there:

  • Isolated, reproducible environment
  • Same container spec as production
  • Nothing installed on the host
  • Runs locally or on the cloud in an isolated environment
  • Scale up to match your needs without any compromise

How it works

The agent orchestrates everything through MCP tools. You just approve.

Local Docker workflow demo

Work anywhere — or right here

Let your agent work beyond the confines of your hardware, or within it.

Codespaces workflow demo

Local Docker

devcontainer CLI

Fast, simple, no cloud account needed. Perfect for local development with the official devcontainer spec.

DevPod

Multi-provider

Docker, Kubernetes, AWS, Azure, GCP — one tool. DevPod handles provisioning, we handle orchestration.

GitHub Codespaces

Cloud-hosted

Full VS Code environment in the cloud. Prebuilds, fast startup, managed by GitHub. Just bring an auth handle.

Built-in auth broker

The agent manages credentials without ever seeing a token.

1
Discover accounts auth_status("github")

Lists all keyring accounts with scopes

2
Agent asks, you pick

"You have 2 GitHub accounts. Which one?"

3
Opaque handle, no token codespaces_create(auth: "github-you", ...)

MCP server resolves the handle on every call

GitHub AWS Azure GCP Kubernetes

33 MCP tools

Everything an agent needs to manage dev containers end-to-end.

Auth 4

  • auth_status
  • auth_login
  • auth_select
  • auth_logout

DevPod 15

  • devpod_up / stop / delete
  • devpod_build / status / list
  • devpod_ssh
  • devpod_logs
  • devpod_provider_list / add / delete
  • devpod_context_list / use
  • devpod_container_inspect / logs

devcontainer CLI 7

  • devcontainer_up / stop / remove
  • devcontainer_exec
  • devcontainer_build
  • devcontainer_read_config
  • devcontainer_status

Codespaces 7

  • codespaces_create / stop / delete
  • codespaces_list / view
  • codespaces_ssh
  • codespaces_ports