FROM node:18-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm ci --only=production
# Copy source code
COPY src/ ./src/
COPY yourls-mcp.js ./
# Make the main script executable
RUN chmod +x yourls-mcp.js
# Set environment variables
ENV NODE_ENV=production
# Command to run the server
CMD ["node", "yourls-mcp.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/kesslerio/yourls-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server