We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/caiotk/nexguideai-azure-ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# Multi-stage build for production optimization
FROM node:18-alpine AS builder
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY tsconfig.json ./
# Install dependencies
RUN npm ci --only=production && npm cache clean --force
# Copy source code
COPY src/ ./src/
# Build the application
RUN npm run build
# Production stage
FROM node:18-alpine AS production
# Install security updates and required packages
RUN apk update && apk upgrade && \
apk add --no-cache \
dumb-init \
curl \
ca-certificates && \
rm -rf /var/cache/apk/*
# Create non-root user for security
RUN addgroup -g 1001 -S nodejs && \
adduser -S nodejs -u 1001
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install only production dependencies
RUN npm ci --only=production && npm cache clean --force
# Copy built application from builder stage
COPY --from=builder /app/build ./build
# Create logs directory
RUN mkdir -p logs && chown -R nodejs:nodejs logs
# Copy health check script
COPY scripts/healthcheck.sh ./scripts/
RUN chmod +x scripts/healthcheck.sh
# Switch to non-root user
USER nodejs
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD ./scripts/healthcheck.sh
# Use dumb-init to handle signals properly
ENTRYPOINT ["dumb-init", "--"]
# Start the application
CMD ["node", "build/index.js"]
# Labels for metadata
LABEL maintainer="NexGuide AI <aiadvise@nexguide.ai>"
LABEL version="1.0.0"
LABEL description="Azure AI MCP Server - Mission Critical"
LABEL org.opencontainers.image.source="https://github.com/caiotk/nexguideai-azure-ai-mcp-server"
LABEL org.opencontainers.image.documentation="https://github.com/caiotk/nexguideai-azure-ai-mcp-server/blob/main/README.md"
LABEL org.opencontainers.image.licenses="MIT"