unsplash
🔎 A MCP server for Unsplash image search.
claude mcp add --transport stdio douglarek-unsplash-mcp-server <source_dir>/cmd/server/unsplash-mcp-server \ --env UNSPLASH_ACCESS_KEY="<your_unsplash_access_key>"
How to use
This MCP server is a Go-based implementation of an Unsplash MCP server. It exposes an MCP-compatible interface that bridges requests to the Unsplash API, enabling clients to fetch images, metadata, and related data through the MCP protocol. Before running, ensure you have a valid Unsplash access key configured via the UNSPLASH_ACCESS_KEY environment variable. The server is designed to be run from a built binary, and the repository recommends building with Go 1.24+.
To integrate with Cursor or other MCP clients, point your mcp.json to the server binary path and supply the required environment variable. In Cursor, add the server under mcpServers with the provided snippet, including the UNSPLASH_ACCESS_KEY. Once running, you can issue MCP requests to fetch images, search results, and related data according to the MCP protocol supported by the server.
How to install
Prerequisites:
- Go 1.24+ installed
- Git
- Make (for the build step)
Installation steps:
- Clone the repository: git clone https://github.com/douglarek/unsplash-mcp-server.git
- Navigate into the project: cd unsplash-mcp-server
- Build the server binary using the project’s Makefile: make build
- Run the resulting binary (adjust path as needed): <path_to_built_binary>/unsplash-mcp-server
- Set the required environment variable (example): export UNSPLASH_ACCESS_KEY=your_unsplash_access_key
Optionally, verify the server starts and listens on the expected port as configured by the project (check the README or source for default port settings).
Additional notes
Environment variables:
- UNSPLASH_ACCESS_KEY: Your Unsplash API access key. Required for authorized requests.
Tips:
- Ensure you’re using Go 1.24+ as recommended by the project.
- If you modify the code, re-run make build to regenerate the binary.
- When integrating with Cursor, the mcp.json snippet should be placed in your Cursor project configuration to reference the server binary and environment variable.
- Monitor for API rate limits from Unsplash and implement backoff logic in clients if applicable.
- If the server fails to start, check that the UNSPLASH_ACCESS_KEY is valid and that the binary path specified in mcp_config is correct.
Related MCP Servers
flux-operator
GitOps on Autopilot Mode
lingti-bot
🐕⚡ 「极简至上 效率为王 一次编译 到处执行 极速接入」的 AI Bot
kodit
👩💻 MCP server to index external repositories
mcp-sdk-go
Model Context Protocol(MCP) SDK for Go
kroki
Kroki-MCP is a Go-based Model Context Protocol tool that converts textual diagram definitions (PlantUML, Mermaid, and more) into images via a Kroki backend. Designed for simplicity and flexibility, it supports both local and remote Kroki servers, offers configurable settings, and outputs multiple formats – making it ideal for developers building AI
mcp-alapi-cn
这是一个基于 [ALAPI](https://www.alapi.cn) 的 MCP (Model Control Protocol) 服务器实现,可以通过MCP协议直接调用ALAPI的接口