Unsplash MCP Server
Unsplash MCP 服务器
English | 简体中文
一个用于无缝集成 Unsplash 图像搜索功能的简单 MCP 服务器。
📋 概述
Unsplash MCP 服务器用于搜索丰富的高质量图像。它非常适合希望将 Unsplash 功能集成到自己应用程序中的开发者。
Related MCP server: Unsplash MCP Server
✨ 功能
高级图像搜索:搜索 Unsplash 庞大的照片库,支持以下筛选条件:
关键词相关性
配色方案
方向选项
自定义排序和分页
🔑 获取 Unsplash 访问密钥
在安装此服务器之前,您需要获取 Unsplash API 访问密钥 (Access Key):
在 Unsplash 创建开发者账户
注册一个新应用
从应用详情页面获取您的访问密钥 (Access Key)
在下方的配置步骤中使用此密钥
有关更多详细信息,请参阅 官方 Unsplash API 文档。
🚀 安装
通过 Smithery 自动为 Claude Desktop 安装 Unsplash 图像集成服务器:
IDE 设置
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-****-****手动安装
# 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 编辑器集成
将以下配置添加到 Cursor 编辑器的 settings.json 中:
⚠️ 注意: 请根据您的实际安装情况调整以下配置:
如果
uv不在您的系统 PATH 中,请使用绝对路径(例如/path/to/uv)./server.py应修改为您服务器脚本的实际位置(可以使用绝对路径或相对于工作区的路径)
{
"mcpServers": {
"unsplash": {
"command": "uv",
"args": ["run", "--with", "fastmcp", "fastmcp", "run", "./server.py"],
"env": {
"UNSPLASH_ACCESS_KEY": "${YOUR_ACCESS_KEY}"
}
}
}
}在 Cursor 中使用
🛠️ 可用工具
搜索照片
{
"tool": "search_photos",
"query": "mountain",
"per_page": 5,
"orientation": "landscape"
}🔄 其他实现
Golang: unsplash-mcp-server
Java: unsplash-mcp-server
📄 许可证
📬 联系方式
Available Tools
1 toolsearch_photosA
Search for Unsplash photos
Args:
query: Search keyword
page: Page number (1-based)
per_page: Results per page (1-30)
order_by: Sort method (relevant or latest)
color: Color filter (black_and_white, black, white, yellow, orange, red, purple, magenta, green, teal, blue)
orientation: Orientation filter (landscape, portrait, squarish)
Returns:
List[UnsplashPhoto]: List of search results containing photo objects with the following properties:
- id: Unique identifier for the photo
- description: Optional text description of the photo
- urls: Dictionary of available image URLs in different sizes
- width: Original image width in pixels
- height: Original image height in pixels
Inputs: query (required), page, per_page, order_by, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'search_photos' has a clearly defined and distinct purpose.
The single tool follows a clear verb_noun pattern ('search_photos'), and with only one tool, there is perfect consistency by definition.
A single tool for an Unsplash server feels thin and incomplete for the domain. While search is a core function, typical photo services would include additional operations like getting photo details, downloading, or user-related actions.
The tool surface is severely incomplete for an Unsplash server. There are significant gaps: no ability to get photo details by ID, download photos, access user profiles, collections, or statistics. The server only supports search, which limits agent workflows.
Maintenance
Related MCP Connectors
An MCP server for search and retrieval over a local LanceDB database
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Unofficial Serper MCP — wraps the Serper Google Search API (serper.dev)
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables users to search for high-quality photos on Unsplash with support for advanced filtering by orientation and content safety. It provides formatted photo metadata and images in either base64-encoded format or as JSON with URLs via stdio transport.144 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables searching and downloading photos from Unsplash via the Unsplash API, with support for pagination, orientation filtering, and multiple resolutions.46 npm1MIT
- AlicenseAqualityDmaintenanceAn MCP server for searching and retrieving photos from Unsplash with proper attribution, designed for LLMs building content pages.338MIT
- AlicenseAqualityDmaintenanceMCP server that enables searching and downloading Unsplash photos and collections.4MIT