Skip to main content
Glama
Dockerfile759 B
FROM node:18-alpine # Set working directory WORKDIR /app # Copy package files COPY package*.json ./ # Install all dependencies (including devDependencies for build) RUN npm ci # Copy source code COPY . . # Build TypeScript RUN npm run build # Remove devDependencies to reduce image size RUN npm prune --production # Create non-root user for security RUN addgroup -g 1001 -S nodejs && \ adduser -S nodejs -u 1001 # Change ownership of app directory RUN chown -R nodejs:nodejs /app USER nodejs # Expose port (if needed for debugging) EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD node -e "console.log('MySQL MCP Server is healthy')" || exit 1 # Start the application CMD ["npm", "start"]

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/ttpears/mcp-mysql'

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