Unsplash MCP Server

Unsplash MCP Server

upsplash-mcp-server•byshariqriazz

An MCP server that provides tools for searching Unsplash photos and downloading them at specified resolutions.

License: MIT License•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Search Photos exposes a search_photos tool with query, pagination, and orientation filters.
  • •Search results return JSON data plus a formatted text summary with image links.
  • •Download Photo downloads a photo to the workspace's unsplash/ folder after triggering the download tracking event.
  • •Downloads support raw, full, regular, and small resolutions and an optional filename.

BEST FOR

  • •Finding Unsplash photos by search term, page, and orientation.
  • •Saving Unsplash photos locally at a chosen resolution.

ABOUT UPSPLASH-MCP-SERVER

Unsplash MCP Server is cataloged as an MCP server attributed to shariqriazz. An MCP server that provides tools for searching Unsplash photos and downloading them at specified resolutions. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Unsplash MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server require an Unsplash API key?

Yes, it requires an Unsplash Access Key configured through environment variables.

Upstream README

View this exact version on GitHub

README.md · 32f766815bd9 · Fetched 2026-11-13 10:54:32 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Unsplash MCP Server

This project implements a Model Context Protocol (MCP) server that provides tools for interacting with the Unsplash API, allowing users to search for and download photos.

Unsplash MCP Server Badge (Note: Replace @shariqriazz with the correct username/namespace if needed)

Git Repository: https://github.com/shariqriazz/upsplash-mcp-server (Please update if this is not the correct URL)

Features

  • Provides MCP tools to interact with the Unsplash API.
  • Search for photos based on queries, pagination, and orientation.
  • Download photos at specified resolutions (raw, full, regular, small).
  • Requires an Unsplash Access Key configured via environment variables.
  • Downloads photos to a local unsplash/ directory within the workspace.

Tools Provided

  • search_photos: Searches for photos on Unsplash.

    • Input Schema:
      {
        "type": "object",
        "properties": {
          "query": { "type": "string", "description": "The search term(s)." },
          "page": { "type": "number", "description": "Page number (default: 1).", "default": 1 },
          "per_page": { "type": "number", "description": "Items per page (default: 10, max: 30).", "default": 10, "maximum": 30 },
          "orientation": { "type": "string", "enum": ["landscape", "portrait", "squarish"], "description": "Filter by orientation." }
        },
        "required": ["query"]
      }
      
    • Output: Returns JSON data containing search results and a formatted text summary with image links.
  • download_photo: Downloads an Unsplash photo to the workspace's unsplash/ folder after triggering the download tracking event.

    • Input Schema:
      {
        "type": "object",
        "properties": {
          "photo_id": { "type": "string", "description": "The ID of the photo to download." },
          "resolution": { "type": "string", "enum": ["raw", "full", "regular", "small"], "description": "Desired resolution (default: raw).", "default": "raw" },
          "filename": { "type": "string", "description": "Optional filename (e.g., my-image.jpg). Defaults to sanitized description or {photo_id}.jpg." }
        },
        "required": ["photo_id"]
      }
      
    • Output: Returns a success message with the path to the downloaded file.

(Note: Schemas are illustrative. The server exposes the exact schemas via MCP.)

Prerequisites

Setup & Installation

  1. Clone the Repository:
    git clone https://github.com/shariqriazz/upsplash-mcp-server.git # Update URL if needed
    cd upsplash-mcp-server
    
  2. Install Dependencies:
    bun install
    
  3. Configure Environment:
    • Create a .env file in the project root (or copy .env.example if provided).
    • Add your Unsplash Access Key:
      UNSPLASH_ACCESS_KEY="YOUR_UNSPLASH_ACCESS_KEY"
      
  4. Build the Server:
    bun run build
    
    This compiles the TypeScript code to build/index.js.

Usage (Standalone / NPX)

Standalone (Local Build):

You can run the compiled server directly using bun or node. Ensure the UNSPLASH_ACCESS_KEY environment variable is set in your shell or .env file.

# Ensure UNSPLASH_ACCESS_KEY is set
bun run build/index.js
# OR
node build/index.js

Using NPX (If Published to npm):

If this package is published to npm (e.g., as unsplash-mcp-server), you could run it directly using npx.

# Ensure UNSPLASH_ACCESS_KEY is set in your environment
npx -y unsplash-mcp-server

Note: This requires the package to be published on npm under the specified name.

Running with Cline

  1. Configure MCP Settings: Add or update the configuration in your Cline MCP settings file (e.g., .roo/mcp.json or global settings). You have two primary options:

    Option A: Using Bun/Node (Direct Path - Recommended for Local Development)

    This method uses bun (or node) to run the compiled script directly from your local project directory.

    {
      "mcpServers": {
        "unsplash-mcp-server": {
          "command": "bun", // Or "node"
          "args": [
            // Use the absolute path to the compiled index.js in your project
            "/path/to/your/upsplash-mcp-server/build/index.js"
          ],
          "env": {
            // Required: Ensure this matches your .env or is set here
            "UNSPLASH_ACCESS_KEY": "YOUR_UNSPLASH_ACCESS_KEY" // Replace with your actual key
          },
          "disabled": false,
          "alwaysAllow": [
             "search_photos",
             "download_photo"
             // "trigger_download" // Include if this tool exists and is separate
          ],
          "timeout": 3600 // Optional: Timeout in seconds (e.g., 1 hour)
        }
        // Add other servers here...
      }
    }
    
    • Important: Replace /path/to/your/upsplash-mcp-server/build/index.js with the correct absolute path on your system.
    • Replace "YOUR_UNSPLASH_ACCESS_KEY" with your actual key. Remove comments from the actual JSON file.

    Option B: Using NPX (Requires Package Published to npm)

    This method uses npx to automatically download and run the server package from the npm registry. This is convenient if you don't want to clone the repository locally or prefer using the published version.

    {
      "mcpServers": {
        "unsplash-mcp-server": {
          "command": "npx",
          "args": [
            "-y", // Auto-confirm installation
            "unsplash-mcp-server" // Assumed npm package name - update if different
          ],
          "env": {
            // Required: Ensure this is set here or in your environment
            "UNSPLASH_ACCESS_KEY": "YOUR_UNSPLASH_ACCESS_KEY" // Replace with your actual key
          },
          "disabled": false,
          "alwaysAllow": [
             "search_photos",
             "download_photo"
          ],
          "timeout": 3600 // Optional: Timeout in seconds
        }
        // Add other servers here...
      }
    }
    
    • Ensure the env block contains the necessary UNSPLASH_ACCESS_KEY.
    • Update "unsplash-mcp-server" in args if the published npm package name is different.
  2. Restart/Reload Cline: Cline should detect the configuration change and start the server based on your chosen method.

  3. Use Tools: You can now use the search_photos and download_photo tools via Cline.

Development

  • Watch Mode: bun run watch (Typically starts the server and restarts on file changes)
  • Linting: bun run lint (Checks code for style and potential errors)
  • Formatting: bun run format (Formats code according to project standards)

(Note: Assumes standard package.json scripts like watch, lint, format. Update if your scripts differ.)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Unsplash MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/upsplash-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design