FROM node:20-alpine
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
# Copy application code
COPY . .
# Create config and data directories
RUN mkdir -p /app/config
RUN mkdir -p /app/data
# No need for the sed commands anymore since we've updated the imports directly in the code
# Set environment variables
ENV NODE_ENV=production
# No need for PORT since we're using stdin/stdout for MCP communications
# Volume for persistent token storage
VOLUME ["/app/data"]
# Start application with StdioServerTransport
CMD ["node", "src/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/mattweg/ynab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server