# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
# Create app directory
WORKDIR /usr/src/app
# Copy package files and install dependencies
COPY package.json package-lock.json* ./
RUN npm install --ignore-scripts
# Copy the rest of the files
COPY . .
# Build the TypeScript code
RUN npm run build
# Copy non-transpiled JS file(s) required in dist
# Assuming pinterest-scraper.js should be in dist along with the compiled files
RUN mkdir -p dist && cp pinterest-scraper.js dist/
# Command to run the MCP server via stdio
CMD [ "node", "dist/pinterest-mcp-server.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/terryso/mcp-pinterest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server