Back to MCP directory
publicPublicdnsLocal runtime

Unsplash

基于Go语言重构的Unsplash MCP服务端

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>"
      }
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client