Skip to main content
Glama

Weather MCP Service

by Philip-Walsh
Dockerfile782 B
FROM node:18-alpine AS builder WORKDIR /app COPY package*.json ./ COPY tsconfig.json ./ RUN npm ci --only=production COPY src/ src/ RUN npm run build FROM node:18-alpine AS production WORKDIR /app RUN apk add --no-cache dumb-init RUN addgroup -g 1001 -S nodejs && \ adduser -S nodejs -u 1001 COPY package*.json ./ RUN npm ci --only=production && npm cache clean --force COPY --from=builder /app/dist ./dist RUN mkdir -p /app/data && chown -R nodejs:nodejs /app USER nodejs HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD node -e "require('http').get('http://localhost:3000/api/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) })" || exit 1 EXPOSE 3000 ENTRYPOINT ["dumb-init", "--"] CMD ["node", "dist/server.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/Philip-Walsh/weathernode'

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