FROM node:lts-alpine
WORKDIR /usr/src/app
# Copy package.json and package-lock.json
COPY *.json ./
# Install dependencies without triggering any unwanted scripts
RUN npm install --ignore-scripts
# Copy all source code
COPY . .
# Environment variables for configuration
ENV MCP_PORT="3000"
# Expose the default port
EXPOSE ${MCP_PORT}
# Command to run the server
CMD [ "node", "--experimental-strip-types", "index.ts" , "--http"]
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/SocketDev/socket-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server