# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Set working directory
WORKDIR /app
# Install pnpm
RUN npm install -g pnpm
# Copy package files
COPY package.json pnpm-lock.yaml ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# Copy the rest of the source code
COPY . .
# Build the project
RUN pnpm run build
# Expose port if necessary (not specified, MCP typically runs via stdio)
# Run the MCP server
CMD ["node", "dist/index.cjs"]
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/baranwang/mcp-trends-hub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server