We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yhc0712/actual-budget-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# Build stage
FROM node:22-slim AS builder
WORKDIR /app
# Copy package files
COPY package.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY tsconfig.json ./
COPY src ./src
# Build TypeScript
RUN npm run build
# Production stage
FROM node:22-slim
WORKDIR /app
# Copy package files and install production dependencies only
COPY package.json ./
RUN npm install --omit=dev
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist
# Create data directory for Actual cache
RUN mkdir -p /data/actual-cache && chmod 777 /data/actual-cache
# Environment variables
ENV NODE_ENV=production
ENV MCP_MODE=http
ENV PORT=3000
ENV ACTUAL_DATA_DIR=/data/actual-cache
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD node -e "fetch('http://localhost:3000/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"
# Start server
CMD ["node", "dist/index.js"]