Back to Home
janakhpon icon

mcp-gallery-server

Verified Safe

by janakhpon

Overview

An image gallery API with asynchronous processing, real-time notifications, and an AI assistant capable of managing images via a Model Context Protocol (MCP) interface.

Installation

Run Command
npm run mcp

Environment Variables

  • S3_ENDPOINT
  • S3_REGION
  • S3_ACCESS_KEY_ID
  • S3_SECRET_ACCESS_KEY
  • S3_BUCKET
  • S3_FORCE_PATH_STYLE
  • REDIS_URL
  • REDIS_HOST
  • REDIS_PORT
  • DATABASE_URL
  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • AI_PROVIDER
  • GEMINI_MODEL
  • OPENAI_MODEL
  • GALLERY_API_URL
  • CORS_ORIGIN
  • PORT
  • NODE_ENV
  • DOCKER_COMPOSE
  • DOCKER
  • DD_TRACE_ENABLED
  • APP_VERSION

Security Notes

The server uses environment variables for sensitive configurations like S3 credentials and AI API keys, which is good practice. In non-production environments (determined by `NODE_ENV`), it sets S3 buckets to public read and enables wide CORS access (origin: `*`), which are common development conveniences but must be properly restricted for production deployments to prevent data exposure and cross-site scripting vulnerabilities. The AI integration via Model Context Protocol (MCP) SDK aims to provide a secure and structured layer for AI interaction with backend tools, limiting direct AI access to the core API logic.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens2500
Stars0
Forks0
Last Update2026-01-19

Tags

NestJSImage GalleryAI AssistantMonitoringReal-time Notifications