使用 mark3labs/mcp-go 库重写的 Unsplash MCP Server。
在构建之前,必须先安装 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>"
}
}
}
}