Skip to main content
Glama

MCP Devcontainers

by crunchloop

mcp-devcontainers

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

Dependencies

This server requires Docker to be installed and running on your system, as it is used by the devcontainers cli to build and manage development containers.

No other dependencies are required to use the MCP Devcontainers server.

Usage

MCP servers are configured differently depending on the client that you are using. For reference, this is how you would configure it using Claude Desktop.

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

MCP Transport

At the moment, only stdio transport has been implemented.

Tools

  • devcontainer_up - Start or initialize a devcontainer environment in the specified workspace folder. Use this to ensure the devcontainer is running and ready for development tasks.
    • workspaceFolder: Path to the workspace folder (string, required)
    • outputFilePath: Path to write output logs (string, optional)
  • devcontainer_run_user_commands - Run the user-defined postCreateCommand and postStartCommand scripts in the devcontainer for the specified workspace folder. Use this to execute setup or initialization commands after the devcontainer starts.
    • workspaceFolder: Path to the workspace folder (string, required)
    • outputFilePath: Path to write output logs (string, optional)
  • devcontainer_exec - Execute an arbitrary shell command inside the devcontainer for the specified workspace folder. Use this to run custom commands or scripts within the devcontainer context.
    • workspaceFolder: Path to the workspace folder (string, required)
    • command: Command to execute (string[], required)
    • outputFilePath: Path to write output logs (string, optional)

License

Released under the MIT License. See the LICENSE file for further details.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

An MCP server that enables interaction with development containers through the devcontainers CLI, allowing users to start, run commands in, and execute arbitrary shell commands inside devcontainers.

  1. Dependencies
    1. Usage
      1. MCP Transport
        1. Tools
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              An MCP server to create secure code sandbox environment for executing code within Docker containers.
              Last updated -
              245
              Go
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              This is an MCP server that facilitates building tools for interacting with various APIs and workflows, supporting Python-based development with potential for customizable prompts and user configurations.
              Last updated -
              Python
            • A
              security
              A
              license
              A
              quality
              An MCP server that provides tools for interacting with Chrome through its DevTools Protocol, enabling remote control of Chrome tabs to execute JavaScript, capture screenshots, monitor network traffic, and more.
              Last updated -
              7
              64
              41
              TypeScript
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              An MCP server that allows managing Docker containers through natural language, enabling users to compose, introspect, and debug containers without running commands themselves.
              Last updated -
              556
              Python
              GPL 3.0
              • Apple

            View all related MCP servers

            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/crunchloop/mcp-devcontainers'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server