FROM node:18-slim
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies without running prepare script
RUN npm ci --ignore-scripts
# Copy source code
COPY . .
# Install TypeScript globally
RUN npm install -g typescript@5.3.3
# Build TypeScript code
RUN npm run build
# Expose the port from .env (default 3001)
EXPOSE 3001
# Run the server
CMD ["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/Toowiredd/chatgpt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server