FROM node:18-alpine
# Install WebP tools for optimal performance
RUN apk add --no-cache libwebp-tools
WORKDIR /app
# Copy package files first for better caching
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy source code and build
COPY . .
RUN npm run build
# Create data directory for volume mounting
RUN mkdir -p /data
# Default to processing /data directory
WORKDIR /data
# Run the CLI tool by default
ENTRYPOINT ["node", "/app/dist/cli.js"]
CMD ["--src", "/data"]
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/mhe8mah/webp-batch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server