Skip to main content
Glama

Roam Research

by 2b3pro
# Use an official Node.js runtime as a parent image for building FROM node:lts-alpine AS builder # Set the working directory in the container WORKDIR /app # Copy package.json and package-lock.json to the working directory COPY package.json ./ COPY package-lock.json ./ # Install development and production dependencies RUN --mount=type=cache,target=/root/.npm npm install # Copy source code and TypeScript configuration COPY src /app/src COPY tsconfig.json /app/tsconfig.json # Build the TypeScript project RUN npm run build # Use a minimal Node.js runtime as the base for the release image FROM node:lts-alpine AS release # Set environment to production ENV NODE_ENV=production # Set the working directory WORKDIR /app # Copy only the built application (from /app/build) and production dependencies from the builder stage COPY --from=builder /app/build /app/build COPY --from=builder /app/package.json /app/package.json COPY --from=builder /app/package-lock.json /app/package-lock.json # Install only production dependencies (based on package-lock.json) # This keeps the final image small and secure by omitting development dependencies RUN npm ci --ignore-scripts --omit-dev # Expose the ports the app runs on (3000 for standard, 8087 for SSE, 8088 for HTTP Stream) EXPOSE 3000 EXPOSE 8087 EXPOSE 8088 # Run the application 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/2b3pro/roam-research-mcp'

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