# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the official Node.js 18 LTS image as the base image
FROM node:18-alpine AS builder
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY . .
# Build the TypeScript code
RUN npm run build
# Use a smaller base image for the runtime
FROM node:18-alpine
# Set the working directory
WORKDIR /app
# Copy the built files from the builder stage
COPY --from=builder /app/build ./build
COPY --from=builder /app/package.json .
COPY --from=builder /app/node_modules ./node_modules
# Define environment variable for the Lunchmoney API token
ENV LUNCHMONEY_TOKEN=your_token_here
# Expose the port the app runs on
EXPOSE 3000
# Command to run the 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/leafeye/lunchmoney-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server