MCP Devcontainers MCP Server

MCP for devcontainers

Local serverstdio

What is the MCP Devcontainers MCP server?

MCP Devcontainers MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP for devcontainers.

What you get

The MCP Devcontainers is a Model Context Protocol (MCP) server that provides a simple integration with the devcontainers cli.

What the assistant can call

Once MCP Devcontainers is connected, these are the calls the assistant has available:

  • devcontainer_up — Path to the workspace folder (string, required)
  • devcontainer_run_user_commands — Path to the workspace folder (string, required)
  • devcontainer_exec — Path to the workspace folder (string, required)

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Devcontainers's toolset — devcontainer_up, devcontainer_run_user_commands, devcontainer_exec — is a fair guide to whether it matches your workflow. It is maintained by crunchloop; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Devcontainers's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp devcontainers mcp server does with a few real requests.

Available tools

ToolWhat it does
devcontainer_upPath to the workspace folder (string, required)
devcontainer_run_user_commandsPath to the workspace folder (string, required)
devcontainer_execPath to the workspace folder (string, required)

How to install the MCP Devcontainers MCP server

{
  "mcpServers": {
    "devcontainers": {
      "command": "npx",
      "args": [
        "-y",
        "@crunchloop/mcp-devcontainers"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP Devcontainers to devcontainer up.
  • Use MCP Devcontainers to devcontainer run user commands.
  • Use MCP Devcontainers to devcontainer exec.

Frequently asked questions

It connects MCP Devcontainers to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (devcontainer_up, devcontainer_run_user_commands, devcontainer_exec) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Devcontainers directly.