Skip to main content
Glama

Context7 MCP

by upstash
Dockerfile751 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # ----- Build Stage ----- FROM node:lts-alpine AS builder WORKDIR /app # Copy package and configuration COPY package.json bun.lock tsconfig.json ./ # Copy source code COPY src ./src # Install dependencies and build RUN npm install && npm run build # ----- Production Stage ----- FROM node:lts-alpine WORKDIR /app # Copy built artifacts COPY --from=builder /app/dist ./dist # Copy package.json for production install COPY package.json ./ # Install only production dependencies RUN npm install --production --ignore-scripts # Expose HTTP port EXPOSE 8080 # Default command using CLI flags CMD ["node", "dist/index.js", "--transport", "http", "--port", "8080"]

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/upstash/context7-mcp'

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