Search by

vielhuber / pinterestmcp

vielhuber

Minimal PHP helper and MCP server for the official Pinterest API.

Package info

github.com/vielhuber/pinterestmcp

pkg:composer/vielhuber/pinterestmcp

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.0 2026-11-03 12:58 UTC

This package is auto-updated.

Last update: 2026-11-03 13:01:10 UTC


README

php

composer require vielhuber/pinterestmcp
use vielhuber\pinterestmcp\pinterestmcp;

$pinterest = new pinterestmcp();
$pinterest->userAccountGet();
$pinterest->boardsCreate(body: $body);
$pinterest->boardsList();
$pinterest->boardsGet(board_id: 'your-id');
$pinterest->boardsDelete(board_id: 'your-id');
$pinterest->boardsUpdate(board_id: 'your-id', body: $body);
$pinterest->boardsListPins(board_id: 'your-id');
$pinterest->pinsCreate(body: $body);
$pinterest->pinsList();
$pinterest->pinsGet(pin_id: 'your-id');
$pinterest->pinsUpdate(pin_id: 'your-id', body: $body);
$pinterest->pinsDelete(pin_id: 'your-id');
$pinterest->pinsSave(pin_id: 'your-id', body: $body);

set PINTEREST_ACCESS_TOKEN via oauth ($authorization->url(), exchangeCode(), refreshToken()). scopes: user_accounts:read, boards:read, boards:write, pins:read, pins:write. $body uses the official request schema. pin editing requires beta access; no home feed.

mcp

{
    "mcpServers": {
        "pinterest": {
            "command": "php",
            "args": ["/absolute/path/to/vendor/bin/mcp-server.php"],
            "env": {
                "PINTEREST_ACCESS_TOKEN": "your-access-token"
            }
        }
    }
}

stdio is private. http requires https and MCP_TOKEN.

api documentation