使用说明
Unsplash MCP服务器
重写 Unsplash MCP服务器 使用 mark3labs/mcp go 图书馆。
用法
在构建之前,您必须先安装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>"
}
}
}
}