# Use the official Bun image
FROM oven/bun:latest
# Set the working directory
WORKDIR /app
# Copy package.json and bun.lock
COPY package.json bun.lock ./
# Install dependencies (use --production if you don't need devDependencies)
# Using --frozen-lockfile is recommended for reproducible builds
RUN bun install --frozen-lockfile
# Copy the application code
COPY index.ts .
# Expose the port the server will run on (default 3001 or MCP_SERVER_PORT)
# Note: This doesn't actually map the port, just documents it. Use -p in `docker run`.
EXPOSE 3001
# Define the entry point
ENTRYPOINT [ "bun", "run", "index.ts" ]
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/jmandel/health-record-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server