Boards & Pins MCP Server
An MCP server that lets Claude interact with Pinterest — browsing, creating, and managing boards, pins, sections, and user profiles via the Pinterest API v5.
README
Boards & Pins MCP Server
An MCP (Model Context Protocol) server that lets Claude interact with Pinterest — browsing, creating, and managing boards, pins, sections, and user profiles via the Pinterest API v5.
Features
- Browse boards and pins with bookmark-based pagination
- Create boards, sections, and pins from image URLs
- Update and move pins across boards and sections
- Search pins by keyword
- View pin images directly inside Claude (base64 image blocks)
- OAuth 2.0 with automatic token refresh, or direct access token
Requirements
- Node.js >= 20
- A Pinterest account and app (see Configuration)
Quick Start
git clone https://github.com/sapyx/sapyx-mcp.git
cd sapyx-mcp
npm install
npm run build
Copy the environment template and fill in your credentials:
cp .env.example .env
Then add the server to your MCP client (see Configuration).
Authentication
Two modes are supported:
| Mode | Env vars | Access |
|---|---|---|
| Direct token | PINTEREST_ACCESS_TOKEN |
Read-only |
| OAuth 2.0 | PINTEREST_APP_ID + PINTEREST_APP_SECRET |
Full read + write |
For OAuth, trigger the flow via the pinterest_auth tool. Tokens are stored in ~/.mcp-credentials/pinterest-tokens.json and refreshed automatically.
Full details: docs/authentication.md
Tools
14 tools across four groups:
| Group | Tools |
|---|---|
| Auth | pinterest_auth, pinterest_auth_status |
| Boards | list_boards, create_board, list_board_sections, create_board_section |
| Pins | list_pins, get_pin, get_pin_image, update_pin, move_pin, create_pin |
| Search | search_pins, get_user_profile |
Full reference: docs/tools.md
Project Structure
src/
index.ts # Entry point — env validation, server setup, STDIO transport
auth.ts # OAuth 2.0 flow, token storage, refresh logic
api.ts # Typed HTTP client wrapping Pinterest API v5
types.ts # TypeScript interfaces (Pin, Board, tokens, etc.)
tools/
auth.ts # pinterest_auth, pinterest_auth_status
boards.ts # list_boards, create_board, list_board_sections, create_board_section
pins.ts # list_pins, get_pin, get_pin_image, update_pin, move_pin, create_pin
search.ts # search_pins, get_user_profile
docs/
authentication.md # OAuth flow, token storage, refresh logic
tools.md # Full tool reference with parameters
api-client.md # Internal API client documentation
configuration.md # Env vars, MCP client setup, Pinterest app setup
Tech Stack
- Language: TypeScript (ES2022, Node16 modules)
- Runtime: Node.js >= 20
- MCP Framework:
@modelcontextprotocol/sdk - Validation: Zod
- Transport: STDIO
Documentation
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.