Skip to main content
Glama
Dockerfile1.06 kB
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # Use an official Node.js image as the base image FROM node:22-alpine AS builder # Set the working directory WORKDIR /app # Copy package files and source code COPY . . # Install dependencies RUN --mount=type=cache,target=/root/.npm npm install # Build the application RUN npm run build # Use a smaller Node.js image for the runtime FROM node:22-alpine AS runtime # Set the working directory WORKDIR /app # Copy built files from the builder stage COPY --from=builder /app/dist /app/dist COPY --from=builder /app/bin /app/bin COPY --from=builder /app/node_modules /app/node_modules COPY --from=builder /app/package.json /app/package.json # Environment variable for Contentful Management API token ENV CONTENTFUL_DELIVERY_ACCESS_TOKEN=your_contentful_management_api_token ENV SPACE_ID=your_space_id ENV ENVIRONMENT_ID=your_environment_id # Expose any required ports (if needed by the application) # EXPOSE 3000 # Start the server ENTRYPOINT ["node", "bin/mcp-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/ivo-toby/contentful-mcp-graphql'

If you have feedback or need assistance with the MCP directory API, please join our Discord server