Unsplash 图像搜索服务器

Unsplash 图像搜索服务器

一个用于 Unsplash 图像搜索的 MCP 服务器,支持高级筛选和无缝集成。

快速入门

1. 获取 Unsplash Access Key

访问 Unsplash 开发者页面 注册应用并获取 Access Key。

2. 安装方式

自动安装(推荐): 使用 Smithery CLI 工具安装,例如在 Cursor IDE 中运行: npx -y @smithery/cli@latest install @hellokaton/unsplash-mcp-server --client cursor --key YOUR_KEY

手动安装: 克隆仓库并配置环境: git clone https://github.com/hellokaton/unsplash-mcp-server.git cd unsplash-mcp-server uv venv uv pip install .

3. 配置与运行

在编辑器中添加配置(以 Cursor 为例): { "mcpServers": { "unsplash": { "command": "uv", "args": ["run", "--with", "fastmcp", "fastmcp", "run", "./server.py"], "env": { "UNSPLASH_ACCESS_KEY": "YOUR_ACCESS_KEY" } } } }

完成后即可在编辑器中使用图像搜索功能。