Skip to main content
Glama
Dockerfile695 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config # syntax=docker/dockerfile:1 FROM node:lts-alpine AS builder WORKDIR /app # Install dependencies and build COPY package.json package-lock.json tsconfig.json . RUN npm ci --ignore-scripts COPY index.ts . RUN npm run build # Runtime stage FROM node:lts-alpine WORKDIR /app # Copy runtime dependencies COPY package.json package-lock.json . RUN npm ci --production --ignore-scripts # Copy built files COPY --from=builder /app/dist ./dist # Ensure executable permissions RUN chmod +x dist/index.cjs # Set HTTP transport mode by default ENV TRANSPORT=http EXPOSE 8080 ENTRYPOINT ["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/ref-tools/ref-tools-mcp'

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