](https://mseep.ai/app/hellokaton-unsplash-mcp-server)
Unsplash MCP服务器
英语| 简体中文
一个简单的MCP服务器,用于无缝的Unsplash图像集成和搜索功能。
 
 ](https://smithery.ai/server/@hellokaton/unsplash-mcp-server)
📋 概述
Unsplash MCP Server用于搜索丰富、高质量的图像。它非常适合希望将Unsplash功能集成到自己的应用程序中的开发人员。
✨ 特性
- 高级图像搜索:使用滤镜在Unsplash的丰富照片库中搜索:
- 关键词相关性 - 配色方案 - 方向选项 - 自定义排序和分页
🔑 获取Unsplash访问密钥
在安装此服务器之前,您需要获得Unsplash API访问密钥:
- 在以下网址创建开发人员帐户 Unsplash
- 注册新应用程序
- 从应用程序详细信息页面获取访问密钥
- 在以下配置步骤中使用此键
有关更多详细信息,请参阅 Unsplash API官方文档.
🚀 安装
通过以下方式自动安装Unsplash Image Integration Server for Claude Desktop 史密瑟里:
IDE设置
光标IDE
npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client cursor --key 7558c683-****-****帆板运动
npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client windsurf --key 7558c683-****-****克莱恩
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 .光标编辑器集成
将以下配置添加到游标编辑器中 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}"
}
}
}
}在游标中使用
🛠️ 可用工具
搜索照片
{
"tool": "search_photos",
"query": "mountain",
"per_page": 5,
"orientation": "landscape"
}🔄 其他实施方式
📄 许可证
📬 联系
-
