Back to Home
drumnation icon

unsplash-smart-mcp-server

Verified Safe

by drumnation

Overview

Enables AI agents to search, download, and manage professional stock photos from Unsplash with automated attribution.

Installation

Run Command
npx tsx src/server.ts

Environment Variables

  • UNSPLASH_ACCESS_KEY
  • PORT
  • HOST
  • ATTRIBUTION_DB_PATH
  • DEFAULT_DOWNLOAD_DIR

Security Notes

The server loads the Unsplash API key from environment variables, which is good practice. Filenames are sanitized, preventing common path traversal vulnerabilities. It primarily uses stdio for communication, reducing direct network attack surface. The use of `exiftool-vendored` for metadata processing involves spawning external binaries (perl script/executable) which is a potential, albeit common, point of exploitation if a maliciously crafted image could leverage `exiftool` vulnerabilities. No direct `eval` or similar dangerous patterns were found in the provided source code.

Similar Servers

Stats

Interest Score45
Security Score8
Cost ClassHigh
Avg Tokens1500
Stars51
Forks9
Last Update2026-01-17

Tags

Unsplashstock photosAI agentimage managementattribution