From c3c26adc17a7a48815699fa680a1d38b066ecfb3 Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 17 Apr 2025 08:03:48 -0700 Subject: [PATCH 1/3] Add Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 569ef2d..a3c2604 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ +# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile FROM node:22.14-alpine AS builder COPY . /app @@ -20,4 +21,4 @@ WORKDIR /app RUN npm ci --ignore-scripts --omit-dev -ENTRYPOINT ["node", "dist/index.js"] \ No newline at end of file +ENTRYPOINT ["node", "dist/index.js"] From 3f8c89a1b2bc656bab6335ea050489c7349797ac Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 17 Apr 2025 08:03:49 -0700 Subject: [PATCH 2/3] Add Smithery configuration --- smithery.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 smithery.yaml diff --git a/smithery.yaml b/smithery.yaml new file mode 100644 index 0000000..c2b4837 --- /dev/null +++ b/smithery.yaml @@ -0,0 +1,18 @@ +# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml + +startCommand: + type: stdio + configSchema: + # JSON Schema defining the configuration options for the MCP. + type: object + default: {} + description: No configuration required for this MCP server + commandFunction: + # A JS function that produces the CLI command based on the given config to start the MCP on stdio. + |- + (config) => ({ + command: 'node', + args: ['dist/index.js'], + env: {} + }) + exampleConfig: {} From 729c32d2f67c61ff9b972696253ad8b9e501282a Mon Sep 17 00:00:00 2001 From: Henry Mao <1828968+calclavia@users.noreply.github.com> Date: Thu, 17 Apr 2025 08:03:50 -0700 Subject: [PATCH 3/3] Update README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe846f1..c986840 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # mcp-devcontainers +[![smithery badge](https://smithery.ai/badge/@crunchloop/mcp-devcontainers)](https://smithery.ai/server/@crunchloop/mcp-devcontainers) + The MCP Devcontainers is a Model Context Protocol (MCP) server that provides a simple integration with the [devcontainers cli](https://github.com/devcontainers/cli). @@ -53,4 +55,4 @@ At the moment, only `stdio` transport has been implemented. ## License -Released under the MIT License. See the [LICENSE](./LICENSE) file for further details. \ No newline at end of file +Released under the MIT License. See the [LICENSE](./LICENSE) file for further details.