FROM node:18-alpine AS builder
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code and tsconfig
COPY tsconfig.json ./
COPY src ./src
# Build TypeScript code
RUN npm run build
# Production stage
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install production dependencies only
RUN npm install --omit=dev
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist
COPY .env ./.env
# Expose the port the app runs on
EXPOSE 3000
# Command to run the application
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/Pedrohmlara/countries-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server