Skip to main content
Glama

MCP Webhook Server

by kevinwatt
Dockerfile1.03 kB
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # Stage 1: Build the project FROM node:20-bullseye-slim AS builder # Set working directory WORKDIR /app # Copy package files COPY package.json package-lock.json ./ # Install dependencies, ignoring scripts to avoid running prepare early RUN npm install --ignore-scripts # Copy the rest of the source code COPY src ./src COPY tsconfig.json ./ # Now run the build RUN npm run build # Stage 2: Set up production environment FROM node:20-bullseye-slim # Set working directory WORKDIR /app # Copy the build output and package files from the builder stage COPY --from=builder /app/build ./build COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/package-lock.json ./package-lock.json # Install only production dependencies RUN npm install --production --ignore-scripts # Define environment variable for webhook URL ENV WEBHOOK_URL="your-webhook-url" # Command to run the MCP server ENTRYPOINT ["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/kevinwatt/mcp-webhook'

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