Skip to main content
Glama

BMAD MCP Server

by Dali1789
Dockerfileโ€ข1.33 kB
# Multi-stage build for BMAD MCP Server FROM node:18-alpine AS builder WORKDIR /app # Copy package files COPY package*.json ./ COPY tsconfig.json ./ # Copy source code BEFORE installing dependencies COPY src/ ./src/ # Install ALL dependencies for build RUN npm ci --silent # Build TypeScript RUN npm run build # Clean install only production dependencies RUN rm -rf node_modules && npm ci --omit=dev --silent # Production stage FROM node:18-alpine AS production WORKDIR /app # Install dumb-init for proper signal handling RUN apk add --no-cache dumb-init # Create non-root user RUN addgroup -g 1001 -S nodejs && \ adduser -S bmad -u 1001 # Copy built application COPY --from=builder --chown=bmad:nodejs /app/dist ./dist COPY --from=builder --chown=bmad:nodejs /app/node_modules ./node_modules COPY --from=builder --chown=bmad:nodejs /app/package*.json ./ # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD node -e "fetch('http://localhost:3000/health').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))" # Switch to non-root user USER bmad # Expose port EXPOSE 3000 # Set environment ENV NODE_ENV=production ENV PORT=3000 # Start with dumb-init for proper signal handling 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/Dali1789/bmad-mcp-server'

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