
terryso/mcp-pinterest 是从 https://github.com/terryso/mcp-pinterest. 导入的 MCP 服务器候选
概览
terryso/mcp-pinterest 是从 https://github.com/terryso/mcp-pinterest. 导入的 MCP 服务器候选
概述(AI 翻译)
一个用于Pinterest图片搜索和信息检索的模型上下文协议(MCP)服务器。
特色
- 通过关键词在Pinterest上搜索图片
- 获取关于Pinterest图片的详细信息
- 通过MCP与Cursor IDE无缝集成
- 支持无头浏览器模式
- 搜索结果的限制控制
- 在Pinterest上搜索和下载图片
先修条件
- Node.js(V18或更高)
- 用于MCP集成的光标IDE
安装
使用 NPX(推荐)
使用Pinterest MCP服务器最简单的方式是通过npx:
你可以用命令行选项配置服务器:
全球安装
要全局安装该包并直接从命令行使用:
安装后,你可以用以下方式运行服务器:
使用与NPX版本相同的命令行选项:
通过Smithery安装
要通过Smithery自动安装Claude Desktop的mcp-pinterest:
手动安装
-
克隆此仓库:
-
安装依赖:
-
搭建服务器:
-
运行服务器:
在光标中配置为MCP服务器
- 打开光标IDE
- 进入设置 (⚙️) > 扩展 > MCP
- 点击“添加服务器”
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Pinterest MCP Server
A Model Context Protocol (MCP) server for Pinterest image search and information retrieval.
Features
- Search for images on Pinterest by keywords
- Retrieve detailed information about Pinterest images
- Seamless integration with Cursor IDE through MCP
- Support for headless browser mode
- Limit control for search results
- Search and download images from Pinterest
Prerequisites
- Node.js (v18 or higher)
- Cursor IDE for MCP integration
Installation
Using NPX (Recommended)
The easiest way to use Pinterest MCP Server is via npx:
npx pinterest-mcp-server
You can configure the server with command-line options:
# Specify download directory
npx pinterest-mcp-server --downloadDir /path/to/downloads
# Specify filename template
npx pinterest-mcp-server --filenameTemplate "pinterest_{id}"
# Specify both options
npx pinterest-mcp-server --downloadDir ./images --filenameTemplate "pinterest_{id}"
Global Installation
To install the package globally and use it directly from the command line:
npm install -g pinterest-mcp-server
After installation, you can run the server with:
pinterest-mcp-server
With the same command line options as the NPX version:
pinterest-mcp-server --downloadDir /path/to/downloads --filenameTemplate "pinterest_{id}"
Installing via Smithery
To install mcp-pinterest for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-pinterest --client claude
Manual Installation
-
Clone this repository:
git clone https://github.com/terryso/mcp-pinterest.git pinterest-mcp-server cd pinterest-mcp-server -
Install dependencies:
npm install -
Build the server:
npm run build -
Run the server:
npm start
Configuring as MCP Server in Cursor
-
Open Cursor IDE
-
Go to Settings (⚙️) > Extensions > MCP
-
Click “Add Server”
-
Enter the following details:
- Name: Pinterest MCP
- Type: Command
- Command:
node - Args:
["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"]
或者直接编辑Cursor的MCP配置文件(通常位于
~/.cursor/mcp.json),添加以下内容:"pinterest": { "command": "node", "args": ["/path/to/mcp-pinterest/dist/pinterest-mcp-server.js"] }
安装
npx pinterest-mcp-server