pinterest-mcp
A guarded remote MCP bridge for publishing original Pinterest Pins, with dry-run safety, pin preview, board listing, and bounded batch publishing.
README
pinterest-mcp
A guarded remote MCP bridge for publishing original Pinterest Pins without living in the Pinterest UI.
Current status
v0.1 implements the Pinterest API + MCP safety core. It is designed for Amy/LabDojo's own Pinterest business account and defaults to dry-run.
MCP tools
pinterest_status— read safety/config statelist_boards— read boardsget_pin— direct Pin readbackpreview_pin— validate + duplicate-check, never writespublish_pin— create one image Pin only inlivemodepublish_batch— sequential bounded batch, maximum 10 Pinscreate_board— create one board only inlivemode
There are deliberately no update or delete tools in v0.1.
Safety contract
PINTEREST_WRITE_MODE=dry-runis the default.- The remote MCP endpoint requires
MCP_BRIDGE_TOKENbearer auth. - Pin destinations are restricted to
PINTEREST_ALLOWED_LINK_HOSTS(Etsy by default). - Pin images must use HTTPS.
- Pinterest field limits are enforced before API calls: title 100, description 800, alt text 500, link 2048 characters.
- Before creation, the bridge checks the target board for an existing Pin with the same normalized title + destination link.
- After creation, the bridge reads the returned Pin ID back and verifies board, title, and destination.
- Batch writes are sequential and bounded to 10.
- No secret belongs in Git, Notion, Figma, Drive docs, or chat transcripts.
Authentication
The MVP uses Pinterest Client Credentials because this bridge automates the app owner's own account. Store only the app ID and app secret in deployment environment variables. Pinterest requires two-factor authentication for this grant type.
Requested scopes:
boards:readboards:writepins:readpins:write
The server mints and caches access tokens as needed; no long-lived access token is committed.
Pinterest developer prerequisites
- Use a Pinterest business account and verify its email.
- Enable 2FA for the account/app owner.
- Register a Pinterest developer app and request API access.
- Trial access can exercise Pin creation but created Pins are visible only to the creator. Standard access is the production target for public automation.
- Copy the App ID + App Secret into deployment secrets only.
Environment
Copy .env.example and set:
PINTEREST_APP_ID=...
PINTEREST_APP_SECRET=...
PINTEREST_WRITE_MODE=dry-run
PINTEREST_DEFAULT_BOARD_ID=...
PINTEREST_ALLOWED_LINK_HOSTS=etsy.com,www.etsy.com
MCP_BRIDGE_TOKEN=<random 24+ char secret>
Deploy
The repo is Vercel-ready.
- health:
/health - MCP:
/mcp
The MCP endpoint uses stateless Streamable HTTP so it works cleanly on serverless infrastructure.
Image delivery
Pinterest can create image Pins from a public HTTPS image_url. Private Google Drive files should remain private and are not valid direct Pinterest media sources.
Planned Remy workflow:
Drive approved master -> posting derivative -> controlled public asset URL -> preview_pin -> publish_pin/publish_batch -> Pinterest readback -> Notion status
The public delivery layer is intentionally separate from source truth. Drive remains the authoritative archive.
Remy Relics
examples/remy-relics-parked-evidence-batch.json contains the four evidence Pins that remain parked after the first four object Pins were manually posted. Their image URLs are intentionally blank until the controlled public media layer is connected.
Local checks
npm install
npm run check
Production rule
Do not flip PINTEREST_WRITE_MODE=live until all of the following are true:
- Pinterest app access is approved
- board ID is verified from API readback
- media URL is the approved final derivative
preview_pinshows no collision- title/description/alt/link match canon
Then write narrowly, verify the Pin ID, and park the bridge back in dry-run when doing one-off maintenance.
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.