Pinterest Ads

com.getmcpads由 getmcpads.com 發布v2.1.2更新於 Nov 8, 2026

Pinterest Ads MCP server: 29 read tools, 30 opt-in preview-first writes.

已驗證STDIO僅桌面資料與分析商業與電商

概覽

AI 產生的概覽

本機 stdio MCP 伺服器,讓助理讀取 Pinterest 廣告報表、定向、商品目錄與自然 Pin,並提供 30 個預設關閉、先預覽後套用的寫入工具。

可以做什麼
  • 檢查憑證並列出可存取的廣告帳戶,讀取投放指標,執行與驗證報表、商品目錄報表、轉換報表及專項匯出
  • 檢視廣告活動、廣告群組、廣告、創意素材、定向選項、關鍵字洞察、受眾與受眾洞察、投放預估及轉換設定
  • 讀取商品目錄清單與診斷、潛在客戶表單設定、商務資產、帳單與訂單、平台中繼資料及影片上傳狀態
  • 結合付費資料讀取自然 Pin、看板、Pin 分析與 Pinterest 趨勢
  • 啟用寫入後建立、更新、重新命名與暫停廣告活動、廣告群組、廣告、推廣、看板、Pin 與商品目錄,並上傳影片
  • 讀取七個資源,例如報表欄位、歸因視窗、介面涵蓋對照與操作配方
適用情境
適合希望助理在桌面 MCP 用戶端中檢視或彙報 Pinterest 廣告成效、研究定向與趨勢,或準備廣告活動調整,並使用自己的 Pinterest 開發者憑證而非託管服務的情境。
執行需求
透過 npm 套件以 stdio 在本機執行,需要 Node.js 22.23.4、24.22.1 或 26.12.1 及這些版本線的新版本,以及支援 stdio MCP 的桌面用戶端。需要具備 ads:read 權限的 Pinterest 存取權杖;若要自動續期,還需 PINTEREST_APP_ID、PINTEREST_APP_SECRET 與 PINTEREST_REFRESH_TOKEN。建議設定 PINTEREST_AD_ACCOUNT_IDS,3.0.0 版將強制要求。需要連線至 Pinterest API 的網路。
安裝前請注意
伺服器持有 Pinterest 憑證:PINTEREST_ACCESS_TOKEN、PINTEREST_APP_SECRET 與 PINTEREST_REFRESH_TOKEN,存取權杖只會送往 Pinterest API。寫入工具預設關閉;以 PINTEREST_ENABLE_WRITES=true 並授予 ads:write 權限後,助理可變更線上廣告活動、預算、Pin 與商品目錄,並產生花費。寫入會先預覽,只有帶 confirm: true 才會真正套用。未設定 PINTEREST_AD_ACCOUNT_IDS 時,權杖可存取的所有廣告帳戶皆可使用。將 includePersonalIdentifiers 設為 true 會回傳未去識別化的成員電子郵件與使用者名稱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Pinterest Ads,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Pinterest Ads MCP server

Connect the dots in your Pinterest campaigns.

Explore reporting, audiences, catalogs and native campaign operations from your MCP client.

[Release] [CI] [Smithery] [License: Apache 2.0] [Node]

Watch the film · What's new · Install · Tool reference · Try hosted getmcpads

[Watch the getmcpads film: every ad account in one conversation with your AI assistant]

Play the 45-second film

The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.

29 read tools · 30 write tools, disabled by default.

Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.

What's new

v2.1.1: Zod 4 security update · October 26, 2026

  • Update zod to 4.6.7. Every Zod release before 4.6.6 is covered by the high-severity advisory GHSA-mrhx-c7xc-m3w5: validating an oversized constrained collection can exhaust memory, and no Zod 3 release carries the fix. npm audit --omit=dev reports no vulnerability again.
  • Keep the Zod 3 validation behaviour. A parameter default is still validated and completed before use, so an omitted object must still supply its required fields.
  • Keep each parameter's own description when the parameter is optional or has a default. Zod 4 stores a description on the wrapped schema only, so the shared fallback description could otherwise replace it.
  • Tool names, parameters and descriptions published over MCP are unchanged. server-card.json is regenerated with Zod 4's JSON Schema output, which spells some constraints differently.

Earlier releases

VersionDateHighlights
2.1.0October 23, 2026Rename tools and native video uploads
2.0.1September 23, 2026Public repository restored
2.0.0September 20, 2026Gateway sync and security fixes
1.1.0September 13, 2026Platform capability sync and quality contracts
1.0.2August 30, 2026Announce the package version over MCP.
1.0.1August 30, 2026Add server.json and mcpName for the official MCP Registry, under com.getmcpads/pinterest-ads.
1.0.0August 29, 2026First open-source release

Full changelog · All releases

Source synchronization: SOURCE_SYNC.md.

Upgrade notes

Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of those lines. On an older runtime the server starts and writes a warning to stderr. CI covers Node 22, 24 and 26.

This release has no breaking change, and existing configurations keep working. Two changes are planned for 3.0.0, and the server announces each one on stderr at startup when it applies to your configuration:

  • PINTEREST_AD_ACCOUNT_IDS will be required. Set it now to restrict the server to the listed ad accounts. Until then, PINTEREST_AD_ACCOUNT_ID remains a default account, not a restriction.
  • PINTEREST_ENABLE_WRITES will accept only true to enable writes. Replace 1, yes or on with true.

The pinterest://attribution resource now names its default defaultAttribution. The former defaults key remains as an alias until 3.0.0.

Read the current tool schemas before reusing saved arguments. Writes remain optional and require explicit confirmation. Hosted creative integrations and MCP Apps UI are outside this release.

Install this release

This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.

bash
git clone --branch v2.1.1 --depth 1 https://github.com/get-mcp-ads/pinterest-ads-mcp-server.gitcd pinterest-ads-mcp-servernpm cinpm run build

Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.

Prefer a managed connection? Use Pinterest Ads with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.

What you get

29 read toolsReporting, campaigns and ad groups, audiences, targeting, keywords, conversions, catalogs, business assets, billing, Pins, trends and video processing status
30 write toolsOff by default. Create paused campaigns, ad groups and ads, and change their status, budgets, settings and names. Upload videos and manage boards, Pins and catalogs. Each one previews before it applies
7 resourcesLive catalogues the model can read: reporting columns, attribution windows, creative assets, catalog reporting, surface map, recipes
Organic alongside paidPin analytics and trends, not just the ad account
Privacy by constructionLead records are not exposed at all, and member identifiers are redacted by default

Raw column names, on purpose

Pinterest names its reporting columns in its own way, and this server accepts those names directly rather than inventing friendly aliases on top. A column that exists in the API works here; one that does not fails immediately rather than being silently translated into something else.

pinterest://reporting-columns lists what is available, and pinterest_validate_report checks a request before it runs.


Privacy, built into what the tools return

Two protections, and they work differently.

Lead records are never exposed. pinterest_get_lead_assets returns lead form and subscription configuration, but never the lead export itself, because those rows carry personal information submitted by end users. This is an exclusion, not a redaction: the data does not leave Pinterest through this server at all.

Business member identifiers are redacted by default. Member IDs, email addresses and usernames are replaced before they reach the model when you read members, asset members or invites. includePersonalIdentifiers: true returns the raw values and defaults to false. These are your colleagues' addresses, so the default is the safe one.


Getting a token

You need a Pinterest access token with the ads:read scope.

  1. Create an app in the Pinterest developer portal.
  2. Note the App ID and App secret.
  3. Run the OAuth flow while signed in to the account that can access your ad accounts. Request ads:read, and ads:write only if you plan to enable writes.
  4. Keep the access token, and the refresh token if you want the server to renew it.

📖 Pinterest API authentication

You can run with just PINTEREST_ACCESS_TOKEN, but it expires. Supplying PINTEREST_REFRESH_TOKEN, PINTEREST_APP_ID and PINTEREST_APP_SECRET together lets the server renew the token itself, which is what you want for daily use.

Run pinterest_health_check as your first call. It verifies the token and lists the ad accounts you can reach, without printing the token.


Setup

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "pinterest-ads": {      "command": "npx",      "args": ["-y", "@getmcpads/pinterest-ads-mcp-server"],      "env": {        "PINTEREST_ACCESS_TOKEN": "your-token-here",        "PINTEREST_AD_ACCOUNT_IDS": "your-ad-account-id"      }    }  }}

PINTEREST_AD_ACCOUNT_IDS is optional and recommended. It restricts the server to the listed ad accounts, and version 3.0.0 will require it.

Restart Claude Desktop. Ask it: "list my Pinterest ad accounts".

Claude Code

bash
claude mcp add pinterest-ads --env PINTEREST_ACCESS_TOKEN=your-token --env PINTEREST_AD_ACCOUNT_IDS=your-ad-account-id -- npx -y @getmcpads/pinterest-ads-mcp-server

Cursor

.cursor/mcp.json in your project, same shape as the Claude Desktop config above.

From source

bash
git clone https://github.com/get-mcp-ads/pinterest-ads-mcp-server.gitcd pinterest-ads-mcp-servernpm install && npm run buildcp .env.example .env   # then fill in your credentialsnpm start

Configuration

VariableDefaultMeaning
PINTEREST_ACCESS_TOKENnoneAccess token with ads:read
PINTEREST_REFRESH_TOKENnoneWith the two below, lets the server renew the token
PINTEREST_APP_IDnoneApp ID, needed for refresh
PINTEREST_APP_SECRETnoneApp secret, needed for refresh
PINTEREST_AD_ACCOUNT_IDSnoneRecommended. Comma-separated ad account IDs the server may use. When set, requests that name another account are refused. Version 3.0.0 will require it
PINTEREST_AD_ACCOUNT_IDnoneOptional default, saves passing it on every call. When PINTEREST_AD_ACCOUNT_IDS is set, it must be one of those accounts
PINTEREST_ENABLE_WRITESunsetSet to true to register the 30 write tools. 1, yes and on also work and are deprecated. An unrecognized value stops the server
PINTEREST_ENVIRONMENTproductionproduction or sandbox, with credentials issued for that environment
LOG_LEVELinfodebug, info, warn, error

Either the access token, or the refresh trio. The server refuses to start with neither. Without PINTEREST_AD_ACCOUNT_IDS, every ad account the token can access is reachable, and the server says so on stderr at startup.

bash
npm run doctor

Writes, and why they preview first

Write tools are disabled by default. Enable them with PINTEREST_ENABLE_WRITES=true, and grant ads:write on top of ads:read.

When enabled, every write tool returns a preview and changes nothing:

jsonc
// pinterest_update_adgroup_budget { adAccountId: "549…", adGroupId: "268…", dailyBudget: 50 }{  "applied": false,  "action": "pinterest_update_adgroup_budget",  "change": { "adAccount": "549…", "adGroup": "268…",              "field": "budget_in_micro_currency", "amount": 50,              "inMicroCurrency": 50000000 },  "message": "Preview only, nothing was changed. Repeat the same call with confirm: true to apply this change to the live account."}

Only a second call carrying confirm: true touches the live account.

This is deliberate. An assistant composes these calls, and it can pick the wrong ad account, the wrong campaign, or the wrong order of magnitude on a budget. A mandatory preview makes the mistake visible before it costs money, and gives a human the stopping point the protocol does not guarantee on its own.

Two further guardrails:

  • pinterest_create_campaign always creates the campaign PAUSED. There is no option to create it active.
  • Amounts are converted to micro units for you. Pinterest holds money in millionths, so 12.50 in the account currency is 12500000. The preview shows both, so a factor-of-a-million mistake is visible before it applies. A daily and a lifetime budget sent together are refused rather than silently resolved.
ToolWhat it changes
pinterest_update_campaign_status / pinterest_update_adgroup_statusPause, reactivate or archive
pinterest_update_campaign_budget / pinterest_update_adgroup_budgetDaily or lifetime budget
pinterest_create_campaignCreates a campaign, always PAUSED
pinterest_rename_campaign / pinterest_rename_adgroup / pinterest_rename_adThe name, and nothing else
pinterest_prepare_video_upload / pinterest_upload_videoRegisters a video, then sends it to the upload destination Pinterest returns

Tools

Every tool is listed below. See server-card.json for complete parameter and output schemas.

29 read tools
ToolPurpose
pinterest_health_checkRead-only Pinterest Ads health check.
pinterest_list_ad_accountsList Pinterest ad accounts accessible to the configured credentials.
pinterest_get_delivery_metricsRead Pinterest resources/delivery_metrics.
pinterest_validate_reportValidate and preview how a Pinterest report will execute.
pinterest_run_reportRun a read-only Pinterest Ads report.
pinterest_get_creative_assetsFetch Pinterest creative assets and period performance when available.
pinterest_run_catalog_reportRun Pinterest catalog reporting by PRODUCT_GROUP or PRODUCT_ITEM.
pinterest_get_catalog_inventoryList Pinterest catalog inventory surfaces: catalogs, product groups, product group promotions, and optional product samples.
pinterest_run_conversion_product_reportRun Pinterest async conversion product reporting by brand, category, brand+category, SKU, or SKU group via reports/brand_category_sku.
pinterest_list_ad_creativesList the ad account's ad creatives across every status (the API silently omits ARCHIVED ads unless asked) with their pin media resolved: public i.pinimg.com image URLs up to 1200px, video cover, and video_url when the app is allowed to read it.
pinterest_get_write_schemaRead the official Pinterest v5 native request schema and Sandbox limitations before composing a write.
pinterest_get_account_entitiesRead Pinterest ad-account entities and configuration.
pinterest_run_targeting_reportRun live targeting analytics for an ad account, campaigns, ad groups, or ads, broken down by age, gender, location, interest, keyword, audience, placement, device, or other Pinterest targeting types.
pinterest_get_targeting_optionsRead Pinterest's official targeting option catalog for app type, gender, locale, age, location/geo, interest, keyword, or audience.
pinterest_get_keyword_intelligenceRead assigned targeting keywords, Pinterest country-level keyword metrics, suggested terms, or related terms.
pinterest_get_audiencesRead audience, customer-list, sharing, and Business-received audience inventory without uploading or changing audience membership.
pinterest_get_audience_insightsRead aggregated Pinterest Audience Insights for the advertiser's total or engaged audience, Pinterest's total audience, or the scope/type endpoint.
pinterest_estimate_deliveryRun non-mutating Pinterest planning computations: ad-group audience size, bid floors, or campaign delivery estimates.
pinterest_get_conversion_setupInspect Pinterest conversion measurement configuration: conversion tags, oCPM-eligible/page-visit tags, Event Quality Score, advertiser-defined events, and conversion-deletion request status.
pinterest_get_catalog_diagnosticsRead deep catalog inventory and diagnostics: catalogs, feeds, feed processing results, item issues, product groups, product counts/products, available filter values, and catalog item lookups.
pinterest_run_specialized_exportStart or inspect non-mutating Pinterest data jobs for Marketing Mix Modeling (MMM), bulk advertiser entity downloads, or catalog diagnostics.
pinterest_get_lead_assetsRead lead-form definitions and lead subscription configuration.
pinterest_get_business_assetsRead Pinterest Business Access inventory: employers/linked businesses, assets, members, partners, assigned assets, received audiences, and invites.
pinterest_get_billing_and_ordersRead billing profiles/invoices, invoice download URLs, order lines, ads-credit discounts, and SSIO account/order status.
pinterest_get_pin_analyticsRead paid Pin analytics, organic multi/single-Pin analytics, user-account analytics, top Pins, or top video Pins.
pinterest_get_organic_inventoryRead organic Pinterest content used alongside ads: Pins, boards, Pins on a board, Pin product tags, or search results.
pinterest_get_trendsRead Pinterest Trends: top growing/monthly/yearly/seasonal keywords by supported region, growing product categories, product-category details, featured topics, or editorial articles.
pinterest_get_platform_resourcesRead Pinterest platform metadata and readiness resources: supported ad-account countries, delivery metric definitions, metrics readiness, lead-form questions, media upload metadata, commerce integration metadata, or the authenticated user account.
pinterest_get_video_uploadRead processing status for this advertiser-bound uploaded video. Only ready:true permits video Pin creation.
30 write tools

Disabled by default. Calls preview unless explicitly confirmed. Check the configuration and exact schema before use.

ToolPurpose
pinterest_create_campaignCreate a PAUSED campaign.
pinterest_update_campaign_statusUpdate the status of an existing campaign.
pinterest_update_adgroup_statusUpdate the status of an existing adgroup.
pinterest_update_ad_statusUpdate the status of an existing ad.
pinterest_update_campaign_budgetSet exactly one daily or lifetime campaign budget in major account currency units.
pinterest_update_adgroup_budgetSet exactly one daily or lifetime ad group budget in major account currency units.
pinterest_update_campaign_configurationUpdate native campaign settings.
pinterest_update_adgroup_configurationUpdate native ad group settings.
pinterest_update_adUpdate native ad settings.
pinterest_rename_campaignRename one campaign. The name is the only thing that changes.
pinterest_rename_adgroupRename one ad group. The name is the only thing that changes.
pinterest_rename_adRename one ad. The name is the only thing that changes.
pinterest_create_adgroupCreate a PAUSED ad group with explicit native bidding, targeting, budget and schedule.
pinterest_create_adCreate a PAUSED ad from an accessible Pin.
pinterest_create_product_group_promotionCreate a PAUSED shopping or collections promotion from a catalog product group.
pinterest_update_product_group_promotionUpdate a catalog product group promotion.
pinterest_create_collection_adCreate a PAUSED collection with an explicitly selected image/video hero Pin and an accessible catalog product group.
pinterest_create_boardCreate /boards in the selected advertiser context.
pinterest_update_boardUpdate /boards in the selected advertiser context.
pinterest_create_pinCreate /pins in the selected advertiser context.
pinterest_update_pinUpdate a Pin.
pinterest_register_mediaRegister media upload; returned upload_url/parameters are not confirmation that a video is uploaded or ready.
pinterest_prepare_video_uploadRegister a native Pinterest video upload for a local file or an HTTPS URL and keep its opaque receipt in memory.
pinterest_upload_videoStream the registered video to the native destination saved in uploadReceipt, without the Pinterest access token.
pinterest_create_catalogCreate /catalogs in the selected advertiser context.
pinterest_create_catalog_feedCreate /catalogs/feeds in the selected advertiser context.
pinterest_update_catalog_feedUpdate /catalogs/feeds in the selected advertiser context.
pinterest_create_product_groupCreate /catalogs/product_groups in the selected advertiser context.
pinterest_update_product_groupUpdate /catalogs/product_groups in the selected advertiser context.
pinterest_batch_catalog_itemsSubmit native CREATE/UPDATE/UPSERT/DELETE catalog item operations.
7 resources
URIContents
pinterest://manifestWhat this server exposes, and its current mode
pinterest://reporting-columnsEvery reporting column the API accepts
pinterest://attributionAttribution windows and their defaults
pinterest://creative-assetsHow creative assets are shaped
pinterest://catalog-reportingCatalog-specific reporting columns
pinterest://surface-mapWhich tool covers which part of the API
pinterest://recipesStep-by-step workflows

Security

  • The token is never logged, at any log level, or written to disk.
  • Credentials go to the Pinterest API only: api.pinterest.com, or api-sandbox.pinterest.com in sandbox mode. A test fails the build if another host appears in the source.
  • PINTEREST_AD_ACCOUNT_IDS restricts the reachable ad accounts. When it is set, a request that names another account is refused before it is sent, and discovery only returns listed accounts.
  • No fetch follows a redirect. Every outbound call sets redirect: "error", so a redirect cannot forward your token to another host. A test fails the build if any fetch omits this.
  • Async report URLs are validated before being fetched. Pinterest returns a download URL on a host it chooses; that value is data from the API, not something to trust. HTTPS only, no private or loopback address, no redirect, and no credential attached.
  • Video uploads go to the destination Pinterest returns, an Amazon S3 host checked before use, with signed form fields and never the access token. A video URL you pass gets the same checks as a report URL. Every request has a timeout and a response size limit.
  • No telemetry. Outside the Pinterest API, the server only contacts the report and upload URLs that Pinterest returns, and a video URL that you pass to the upload tools.

Full policy, including how personal data is handled: SECURITY.md.


Looking for a managed, multi-platform version?

Try hosted Pinterest Ads if you want to use this source without operating a local server. getmcpads also connects advertising, Search Console and GA4 through one MCP URL. Source availability and plan limits are listed on the site; connecting an account is still required.

  1. Follow the Pinterest Ads connection guide.
  2. Select the account or property your assistant may read.
  3. Connect Claude, ChatGPT or Codex.
  4. Try a read-only review: “Review campaign performance using your selected ad account. State missing data and do not change anything.”

See the current hosted tool catalogue and pricing before choosing a paid plan. This Apache 2.0 adapter remains independently useful with your own credentials.


Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md. Please read SECURITY.md before reporting anything security-related.

Licence

Apache License 2.0. See also NOTICE.

Pinterest is a trademark of Pinterest, Inc. This project is not affiliated with, endorsed by, or sponsored by Pinterest, Inc. It is an independent client of a public API.

MCP contracts and desktop bundle

Every tool declares read/write annotations, parameter descriptions and a structured output schema. Successful calls expose the payload as structuredContent.result; errors retain isError: true. The generated server card contains definitions only.

Run npm run bundle -- /path/to/output to build a .mcpb desktop bundle from the current catalog. Credentials are entered locally during installation. Write tools remain disabled unless explicitly enabled.

More from getmcpads

Meta Ads · Google Ads · Google Analytics 4 · Google Search Console · TikTok Ads · X Ads

Maintained by Emmanuel at getmcpads. Questions: [email protected].

來源:README.md,提交 77d783e

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

4
  1. v2.1.1Oct 26, 2026
  2. v2.1.0Oct 23, 2026
  3. v2.0.1Sep 23, 2026
  4. v1.0.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分