# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Install jq to modify package.json
RUN apk add --no-cache jq
# Create working directory
WORKDIR /app
# Copy package files
COPY package.json package-lock.json ./
# Remove the problematic dev dependency (@modelcontextprotocol/inspector) from package.json
RUN cat package.json | jq 'del(.devDependencies["@modelcontextprotocol/inspector"])' > package.tmp.json \
&& mv package.tmp.json package.json
# Install all dependencies (including dev deps needed for build)
RUN npm install --ignore-scripts
# Copy source code
COPY . .
# Build the project (TypeScript to JavaScript)
RUN npm run build
# Expose necessary port if needed (MCP typically uses stdio, so no port exposed)
# Set the default command for the container
CMD ["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/pixelsock/directus-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server