Skip to main content
Glama

Timezone MCP Server

by sam-artuso
Dockerfileβ€’1.26 kB
# Multi-stage build for optimal image size FROM node:22-alpine AS builder # Install pnpm RUN corepack enable && corepack prepare pnpm@10.13.1 --activate # Set working directory WORKDIR /app # Copy package files COPY package.json pnpm-lock.yaml ./ # Install dependencies RUN pnpm install --frozen-lockfile # Copy source code COPY . . # Build the application RUN pnpm run build # Production stage FROM node:22-alpine # Install pnpm RUN corepack enable && corepack prepare pnpm@10.13.1 --activate # Set working directory WORKDIR /app # Copy package files COPY package.json pnpm-lock.yaml ./ # Install production dependencies only RUN pnpm install --prod --frozen-lockfile # Copy built application from builder COPY --from=builder /app/dist ./dist # Expose port (Cloud Run will set PORT env variable) EXPOSE 8080 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD node -e "require('http').get('http://localhost:' + (process.env.PORT || 8080) + '/health', (r) => {if (r.statusCode !== 200) throw new Error('Health check failed')})" # Start the NestJS application (includes REST API + MCP server) # Note: NestJS outputs to dist/main.js (not dist/src/main.js) when built in Docker CMD ["node", "dist/main.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/sam-artuso/demo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server