HU

hellokaton/unsplash-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

239 stars 25 forks 质量 87 趋势 8MIT

hellokaton/unsplash-mcp-server 是从 https://github.com/hellokaton/unsplash-mcp-server. 导入的 MCP 服务器候选

概览

hellokaton/unsplash-mcp-server 是从 https://github.com/hellokaton/unsplash-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

英文 |简体中文

一个简单的 MCP 服务器,实现无缝的 Unsplash 图像集成和搜索功能。

📋 概述

Unsplash MCP 服务器用于搜索丰富且高质量的图片。它非常适合希望将 Unsplash 功能集成到自身应用中的开发者。

✨ 特色

  • 高级图片搜索:搜索Unsplash丰富的照片库,包含以下滤镜:
  • 关键词相关性
  • 配色方案
  • 方向选项
  • 自定义排序和分页

🔑 获取未溅落访问钥匙

在安装此服务器之前,您需要获得Unsplash API访问密钥:

  1. 在Unsplash创建开发者账户
  2. 注册新申请
  3. 从申请详情页面获取访问密钥
  4. 在下面的配置步骤中使用该密钥

更多细节请参阅官方 Unsplash API 文档。

🚀 安装

通过 Smithery 自动安装 Unsplash Image 集成服务器 for Claude Desktop:

IDE 设置

光标IDE

风帆冲浪

克莱恩

手动安装

光标编辑器集成

在你的光标编辑器的settings.json中添加以下配置:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Unsplash MCP Server

English | 简体中文

A simple MCP server for seamless Unsplash image integration and search capabilities.

📋 Overview

Unsplash MCP Server is used for searching rich, high-quality images. It’s ideal for developers who want to integrate Unsplash functionality into their own applications.

✨ Features

  • Advanced Image Search: Search Unsplash’s extensive photo library with filters for:
    • Keyword relevance
    • Color schemes
    • Orientation options
    • Custom sorting and pagination

🔑 Obtaining Unsplash Access Key

Before installing this server, you’ll need to obtain an Unsplash API Access Key:

  1. Create a developer account at Unsplash
  2. Register a new application
  3. Get your Access Key from the application details page
  4. Use this key in the configuration steps below

For more details, refer to the official Unsplash API documentation.

🚀 Installation

To install Unsplash Image Integration Server for Claude Desktop automatically via Smithery:

IDE Setup

Cursor IDE

npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client cursor --key 7558c683-****-****

Windsurf

npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client windsurf --key 7558c683-****-****

Cline

npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client cline --key 7558c683-****-****

Manual Installation

# Clone the repository
git clone https://github.com/hellokaton/unsplash-mcp-server.git

# Navigate to project directory
cd unsplash-mcp-server

# Create virtual environment
uv venv

# Install dependencies
uv pip install .

Cursor Editor Integration

Add the following configuration to your Cursor editor’s settings.json:

⚠️ Note: Please adjust the following configuration according to your actual installation:

  • If uv is not in your system PATH, use an absolute path (e.g., /path/to/uv)
  • ./server.py should be modified to the actual location of your server script (can use absolute path or path relative to workspace)
在 GitHub 查看完整 README

安装

npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client cursor --key 7558c683-****-****
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "unsplash": { "command": "uv", "args": ["run", "--with", "fastmcp", "fastmcp", "run", "./server.py"], "env": { "UNSPLASH_ACCESS_KEY": "${YOUR_ACCESS_KEY}" } } } }