Skip to main content
Glama

Selenium MCP Server

Dockerfile1.06 kB
# Use Node.js image for building the project FROM node:24-alpine AS builder # Set the working directory WORKDIR /app # Copy package.json and package-lock.json COPY package.json package-lock.json ./ # Install dependencies without running scripts to prevent automatic build RUN npm install --ignore-scripts # Run security audit RUN npm audit --audit-level=moderate # Copy the source directory and required files COPY src ./src COPY version.config.json ./ COPY tsconfig.json ./ # Build the project RUN npm run build # Use a minimal Node.js image for running the project FROM node:24-alpine AS release # Set the working directory WORKDIR /app # Copy the built files from the builder stage COPY --from=builder /app/dist ./dist COPY --from=builder /app/version.config.json ./version.config.json COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/package-lock.json ./package-lock.json # Install production dependencies RUN npm ci --ignore-scripts --omit=dev # Set the command to run the server ENTRYPOINT ["node", "dist/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/pshivapr/selenium-mcp'

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