Skip to main content

MCP Server for searching and downloading stock images from multiple platforms

Project description

Stock Images MCP Server

A Model Context Protocol (MCP) server for searching and downloading stock images from multiple platforms. Built for personal use with Cursor and shared with the community.

Prerequisites

Before setting up this MCP server, you need to install uv, a fast Python package installer and resolver:

Install uv

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows:

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Alternative (using pip):

pip install uv

The uvx command used in the MCP configuration requires uv to be installed on your system.

🚀 Quick Setup for Cursor

Step 1: Add to Cursor's MCP Configuration

Add this configuration to your ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "stock-images-mcp": {
      "command": "uvx",
      "args": ["git+https://github.com/Zulelee/stock-images-mcp"],
      "env": {
        "UNSPLASH_API_KEY": "your_unsplash_api_key_here",
        "PEXELS_API_KEY": "your_pexels_api_key_here",
        "PIXABAY_API_KEY": "your_pixabay_api_key_here"
      }
    }
  }
}

Step 2: Get API Keys (Atleast one of the API keys is required)

Unsplash:

  1. Go to https://unsplash.com/developers
  2. Make sure you are logged in
  3. Create an app
  4. Get your API key from the app dashboard

Pexels:

  1. Go to https://www.pexels.com/api/
  2. Make sure you are logged in
  3. Click "Your API Key" button
  4. Copy your API key

Pixabay:

  1. Go to https://pixabay.com/api/docs/
  2. Make sure you are logged in
  3. Find your API key under "Parameters" in the docs

Step 3: Activate the Tool in Cursor Settings

Switch on the toggle for stock-images-mcp in cursor settings

Step 4: Use the Tools

Once the tool connects, you can use the stock images tools directly in your conversations:

  • Search for images: "Find tech workspace images"
  • Download images: "Download 5 nature photos"
  • Search specific platforms: "Search Unsplash for coding setup images"

Available Tools

  • search_stock_images: Search across Pexels, Unsplash, and Pixabay

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_zulelee_stock_images_mcp-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_zulelee_stock_images_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_zulelee_stock_images_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_zulelee_stock_images_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6dbc927a8fdae81605a7b6602d6588b5e327e319400db7e71f8650f30d972730
MD5 1cd7b94cdfe9d1c5a551c2cf8e0fd830
BLAKE2b-256 3feac6e637a84264ba0fadb264a93f68e73686d6bfbc39f96c7d85f6f678d35d

See more details on using hashes here.

File details

Details for the file iflow_mcp_zulelee_stock_images_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_zulelee_stock_images_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_zulelee_stock_images_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec2cfef311e80dea420444978e6824300b471110d36a4f41e1cb2243b0b297e1
MD5 bb34a933e98aa8a0d3d99e401883bbe5
BLAKE2b-256 25916059510acbeeadc2b43c9dcdcc21d9f461714dd0e643b4dd534265eb60a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page