{
  "markdown": "# pinterest-ads-mcp-server\n\n[![CI](https://github.com/getmcpads-com/pinterest-ads-mcp-server/actions/workflows/ci.yml/badge.svg)](https://github.com/getmcpads-com/pinterest-ads-mcp-server/actions/workflows/ci.yml)\n[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)\n[![Node](https://img.shields.io/badge/node-%E2%89%A518-brightgreen.svg)](package.json)\n\nAn open-source [Model Context Protocol](https://modelcontextprotocol.io) server for the\n**Pinterest Ads API**. It lets Claude, ChatGPT, Cursor or any MCP client read and analyse\nyour Pinterest advertising data, and change it if you choose to.\n\nYou run it. Your token stays on your machine. Nothing is proxied through a third party.\n\n```bash\nnpx -y @getmcpads/pinterest-ads-mcp-server\n```\n\nAlso listed in the [MCP Registry](https://registry.modelcontextprotocol.io) as **`com.getmcpads/pinterest-ads`**, so clients that read the registry can install it by name.\n\n> **Prefer not to run it yourself?** [getmcpads.com](https://www.getmcpads.com) is the hosted\n> version of this server, with Pinterest Ads alongside Meta Ads, Google Ads, TikTok Ads,\n> Google Analytics and Search Console behind a single endpoint, hosted OAuth, and\n> cross-platform reporting. Same tools, same safety model, no setup.\n\n---\n\n## What you get\n\n| | |\n|---|---|\n| **26 read tools** | Reporting, campaigns and ad groups, audiences, targeting, keywords, conversions, catalogs, business assets, billing, Pins and trends |\n| **5 write tools** | Off by default. Campaign and ad group status and budgets, campaign creation. Each one **previews before it applies** |\n| **7 resources** | Live catalogues the model can read: reporting columns, attribution windows, creative assets, catalog reporting, surface map, recipes |\n| **Organic alongside paid** | Pin analytics and trends, not just the ad account |\n| **Privacy by construction** | Lead records are not exposed at all, and member identifiers are redacted by default |\n\n### Raw column names, on purpose\n\nPinterest names its reporting columns in its own way, and this server accepts those names\ndirectly rather than inventing friendly aliases on top. A column that exists in the API works\nhere; one that does not fails immediately rather than being silently translated into\nsomething else.\n\n`pinterest://reporting-columns` lists what is available, and `pinterest_validate_report`\nchecks a request before it runs.\n\n---\n\n## How this compares to Pinterest's own MCP server\n\nPinterest shipped an official MCP server in June 2026, with authentication handled by\nPinterest's own systems. **It launched read-only**: an agent can pull performance data and\naccount context, but cannot change a budget, pause a campaign or edit a bid.\n\n| | **This server** | Pinterest's official server | [getmcpads.com](https://www.getmcpads.com) |\n|---|---|---|---|\n| Hosting | **You host it.** stdio, local process | Pinterest-hosted | Hosted for you |\n| Data path | **Direct to the API.** No intermediary | Through Pinterest's endpoint | Through our gateway |\n| Writes | **Yes, preview first**, applied only on `confirm: true` | None, read-only at launch | Yes, preview first |\n| Auditable | **Yes.** Apache-2.0, read every line | No | This server, audited |\n| Modifiable | **Fork it** | No | No |\n| Auth | You bring a token, which is more setup | Handled by Pinterest | Hosted OAuth |\n\n**Choose Pinterest's** for the least setup, if reporting is all you need.\n**Choose this one** if you want your data to stay on your infrastructure, want to audit or\nextend what the model can do, or want guarded writes rather than none.\n**Choose [getmcpads.com](https://www.getmcpads.com)** if you want this server's capabilities\nwithout running it, or you need more than one ad platform in the same conversation.\n\n---\n\n## Privacy, built into what the tools return\n\nTwo protections, and they work differently.\n\n**Lead records are never exposed.** `pinterest_get_lead_assets` returns lead form and\nsubscription configuration, but never the lead export itself, because those rows carry\npersonal information submitted by end users. This is an exclusion, not a redaction: the data\ndoes not leave Pinterest through this server at all.\n\n**Business member identifiers are redacted by default.** Member IDs, email addresses and\nusernames are replaced before they reach the model when you read members, asset members or\ninvites. `includePersonalIdentifiers: true` returns the raw values and defaults to `false`.\nThese are your colleagues' addresses, so the default is the safe one.\n\n---\n\n## Getting a token\n\nYou need a Pinterest access token with the **`ads:read`** scope.\n\n1. Create an app in the [Pinterest developer portal](https://developers.pinterest.com/).\n2. Note the **App ID** and **App secret**.\n3. Run the OAuth flow while signed in to the account that can access your ad accounts.\n   Request `ads:read`, and `ads:write` only if you plan to enable writes.\n4. Keep the **access token**, and the **refresh token** if you want the server to renew it.\n\n📖 [Pinterest API authentication](https://developers.pinterest.com/docs/getting-started/authentication/)\n\nYou can run with just `PINTEREST_ACCESS_TOKEN`, but it expires. Supplying\n`PINTEREST_REFRESH_TOKEN`, `PINTEREST_APP_ID` and `PINTEREST_APP_SECRET` together lets the\nserver renew the token itself, which is what you want for daily use.\n\nRun **`pinterest_health_check`** as your first call. It verifies the token and lists the ad\naccounts you can reach, without printing the token.\n\n---\n\n## Setup\n\n### Claude Desktop\n\n`~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)\nor `%APPDATA%\\Claude\\claude_desktop_config.json` (Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"pinterest-ads\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@getmcpads/pinterest-ads-mcp-server\"],\n      \"env\": {\n        \"PINTEREST_ACCESS_TOKEN\": \"your-token-here\"\n      }\n    }\n  }\n}\n```\n\nRestart Claude Desktop. Ask it: *\"list my Pinterest ad accounts\"*.\n\n### Claude Code\n\n```bash\nclaude mcp add pinterest-ads --env PINTEREST_ACCESS_TOKEN=your-token -- npx -y @getmcpads/pinterest-ads-mcp-server\n```\n\n### Cursor\n\n`.cursor/mcp.json` in your project, same shape as the Claude Desktop config above.\n\n### From source\n\n```bash\ngit clone https://github.com/getmcpads-com/pinterest-ads-mcp-server.git\ncd pinterest-ads-mcp-server\nnpm install && npm run build\ncp .env.example .env   # then fill in your credentials\nnpm start\n```\n\n### Configuration\n\n| Variable | Default | Meaning |\n|---|---|---|\n| `PINTEREST_ACCESS_TOKEN` | none | Access token with `ads:read` |\n| `PINTEREST_REFRESH_TOKEN` | none | With the two below, lets the server renew the token |\n| `PINTEREST_APP_ID` | none | App ID, needed for refresh |\n| `PINTEREST_APP_SECRET` | none | App secret, needed for refresh |\n| `PINTEREST_AD_ACCOUNT_ID` | none | Optional default, saves passing it on every call |\n| `PINTEREST_ENABLE_WRITES` | *unset* | Set to `1` to register the 5 write tools |\n| `LOG_LEVEL` | `info` | `debug`, `info`, `warn`, `error` |\n\nEither the access token, or the refresh trio. The server refuses to start with neither.\n\n```bash\nnpm run doctor\n```\n\n---\n\n## Writes, and why they preview first\n\nWrite tools are **disabled by default**. Enable them with `PINTEREST_ENABLE_WRITES=1`, and\ngrant `ads:write` on top of `ads:read`.\n\nWhen enabled, every write tool returns a preview and changes nothing:\n\n```jsonc\n// pinterest_update_adgroup_budget { adAccountId: \"549…\", adGroupId: \"268…\", dailyBudget: 50 }\n{\n  \"applied\": false,\n  \"action\": \"pinterest_update_adgroup_budget\",\n  \"change\": { \"adAccount\": \"549…\", \"adGroup\": \"268…\",\n              \"field\": \"budget_in_micro_currency\", \"amount\": 50,\n              \"inMicroCurrency\": 50000000 },\n  \"message\": \"Preview only, nothing was changed. Repeat the same call with confirm: true to apply this change to the live account.\"\n}\n```\n\nOnly a second call carrying `confirm: true` touches the live account.\n\nThis is deliberate. An assistant composes these calls, and it can pick the wrong ad account,\nthe wrong campaign, or the wrong order of magnitude on a budget. A mandatory preview makes\nthe mistake visible before it costs money, and gives a human the stopping point the protocol\ndoes not guarantee on its own.\n\nTwo further guardrails:\n\n- **`pinterest_create_campaign` always creates the campaign `PAUSED`.** There is no option to\n  create it active.\n- **Amounts are converted to micro units for you.** Pinterest holds money in millionths, so\n  12.50 in the account currency is `12500000`. The preview shows both, so a\n  factor-of-a-million mistake is visible before it applies. A daily and a lifetime budget\n  sent together are refused rather than silently resolved.\n\n| Tool | What it changes |\n|---|---|\n| `pinterest_update_campaign_status` / `pinterest_update_adgroup_status` | Pause, reactivate or archive |\n| `pinterest_update_campaign_budget` / `pinterest_update_adgroup_budget` | Daily or lifetime budget |\n| `pinterest_create_campaign` | Creates a campaign, always `PAUSED` |\n\n---\n\n## Tools\n\n<details>\n<summary><b>26 read tools</b></summary>\n\n### Discovery and health\n| Tool | Purpose |\n|---|---|\n| `pinterest_health_check` | Verifies the token and lists reachable ad accounts |\n| `pinterest_list_ad_accounts` | Every ad account the token can reach |\n| `pinterest_get_account_entities` | Campaigns, ad groups and ads in one call |\n| `pinterest_get_business_assets` | Businesses, members and invites. Identifiers redacted |\n| `pinterest_get_platform_resources` | Enumerations and reference data the API exposes |\n\n### Reporting\n| Tool | Purpose |\n|---|---|\n| `pinterest_run_report` | The main reporting tool, on raw column names |\n| `pinterest_validate_report` | Check a request *before* running it |\n| `pinterest_get_delivery_metrics` | Delivery and pacing signals |\n| `pinterest_run_targeting_report` | Performance broken down by targeting |\n| `pinterest_run_specialized_export` | Async exports for large result sets |\n| `pinterest_estimate_delivery` | Forecast reach for a targeting set |\n\n### Audiences and targeting\n| Tool | Purpose |\n|---|---|\n| `pinterest_get_audiences` / `pinterest_get_audience_insights` | Audiences and their composition |\n| `pinterest_get_targeting_options` | Available targeting dimensions and values |\n| `pinterest_get_keyword_intelligence` | Keyword metrics and suggestions |\n| `pinterest_get_trends` | What is rising on Pinterest |\n\n### Creatives and organic\n| Tool | Purpose |\n|---|---|\n| `pinterest_get_creative_assets` | Ad creatives, media and their metadata |\n| `pinterest_get_organic_inventory` | Organic Pins and boards |\n| `pinterest_get_pin_analytics` | Performance of individual Pins |\n\n### Commerce\n| Tool | Purpose |\n|---|---|\n| `pinterest_get_catalog_inventory` / `pinterest_get_catalog_diagnostics` | Product feeds and their health |\n| `pinterest_run_catalog_report` | Catalog performance |\n| `pinterest_run_conversion_product_report` | Conversions by product |\n| `pinterest_get_conversion_setup` | Conversion tags and events |\n\n### Operations\n| Tool | Purpose |\n|---|---|\n| `pinterest_get_billing_and_orders` | Billing and order history |\n| `pinterest_get_lead_assets` | Lead form configuration. **Lead records are never returned** |\n\n</details>\n\n<details>\n<summary><b>7 resources</b></summary>\n\n| URI | Contents |\n|---|---|\n| `pinterest://manifest` | What this server exposes, and its current mode |\n| `pinterest://reporting-columns` | Every reporting column the API accepts |\n| `pinterest://attribution` | Attribution windows and their defaults |\n| `pinterest://creative-assets` | How creative assets are shaped |\n| `pinterest://catalog-reporting` | Catalog-specific reporting columns |\n| `pinterest://surface-map` | Which tool covers which part of the API |\n| `pinterest://recipes` | Step-by-step workflows |\n\n</details>\n\n---\n\n## Security\n\n- **The token is never logged**, at any log level, or written to disk.\n- **One host is contacted, and only one**: `api.pinterest.com`. *A test fails the build if a\n  second host appears in the source.*\n- **No fetch follows a redirect.** Every outbound call sets `redirect: \"error\"`, so a redirect\n  cannot forward your token to another host. *A test fails the build if any fetch omits this.*\n- **Async report URLs are validated before being fetched.** Pinterest returns a download URL\n  on a host it chooses; that value is data from the API, not something to trust. HTTPS only,\n  no private or loopback address, no redirect, and no credential attached.\n- **No telemetry.** The server makes no network call other than to Pinterest.\n\nFull policy, including how personal data is handled: [SECURITY.md](SECURITY.md).\n\n---\n\n## Looking for a managed, multi-platform version?\n\nThis server does one platform, on your machine, with your token. That is on purpose.\n\nIf you'd rather not run it yourself, or you need Pinterest Ads **alongside Meta Ads, Google\nAds, TikTok Ads, Google Analytics and Search Console** behind one endpoint, with hosted OAuth\nand cross-platform reporting, that's what we build at **[getmcpads.com](https://www.getmcpads.com)**.\n\nSame philosophy, less plumbing. This project stays open source and independently useful\neither way.\n\n---\n\n## Contributing\n\nIssues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).\nPlease read [SECURITY.md](SECURITY.md) before reporting anything security-related.\n\n## Licence\n\n[Apache License 2.0](LICENSE). See also [NOTICE](NOTICE).\n\nPinterest is a trademark of Pinterest, Inc.\n**This project is not affiliated with, endorsed by, or sponsored by Pinterest, Inc.**\nIt is an independent client of a public API.\n",
  "bytes": 13607,
  "sha": "527a499ccc590827ab76fe4357221e840698fa4846852b8a744d29ffada02493",
  "repo_slug": "getmcpads-com/pinterest-ads-mcp-server",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_com_getmcpads_pinterest_ads_45c53862/readme"
}