Skip to main content
Glama
palolxx

Pollinations Think MCP Server

Dockerfile1.73 kB
# Dockerfile for Pollinations Think MCP Server deployment to Smithery.ai # This resolves local network connectivity issues by running in the cloud FROM node:18-alpine # Set working directory WORKDIR /app # Add metadata LABEL name="pollinations-think-mcp" \ version="2.0.0" \ description="Advanced strategic thinking MCP server using DeepSeek reasoning" \ maintainer="Pollinations Think MCP Team" # Install system dependencies for better performance and security RUN apk add --no-cache \ dumb-init \ && rm -rf /var/cache/apk/* # Copy package files first for better Docker layer caching COPY package*.json ./ # Install dependencies with production optimizations RUN npm ci --only=production --no-audit --no-fund \ && npm cache clean --force # Copy application code COPY index.js ./ COPY synthesis.js ./ COPY thinking-engine.js ./ COPY thinking-methods.js ./ # Create non-root user for security RUN addgroup -g 1001 -S nodejs \ && adduser -S mcp -u 1001 -G nodejs # Change ownership of the app directory RUN chown -R mcp:nodejs /app # Switch to non-root user USER mcp # Set production environment ENV NODE_ENV=production ENV DEBUG_MODE=false # Health check for container orchestration HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD node -e "console.log('Health check passed')" || exit 1 # Use dumb-init to handle signals properly ENTRYPOINT ["dumb-init", "--"] # Default command (will be overridden by smithery.yaml) CMD ["node", "index.js"] # Expose port for potential HTTP health checks (optional) EXPOSE 3000 # Add build information ARG BUILD_DATE ARG VCS_REF LABEL build-date=$BUILD_DATE \ vcs-ref=$VCS_REF \ schema-version="1.0"

Latest Blog Posts

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/palolxx/pollinations-think-mcp'

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