# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine AS builder
WORKDIR /app
# Install build dependencies
COPY package*.json tsconfig.json ./
RUN npm install --ignore-scripts
# Copy source and build
COPY src ./src
COPY public ./public
RUN npm run build
# Production image
FROM node:lts-alpine AS runner
WORKDIR /app
# Copy built files and production deps
COPY --from=builder /app/dist ./dist
COPY package*.json ./
RUN npm install --production --ignore-scripts --prefer-offline
COPY public ./public
EXPOSE 8080
# Default command to start the MCP
CMD ["node","dist/index.js"]
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/kshern/image-tools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server