Skip to content

Deployment: Dockerfile and Smithery config #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,4 +21,4 @@ WORKDIR /app

RUN npm ci --ignore-scripts --omit-dev

ENTRYPOINT ["node", "dist/index.js"]
ENTRYPOINT ["node", "dist/index.js"]
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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).

<a href="https://glama.ai/mcp/servers/@crunchloop/mcp-devcontainers">
Expand Down Expand Up @@ -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.
Released under the MIT License. See the [LICENSE](./LICENSE) file for further details.
18 changes: 18 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -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: {}