FROM node:18-alpine
WORKDIR /app
# Copy package files and source code
COPY package*.json ./
COPY tsconfig.json ./
COPY src/ ./src/
# Install all dependencies (including dev for TypeScript)
RUN npm install
# Build the application
RUN npm run build
# Remove dev dependencies for production
RUN npm prune --omit=dev
# Create non-root user
RUN addgroup -g 1001 -S nodejs
RUN adduser -S mesh-scanner -u 1001
# Change ownership of the app directory
RUN chown -R mesh-scanner:nodejs /app
# Switch to non-root user
USER mesh-scanner
# Expose the port
EXPOSE 3000
# Start the application
CMD ["node", "build/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/DynamicEndpoints/mesh-scanner'
If you have feedback or need assistance with the MCP directory API, please join our Discord server