CM

crunchloop/mcp-devcontainers

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

6 stars 3 forks Качество 59 Тренд 14MIT

MCP for devcontainers

Обзор

The MCP Devcontainers is a Model Context Protocol (MCP) server that provides a simple integration with the devcontainers cli. This server requires 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. 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. At the moment, only stdio transport has been implemented. Released under the MIT License. See the LICENSE file for further details.

README

Показан фрагмент оригинального README. Открыть оригинал.

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

Tool workspaceFolder outputFilePath Command Description
devcontainer_up Path to the workspace folder (string, required) Path to write output logs (string, optional) N/A Start or initialize a devcontainer environment in the specified workspace folder.Use this to ensure the devcontainer is running and ready for development tasks.
devcontainer_run_user_commands Path to the workspace folder (string, required) Path to write output logs (string, optional) N/A 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.
Открыть полный README на GitHub

Установка

npx -y @crunchloop/mcp-devcontainers
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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