
collactivelabs/pinterest-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Pinterest APIをAIエージェントとLLMと統合するためのモデルコンテキストプロトコル(MCP)サーバー.
概要
Pinterest APIをAIエージェントとLLMと統合するためのモデルコンテキストプロトコル(MCP)サーバー。 このMCPサーバーは、AIエージェントが標準化された方法でPinterest APIとやり取りし、以下のような機能を可能にします。 - ユーザー情報の取得 - Pinterestボードの管理(リスト、作成、閲覧) - ピンの管理(リスト、作成、閲覧) - Node.js (v14 または newer) - Pinterest Developer アカウント - Pinterest API アプリの資格情報 3. テンプレートから.envファイルを作成する: 4。 .envファイルをPinterest APIの認証情報で編集します。 5. Pinterest Developer Platform でアプリケーションを登録 - http://localhost:3052/] を認証リダイレクト URI として追加 2. 認証トークンが存在しない場合、サーバーは認証のために自動的にブラウザウィンドウを開きます.
概要(AI 翻訳)
Pinterest APIをAIエージェントとLLMと統合するためのモデルコンテキストプロトコル(MCP)サーバー。
概要
このMCPサーバーは、AIエージェントが標準化された方法でPinterest APIとやり取りし、以下のような機能を可能にします。
- ユーザー情報の取得
- Pinterestボードの管理(リスト、作成、閲覧)
- ピンの管理(リスト、作成、閲覧)
前提条件
- Node.js (v14 または newer)
- Pinterest開発者アカウント
- PinterestのAPI アプリの資格情報
セットアップ
-
このリポジトリをクローンする:
-
依存関係を取付けて下さい:
-
テンプレートから[
.envファイルを作成する:
4。 [.envファイルをPinterest APIの認証情報で編集します。
- Pinterest Developer Platformでアプリケーションを登録する
- [
http://localhost:3052/を認証リダイレクトURIとして追加
使用法
-
MCP サーバーを起動します。
-
認証トークンが存在しない場合、サーバーは認証のために自動的にブラウザウィンドウを開きます。
3。 認証が成功すると、MCPサーバーはAIエージェントからの接続を受け入れる準備ができています。
#AIエージェントとの接続
MCP サーバは、ソケット上で MCP プロトコルを実行します。 IO および次のツールを公開します。
- [
pinterest.user.get_info- ユーザー情報の取得
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
Pinterest MCP Server
A Model Context Protocol (MCP) server for integrating the Pinterest API with AI agents and LLMs.
Overview
This MCP server allows AI agents to interact with the Pinterest API in a standardized way, enabling functionalities like:
- Retrieving user information
- Managing Pinterest boards (listing, creating, viewing)
- Managing pins (listing, creating, viewing)
Prerequisites
- Node.js (v14 or newer)
- Pinterest Developer Account
- Pinterest API App credentials
Setup
- Clone this repository:
git clone https://github.com/yourusername/pinterest-mcp-server.git
cd pinterest-mcp-server
- Install dependencies:
npm install
- Create a
.envfile from the template:
cp .env.template .env
- Edit the
.envfile with your Pinterest API credentials:
PINTEREST_APP_ID=your_pinterest_app_id
PINTEREST_APP_SECRET=your_pinterest_app_secret
- Register your application on the Pinterest Developer Platform
- Add
http://localhost:3052/as an authorized redirect URI
- Add
Usage
- Start the MCP server:
npm start
-
If no authentication token exists, the server will automatically open a browser window for authentication.
-
After successful authentication, the MCP server will be ready to accept connections from AI agents.
Connecting with AI Agents
The MCP server implements the MCP protocol over Socket.IO and exposes the following tools:
pinterest.user.get_info- Get user informationpinterest.boards.list- List user’s boardspinterest.boards.create- Create a new boardpinterest.boards.get- Get board detailspinterest.pins.list- List pins on a boardpinterest.pins.create- Create a new pinpinterest.pins.get- Get pin details
You can connect your AI agents to this MCP server using compatible MCP client libraries.
Example (Claude.ai Desktop App)
- Make sure your MCP server is running
- Open Claude Desktop App
- Click on “Connect local tools” (bottom right)
- Enter
http://localhost:3052as the server URL - You can now ask Claude to perform Pinterest actions like:
- “List my Pinterest boards”
- “Create a new Pinterest board called ‘Vacation Ideas’”
- “Pin this image to my Travel board”
License
MIT
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →