# Builder stage
FROM node:22-alpine AS builder
WORKDIR /app
# Install all dependencies and skip lifecycle scripts
COPY package.json package-lock.json tsconfig.json ./
RUN npm ci --ignore-scripts
# Copy source and build
COPY src ./src
RUN npm run build
# Production stage
FROM node:22-alpine AS runner
WORKDIR /app
# Copy package files and install production dependencies without scripts
COPY package.json package-lock.json ./
RUN npm ci --omit=dev --production --ignore-scripts
# Copy built artifacts from builder
COPY --from=builder /app/build ./build
# Ensure executable permission
RUN chmod +x build/index.js
# Use node to run the MCP server
ENTRYPOINT ["node", "build/index.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/datalabs89/tableau-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server