# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Stage 1: Build the application
FROM node:20 AS builder
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json tsconfig.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application
COPY . .
# Build the application
RUN npm run build
# Stage 2: Run the application
FROM node:20-alpine
# Set the working directory
WORKDIR /app
# Copy the build output and package files from the builder stage
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/package.json /app/package-lock.json /app/node_modules /app/
# Set the entrypoint
ENTRYPOINT ["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/btwiuse/npm-search-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server