Devcontainers Integration Server

MCP for devcontainers

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install crunchloop/mcp-devcontainers -c claude

This command will automatically install and configure the Devcontainers Integration Server MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "Devcontainers Integration Server": {
      "command": "npx",
      "args": [
        "-y",
        "@crunchloop/mcp-devcontainers"
      ]
    }
  }
}

mcp-devcontainers

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

Devcontainers MCP server

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.

Share:
Details:
  • Stars


    1
  • Forks


    4
  • Last commit


    24 days ago
  • Repository age


    24 days
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to Devcontainers Integration Server:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit