MCP Server Studio
Pinterest Ads MCP server: 29 read tools, 30 opt-in preview-first writes.
Registry name: com.getmcpads/pinterest-ads
Add to claude_desktop_config.json:
{
"mcpServers": {
"pinterest-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/pinterest-ads-mcp-server@2.1.2"
],
"env": {
"PINTEREST_ACCESS_TOKEN": "<PINTEREST_ACCESS_TOKEN>",
"PINTEREST_REFRESH_TOKEN": "<PINTEREST_REFRESH_TOKEN>",
"PINTEREST_APP_ID": "<PINTEREST_APP_ID>",
"PINTEREST_APP_SECRET": "<PINTEREST_APP_SECRET>",
"PINTEREST_AD_ACCOUNT_IDS": "<PINTEREST_AD_ACCOUNT_IDS>",
"PINTEREST_AD_ACCOUNT_ID": "<PINTEREST_AD_ACCOUNT_ID>",
"PINTEREST_ENABLE_WRITES": "<PINTEREST_ENABLE_WRITES>",
"PINTEREST_ENVIRONMENT": "<PINTEREST_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Run in your terminal:
claude mcp add pinterest-ads -e PINTEREST_ACCESS_TOKEN='<PINTEREST_ACCESS_TOKEN>' -e PINTEREST_REFRESH_TOKEN='<PINTEREST_REFRESH_TOKEN>' -e PINTEREST_APP_ID='<PINTEREST_APP_ID>' -e PINTEREST_APP_SECRET='<PINTEREST_APP_SECRET>' -e PINTEREST_AD_ACCOUNT_IDS='<PINTEREST_AD_ACCOUNT_IDS>' -e PINTEREST_AD_ACCOUNT_ID='<PINTEREST_AD_ACCOUNT_ID>' -e PINTEREST_ENABLE_WRITES='<PINTEREST_ENABLE_WRITES>' -e PINTEREST_ENVIRONMENT='<PINTEREST_ENVIRONMENT>' -e LOG_LEVEL='<LOG_LEVEL>' -- npx -y @getmcpads/pinterest-ads-mcp-server@2.1.2Add to .cursor/mcp.json:
{
"mcpServers": {
"pinterest-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/pinterest-ads-mcp-server@2.1.2"
],
"env": {
"PINTEREST_ACCESS_TOKEN": "<PINTEREST_ACCESS_TOKEN>",
"PINTEREST_REFRESH_TOKEN": "<PINTEREST_REFRESH_TOKEN>",
"PINTEREST_APP_ID": "<PINTEREST_APP_ID>",
"PINTEREST_APP_SECRET": "<PINTEREST_APP_SECRET>",
"PINTEREST_AD_ACCOUNT_IDS": "<PINTEREST_AD_ACCOUNT_IDS>",
"PINTEREST_AD_ACCOUNT_ID": "<PINTEREST_AD_ACCOUNT_ID>",
"PINTEREST_ENABLE_WRITES": "<PINTEREST_ENABLE_WRITES>",
"PINTEREST_ENVIRONMENT": "<PINTEREST_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"pinterest-ads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@getmcpads/pinterest-ads-mcp-server@2.1.2"
],
"env": {
"PINTEREST_ACCESS_TOKEN": "<PINTEREST_ACCESS_TOKEN>",
"PINTEREST_REFRESH_TOKEN": "<PINTEREST_REFRESH_TOKEN>",
"PINTEREST_APP_ID": "<PINTEREST_APP_ID>",
"PINTEREST_APP_SECRET": "<PINTEREST_APP_SECRET>",
"PINTEREST_AD_ACCOUNT_IDS": "<PINTEREST_AD_ACCOUNT_IDS>",
"PINTEREST_AD_ACCOUNT_ID": "<PINTEREST_AD_ACCOUNT_ID>",
"PINTEREST_ENABLE_WRITES": "<PINTEREST_ENABLE_WRITES>",
"PINTEREST_ENVIRONMENT": "<PINTEREST_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"pinterest-ads": {
"command": "npx",
"args": [
"-y",
"@getmcpads/pinterest-ads-mcp-server@2.1.2"
],
"env": {
"PINTEREST_ACCESS_TOKEN": "<PINTEREST_ACCESS_TOKEN>",
"PINTEREST_REFRESH_TOKEN": "<PINTEREST_REFRESH_TOKEN>",
"PINTEREST_APP_ID": "<PINTEREST_APP_ID>",
"PINTEREST_APP_SECRET": "<PINTEREST_APP_SECRET>",
"PINTEREST_AD_ACCOUNT_IDS": "<PINTEREST_AD_ACCOUNT_IDS>",
"PINTEREST_AD_ACCOUNT_ID": "<PINTEREST_AD_ACCOUNT_ID>",
"PINTEREST_ENABLE_WRITES": "<PINTEREST_ENABLE_WRITES>",
"PINTEREST_ENVIRONMENT": "<PINTEREST_ENVIRONMENT>",
"LOG_LEVEL": "<LOG_LEVEL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
PINTEREST_ACCESS_TOKEN | No | Pinterest access token with the ads:read scope. |
PINTEREST_REFRESH_TOKEN | No | Refresh token, so the server can renew the access token. |
PINTEREST_APP_ID | No | App ID, needed for refresh. |
PINTEREST_APP_SECRET | No | App secret, needed for refresh. |
PINTEREST_AD_ACCOUNT_IDS | No | Recommended. Comma-separated ad account IDs this server may use; other accounts are refused. Required from 3.0.0. |
PINTEREST_AD_ACCOUNT_ID | No | Default ad account ID. It must be one of PINTEREST_AD_ACCOUNT_IDS when both are set. |
PINTEREST_ENABLE_WRITES | No | Set to true to expose 30 write tools. Default calls preview; confirm:true applies changes. |
PINTEREST_ENVIRONMENT | No | API environment: production (default) or sandbox. Use credentials issued for that environment. |
LOG_LEVEL | No | Log level written to stderr: debug, info (default), warn or error. |