# Dockerfile for Sociona MCP Server
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY pnpm-lock.yaml ./
# Install dependencies
RUN npm install -g pnpm && pnpm install --frozen-lockfile --prod
# Copy source code
COPY . .
# Build the application
RUN pnpm build
# Create non-root user
RUN addgroup -g 1001 -S nodejs
RUN adduser -S mcp -u 1001
# Change ownership
RUN chown -R mcp:nodejs /app
USER mcp
# Expose port (not used for MCP, but good practice)
EXPOSE 3000
# Health check (MCP servers don't have HTTP endpoints, so this is optional)
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD node -e "console.log('MCP server health check')" || exit 1
# Start the MCP server
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/fav-devs/sociona-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server