We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MokhtarLahjaily/word-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•616 B
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY tsconfig.json ./
COPY src ./src
RUN npm run build
FROM node:20-alpine
WORKDIR /app
# Create a non-root user
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
# Create output directory and change ownership
RUN mkdir -p /app/output && chown -R appuser:appgroup /app/output
COPY package*.json ./
RUN npm ci --only=production
COPY --from=builder /app/dist ./dist
# Switch to non-root user
USER appuser
# Environment variables
ENV OUTPUT_DIR=/app/output
ENV PORT=3000
# Start the server
CMD ["node", "dist/index.js"]