
zulelee/stock-images-mcp 是从 https://github.com/zulelee/stock-images-mcp. 导入的 MCP 服务器候选人。
概览
zulelee/stock-images-mcp 是从 https://github.com/zulelee/stock-images-mcp. 导入的 MCP 服务器候选人。
概述(AI 翻译)
一个用于从多个平台搜索和下载库存图片的模型上下文协议(MCP)服务器。为个人使用而构建,使用光标,并与社区共享。
一键安装
| 客户 | 点击时会发生什么? |
|---|---|
| 光标 | 打开光标并将MCP服务器添加到你的配置中。系统会提示你在MCP设置中添加API密钥。需要安装UV。 |
| Claude 桌面版 | 下载 .mcpb 捆绑包。双击(或拖入 Claude 桌面版)并点击安装。设置时会提示您输入 API 密钥。 |
安装后,至少添加一个API密钥(参见获取API密钥),并在需要时重启客户端。
先修条件
在设置这个MCP服务器之前,你需要安装uv,一个快速的Python包安装器和解析器:
安装UV
macOS/Linux:
Windows:
替代方案(使用pip):
光标MCP配置中使用的uvx命令需要在你的系统上安装uv。Claude桌面.mcpb捆绑包会自动处理依赖关系。
手动设置
光标
步骤1:添加到光标的MCP配置中
将此配置添加到你的 [~/.cursor/mcp.json 文件中:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Stock Images MCP Server
A Model Context Protocol (MCP) server for searching and downloading stock images from multiple platforms. Built for personal use with Cursor and shared with the community.
One-Click Install
| Client | What happens when you click |
|---|---|
| Cursor | Opens Cursor and adds the MCP server to your config. You’ll be prompted to add your API keys in MCP settings. Requires uv to be installed. |
| Claude Desktop | Downloads the .mcpb bundle. Double-click it (or drag it into Claude Desktop) and click Install. You’ll be prompted for API keys during setup. |
After installing, add at least one API key (see Get API Keys) and restart the client if needed.
Prerequisites
Before setting up this MCP server, you need to install uv, a fast Python package installer and resolver:
Install uv
macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Alternative (using pip):
pip install uv
The uvx command used in the Cursor MCP configuration requires uv to be installed on your system. The Claude Desktop .mcpb bundle handles dependencies automatically.
Manual Setup
Cursor
Step 1: Add to Cursor’s MCP Configuration
Add this configuration to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"stock-images-mcp": {
"command": "uvx",
"args": ["git+https://github.com/Zulelee/stock-images-mcp"],
"env": {
"UNSPLASH_API_KEY": "your_unsplash_api_key_here",
"PEXELS_API_KEY": "your_pexels_api_key_here",
"PIXABAY_API_KEY": "your_pixabay_api_key_here"
}
}
}
}
Claude Desktop
- Download
stock-images-mcp.mcpbfrom this repo (or use the Install in Claude Desktop button above). - Double-click the file, or open Claude Desktop → Settings → Extensions → Install Extension…
- Enter your API keys when prompted (at least one is required).
- Restart Claude Desktop.
Step 2: Get API Keys (Atleast one of the API keys is required)
Unsplash:
- Go to https://unsplash.com/developers
- Make sure you are logged in
- Create an app
- Get your API key from the app dashboard
Pexels:
- Go to https://www.pexels.com/api/
- Make sure you are logged in
- Click “Your API Key” button
- Copy your API key
Pixabay:
安装
uvx git+https://github.com/Zulelee/stock-images-mcp配置
{
"mcpServers": {
"stock-images-mcp": {
"command": "uvx",
"args": ["git+https://github.com/Zulelee/stock-images-mcp"],
"env": {
"UNSPLASH_API_KEY": "your_unsplash_api_key_here",
"PEXELS_API_KEY": "your_pexels_api_key_here",
"PIXABAY_API_KEY": "your_pixabay_api_key_here"
}
}
}
}