
cevatkerim/unsplash-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Unsplash 사진 검색을위한 MCP 서버 적절한 attribution 내장. Key differentiator : 각 사진에 대한 준비 사용 attribution text 및 attribution html을 반환하여 LLMs에 대한 트리 바이...
개요
MCP (Model Context Protocol) 서버는 Unsplash에서 사진을 찍을 수 있습니다. 제대로 신용 이미지가 필요한 LLMs 빌딩 콘텐츠 페이지를 위해 설계되었습니다. - 필터 (색상, 오리엔테이션)로 키워드로 사진을 찾기 - - 다양한 콘텐츠에 무작위 사진을 가져옵니다 - Unsplash API 지침 준수 - - 모든 사진은 준비하는 데 사용 attribution 텍스트 및 HTML - - 쉬운 embedding을위한 사전 포맷 된 특성 문자열 Unsplash는 사진을 사용할 때 적절한 attribution을 요구합니다. 이 서버는 다음과 같이 쉽게 합니다: - attribution text: "Photo by John Doe on Unsplash"와 같은 일반 텍스트 - attribution html : 웹 페이지에 적합한 링크가있는 전체 HTML - Python 3.11+ - Unsplash API 액세스 키 (여기를 얻으십시오) ~/.claude.json (사용자 수준) 또는 프로젝트 .mcp.json에 추가하십시오: 선택 필터로 키워드로 사진을 검색합니다. black and white, 블랙, 화이트, 옐로우, 오렌지, 레드, 퍼플, 모 시타, 그린, 찻잔, 블루
개요(AI 번역)
MCP (Model Context Protocol) 서버는 proper attribution로 Unsplash에서 사진을 찍을 수 있습니다. 제대로 신용 이미지가 필요한 LLMs 빌딩 콘텐츠 페이지를 위해 설계되었습니다.
특징
-Search Photos - 필터 (컬러, 오리엔테이션)로 키워드로 사진을 찾습니다.
- Random Photos - 다양한 콘텐츠에 대한 무작위 사진 받기 -Download Tracking - Unsplash API 가이드와 호환
- Full Attribution - 모든 사진은 준비된 사용 권한 텍스트와 HTML을 포함합니다. -LLM-Optimized - 쉬운 embedding을 위한 Pre-formatted attribution 끈
왜 이 서버?
Unsplash는 사진을 사용할 때 적절한 attribution을 요구합니다. 이 서버는 다음과 같이 쉽게 합니다:
attribution_text: 일반 텍스트 같은 “Photo by John Doe on Unsplash”attribution_html: 웹 페이지에 적합한 링크가있는 전체 HTML
설치
# 필수품
- 파이썬 3.11+
- Unsplash API 액세스 키 (여기를 얻으십시오)
빠른 시작
구성
Claude 코드
~/.claude.json] (user-level) 또는 프로젝트 .mcp.json에 추가:
# # # 커서
Cursor MCP 설정에 추가:
윈드 서핑 / 콜린
MCP 구성에 추가:
도구
search_photos
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Unsplash MCP Server
An MCP (Model Context Protocol) server for fetching photos from Unsplash with proper attribution. Designed for LLMs building content pages that need properly credited images.
Features
- Search Photos - Find photos by keyword with filters (color, orientation)
- Random Photos - Get random photos for variety in content
- Download Tracking - Compliant with Unsplash API guidelines
- Full Attribution - Every photo includes ready-to-use attribution text and HTML
- LLM-Optimized - Pre-formatted attribution strings for easy embedding
Why This Server?
Unsplash requires proper attribution when using their photos. This server makes it easy by including:
attribution_text: Plain text like “Photo by John Doe on Unsplash”attribution_html: Full HTML with proper links for web pages
Photo by John Doe on Unsplash
Installation
Prerequisites
- Python 3.11+
- An Unsplash API access key (Get one here)
Quick Start
# Clone the repository
git clone https://github.com/cevatkerim/unsplash-mcp.git
cd unsplash-mcp
# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install fastmcp httpx python-dotenv
# Set your API key
echo "UNSPLASH_ACCESS_KEY=your_key_here" > .env
# Run the server
fastmcp run server.py
Configuration
Claude Code
Add to your ~/.claude.json (user-level) or project .mcp.json:
{
"mcpServers": {
"unsplash": {
"type": "stdio",
"command": "/path/to/unsplash-mcp/.venv/bin/fastmcp",
"args": ["run", "/path/to/unsplash-mcp/server.py"],
"env": {
"UNSPLASH_ACCESS_KEY": "your_access_key_here"
}
}
}
}
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"unsplash": {
"command": "/path/to/unsplash-mcp/.venv/bin/fastmcp",
"args": ["run", "/path/to/unsplash-mcp/server.py"],
"env": {
"UNSPLASH_ACCESS_KEY": "your_access_key_here"
}
}
}
}
Windsurf / Cline
Add to your MCP configuration:
{
"unsplash": {
"command": "/path/to/unsplash-mcp/.venv/bin/fastmcp",
"args": ["run", "/path/to/unsplash-mcp/server.py"],
"env": {
"UNSPLASH_ACCESS_KEY": "your_access_key_here"
}
}
}
Tools
search_photos
Search for photos by keyword with optional filters.
Parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
query |
string | required | Search keyword(s) |
page |
int | 1 | Page number |
per_page |
int | 10 | Results per page (1-30) |
order_by |
string | “relevant” | Sort: “relevant” or “latest” |
color |
string | null | Color filter (see below) |
orientation |
string | null | “landscape”, “portrait”, “squarish” |
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"unsplash": {
"type": "stdio",
"command": "/path/to/unsplash-mcp/.venv/bin/fastmcp",
"args": ["run", "/path/to/unsplash-mcp/server.py"],
"env": {
"UNSPLASH_ACCESS_KEY": "your_access_key_here"
}
}
}
}