The Unsplash Image Search MCP Server is a specialized server designed to facilitate image search functionality using the Unsplash API. Built with the mark3labs/mcp-go library, this server provides a streamlined way to integrate Unsplash image search into applications, particularly those using the Cursor editor.
To configure the server, you need to set up your Unsplash API access key. This is done by adding the key to the environment variables in the mcp.json
file.
Example mcp.json
configuration for Cursor editor:
{
"mcpServers": {
"unsplash": {
"command": "<source_dir>/cmd/server/unsplash-mcp-server",
"args": [],
"env": {
"UNSPLASH_ACCESS_KEY": "<your_unsplash_access_key>"
}
}
}
}
To use the Unsplash Image Search MCP Server, follow these steps:
Clone the repository:
shell
git clone https://github.com/douglarek/unsplash-mcp-server.git
cd unsplash-mcp-server
Build the server:
shell
make build
Configure the server in your application (e.g., Cursor editor) using the mcp.json
file.
The server is designed to integrate seamlessly with the Cursor editor. By adding the server configuration to your mcp.json
file, you can enable Unsplash image search directly within your development environment.
This project is licensed under the MIT License. For more details, see the LICENSE file.