mcp-gallery-server
Verified Safeby 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
npm run mcpEnvironment 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
nestjs-starter
A production-ready NestJS boilerplate for building scalable, enterprise-grade APIs with JWT authentication, PostgreSQL/Prisma, AWS S3/SES, Bull/Redis queues, Docker/Kubernetes support, and AI capabilities via Model Context Protocol (MCP).
sharp-mcp
This MCP server provides image session management and processing capabilities for AI coding assistants, enabling tasks like metadata extraction, color picking, background removal, cropping, and compression.
mcp_docker
Manages Docker containers, images, networks, and volumes for AI assistants via the Model Context Protocol (MCP).
nest-mcp-server
A NestJS server implementing the Model Context Protocol (MCP) to expose developer tools to AI agents via HTTP or standard I/O, supporting real-time streaming of tool outputs.