FROM node:18-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy source files
COPY . .
RUN NODE_OPTIONS="--max-old-space-size=8192"
ENV GENERATE_SOURCEMAP=false
# Build the TypeScript code
RUN npm run build
# Expose the port if needed (MCP typically uses stdio, but this is useful for debugging)
EXPOSE 3000
# Start the MCP server
CMD ["npm", "start"]
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/akki91/ankr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server