article
README
🚀 Unsplash MCP 服务器
使用 mark3labs/mcp-go 库对 Unsplash MCP 服务器 进行重写,为相关应用提供支持。
🚀 快速开始
在构建之前,必须先安装 Go 1.24+ 版本。
git clone https://github.com/douglarek/unsplash-mcp-server.git
cd unsplash-mcp-server
make build
💻 使用示例
基础用法
要在 Cursor 中使用此服务器,可以在你的 mcp.json 文件中添加以下内容:
{
"mcpServers": {
"unsplash": {
"command": "<source_dir>/cmd/server/unsplash-mcp-server",
"args": [],
"env": {
"UNSPLASH_ACCESS_KEY": "<your_unsplash_access_key>"
}
}
}
}
Scan to join WeChat group